commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r5877 - in grc/branches/jblum_work: examples/xmlrpc sr


From: jblum
Subject: [Commit-gnuradio] r5877 - in grc/branches/jblum_work: examples/xmlrpc src
Date: Fri, 29 Jun 2007 11:29:47 -0600 (MDT)

Author: jblum
Date: 2007-06-29 11:29:46 -0600 (Fri, 29 Jun 2007)
New Revision: 5877

Modified:
   grc/branches/jblum_work/examples/xmlrpc/readme.txt
   grc/branches/jblum_work/src/ExecFlowGraphXMLRPC.py
Log:
xmlrpc docs and fix

Modified: grc/branches/jblum_work/examples/xmlrpc/readme.txt
===================================================================
--- grc/branches/jblum_work/examples/xmlrpc/readme.txt  2007-06-29 15:55:04 UTC 
(rev 5876)
+++ grc/branches/jblum_work/examples/xmlrpc/readme.txt  2007-06-29 17:29:46 UTC 
(rev 5877)
@@ -1,8 +1,18 @@
 ##############################################
+#      XMLRPC
+##############################################
+
+XMLRPC allows a program to make remote function call over tcp.
+ExecFlowGraphXMLRPC.py executes a flow graph with an XMLRPC server.
+Any programing language can control the flow graph by making remote function 
calls.
+The functions calls can read and write to the flow graph's variables.
+The functions are documented at the top of ExecFlowGraphXMLRPC.py.
+
+##############################################
 #      Executing the example
 ##############################################
 
-!This example requires audio support in gnuradio
+This example requires audio support in gnuradio!
 
 Start the server by executing server.sh in this directory.
 The server.sh script will execute ExecFlowGraphXMLRPC.py on tone.grc.xml

Modified: grc/branches/jblum_work/src/ExecFlowGraphXMLRPC.py
===================================================================
--- grc/branches/jblum_work/src/ExecFlowGraphXMLRPC.py  2007-06-29 15:55:04 UTC 
(rev 5876)
+++ grc/branches/jblum_work/src/ExecFlowGraphXMLRPC.py  2007-06-29 17:29:46 UTC 
(rev 5877)
@@ -63,7 +63,7 @@
                @return the new value as a string or the old value if failed
                """             
                try: 
-                       if Variables.reregister(key, new_value): 
self.parse_callbacks()
+                       if Variables.reregister(key, str(new_value)): 
self.parse_callbacks()
                except: pass
                return Variables.get_value(key)
                        





reply via email to

[Prev in Thread] Current Thread [Next in Thread]