Changes between Version 78 and Version 79 of Old/Tutorials/k0SDR/Tutorial00
- Timestamp:
- Sep 10, 2007, 12:02:31 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Old/Tutorials/k0SDR/Tutorial00
v78 v79 119 119 120 120 == Example: Visual Outputs == 121 Before you try these examples, you should have imaged nodes on sandbox 5 using gnuradio_visual.ndz OR manually installed x-window-system and wx-python on the node. Also be sure to have an x-server running on the local machine and make sure X is enabled on all ssh-running machines. 121 Before you try these examples, you should have imaged nodes on sandbox 5 using gnuradio_visual.ndz OR manually installed x-window-system and wx-python on the node. Also be sure to have an x-server running on the local machine: 122 {{{ 123 $ startx 124 }}} 125 126 and make sure to use -X option when logging to the node with GNU radio: 127 128 {{{ 129 $ ssh -X root@node1-1 130 }}} 122 131 123 132 In the previous example, the received signal could only be viewed after it has been moved onto a machine running plotting software. With visual outputs, the researcher can analyze transmitted and received waveforms in real-time. … … 127 136 * usrp_oscope.py -- real-time oscilloscope 128 137 138 They can be found in '''gnuradio/gnuradio-examples/python/usrp''' directory. 139 129 140 [[Image(Documentation/GNURadio:double_sine.2.PNG)]] 130 141 … … 139 150 1. Tunnel from local machine to node. The default port to enable is 8000. 140 151 141 2. Install and run nasd (server) on the local machine. The local machine should have a way to play sounds locally (soundcard). 142 143 3. Install NAS, set AUDIOSERVER, and run auinfo (client) on the remote machine. There should be an output describing all potential audio outputs on the local machine running nasd. Running auinfo is simply a means of checking if the remote connection is working as intended. You can also try "auplay FILE" to actually play sounds remotely. 152 2. Install nas 153 154 {{{ 155 $ apt-get install nas 156 }}} 157 158 and run nasd (server) on the local machine. The local machine should have a way to play sounds locally (soundcard). Start nas daemon on the local machine: 159 160 {{{ 161 $ nasd :8000 -aa 162 }}} 163 164 3. Install NAS 165 166 {{{ 167 $ apt-get install nas 168 $ apt-get install nas-bin 169 }}} 170 171 nas-bin package contains a lot of utility programs which names start with "au" like ''auinfo'', ''auplay''... 172 173 Set system variable AUDIOSERVER 174 175 {{{ 176 root@node1-1:~$ export AUDIOSERVER=<ip address of local machine>:0 177 }}} 178 and run auinfo (client) on the remote machine. There should be an output describing all potential audio outputs on the local machine running nasd. Running auinfo is simply a means of checking if the remote connection is working as intended. You can also try "auplay FILE" to actually play sounds remotely. 144 179 145 180 4. Modify the gnuradio audio scripts to use NAS libraries. Image "gnuradio_audio.ndz" already has modified audio blocks. Note: if you use the custom image, OSS audio is disabled.