Changes between Version 78 and Version 79 of Old/Tutorials/k0SDR/Tutorial00


Ignore:
Timestamp:
Sep 10, 2007, 12:02:31 AM (17 years ago)
Author:
harisk
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/Tutorials/k0SDR/Tutorial00

    v78 v79  
    119119
    120120== 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.
     121Before 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
     126and make sure to use -X option when logging to the node with GNU radio:
     127
     128{{{
     129$ ssh -X root@node1-1
     130}}}
    122131
    123132In 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.
     
    127136   * usrp_oscope.py -- real-time oscilloscope
    128137
     138They can be found in '''gnuradio/gnuradio-examples/python/usrp''' directory.
     139
    129140[[Image(Documentation/GNURadio:double_sine.2.PNG)]]
    130141
     
    1391501. Tunnel from local machine to node. The default port to enable is 8000.
    140151
    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.
     1522. Install nas
     153
     154{{{
     155$ apt-get install nas
     156}}}
     157
     158and 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
     1643. Install NAS
     165
     166{{{
     167$ apt-get install nas
     168$ apt-get install nas-bin
     169}}}
     170
     171nas-bin package contains a lot of utility programs which names start with "au" like ''auinfo'', ''auplay''...
     172
     173Set system variable AUDIOSERVER
     174
     175{{{
     176root@node1-1:~$ export AUDIOSERVER=<ip address of local machine>:0
     177}}}
     178and 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.
    144179
    1451804. 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.