![]() NOTE: These tutorials are focused on functionality not security. Extending this example to two hosts using one of two methods.Īssume our Streaming Server machine is Host A and our Streaming Client machine is Host B.GNURadio XMLRPC Remote Control Over IP Network You are now both remote controlling and viewing streaming data over a network connection! A GUI window will open with the same time/frequency display as before, but in the same graph with the GUI Range 'frequency' slider.Īdjust the slider as before and observe the frequency changing. A blank terminal window will open (don't worry its doing it's job).Ĭlick the run button on the 'siggen_xmlrpc_controller_client_streaming' flowgraph. This will allow us to run the flowgraph on our localhost or a remote host as a 'headless' flowgraph.Ĭhange the sample rate to match the Streaming Server Flowgraph (32ksps)Īdd a ZMQ Sub Source block to the flowgraph and connect it to the input port of both the 'QT GUI Time Sink' and 'QT GUI Frequency Sink' GUI blocks.Ĭlick the run button on the 'siggen_xmlrpc_server_streaming' flowgraph. Change the 'Generate Options' in the Server flowgraph to 'No GUI'.Connect the output of the 'Throttle' block to the input of the ZMQ Pub Sink where the GUI blocks used to be connected. Now delete the GUI blocks from the Server Flowgraph and add a ZMQ Pub Sink block.In the Streaming Server Flowgraph, copy the throttle and GUI display blocks, then paste them into the Streaming Controller flowgraph.(don't forget to change the names in the 'ID' of the 'Options' block to match the new. Create a copy ('save as') of both XMLRPC example flowgraphs and name them:.Make sure you are familiar with ZMQ streaming from the ZMQ tutorials. GNURadio XMLRPC Examples with ZMQ Streaming Data Visualization That's it, you've just remote controlled a flowgraph over a network socket!Ĭlose both GUI windows and continue to the next section. You should see the frequency changing as shown here: In the Siggen Controller Flowgraph Move the Frequency Slider slightly to the left and observe the Siggen Server time/frequency display. Next, click on the tab in GRC that has the tab for the the Siggen Controller flowgraph and start it by clicking the 'RUN' button.Īrrange both GUI windows so you can see them at the same time. Open the siggen_controller_xmlrpc_c flowgraphįirst, click on the tab in GRC that has the Siggen Server Flowgraph and start it by clicking the 'RUN' button. As a bonus step we will run a project that implements a remote, headless wideband RF receiver and stream the data to a Remote Controller for control and visualization.GNURadio XMLRPC Advanced Usage Example (OPTIONAL) This section demonstrates the ability to automate our server flowgraph using a standalone python application.GNURadio XMLRPC Server Automation using Standalone Python Code (Requires 2 hosts on the same network with GNURadio 3.9+ installed) Next, we will run the server/client pair over an IP network using 2 separate computers. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |