Changes between Version 31 and Version 32 of Tutorials/k0SDR/Tutorial04a


Ignore:
Timestamp:
Jun 2, 2015, 3:48:57 PM (9 years ago)
Author:
stojadin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/k0SDR/Tutorial04a

    v31 v32  
    8787 * At the wiserd prompt set the carrier frequency, sampling rate & gain. Then link the transmitter to the signal source which is the binary file generated in octave from prior step:
    8888{{{
    89 > set --uhd_tx_freq 700e6 --uhd_tx_rate 5e6 --uhd_tx_gain 20 --tran_wavefilename s1.bin
     89> --uhd_tx_freq 700e6 --uhd_tx_rate 5e6 --uhd_tx_gain 20 --tran_wavefilename s1.bin
    9090-- Successfully tuned to 700.000000 MHz
    9191--
     
    9494uhd_tx_gain 20
    9595uhd_tx_rate 5000000
    96 > add --signalfromfile
     96> --addmodule signalfromfile
    9797Consumer signalfromfile added
    9898LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
     
    100100}}}
    101101
    102 The set command is used with multiple arguments in one line:
     102In order to set parameter values, multiple arguments can be used in one line:
    103103
    104104 ''--uhd_tx_freq'' set carrier frequenct to 700MHz
     
    110110 ''--tran_wavefilename''  tells the links the transmitter source to a binary filename.
    111111
    112 ''add --signalfromfile'' opens the above filename, reads the samples and streams to the usrp.
     112''--addmodule signalfromfile'' opens the above filename, reads the samples and streams to the usrp.
    113113
    114114At this point the USRP will continuously transmit the signal util the delete command is issued:
    115115
    116  ''delete --signalfromfile'' stops tranmitting signal.
     116 ''--delmodule signalfromfile'' stops tranmitting signal.
    117117
    118118
     
    136136--
    137137Ready!
    138 > set --uhd_rx_freq 700e6 --uhd_rx_rate 5e6 --uhd_rx_gain 20 --recv_running_time 1000 --recv_output_filename rx_signal
     138> --uhd_rx_freq 700e6 --uhd_rx_rate 5e6 --uhd_rx_gain 20 --recv_running_time 1000 --recv_output_filename rx_signal
    139139-- Successfully tuned to 700.000000 MHz
    140140--
     
    144144uhd_rx_gain 20
    145145uhd_rx_rate 5000000
    146 > add --timesamplestofile --timed
     146> --addmodule timesamplestofile --timed
    147147Consumer timesamplestofile added
    148148Consumer timesamplestofile finished
     
    158158 ''--recv_running_time''    set receiver run time in milliseconds. (optional)
    159159
    160 The add command options
     160The --addmodule command options
    161161
    162  ''--timesamplestofile'' streams data from receiver to file
     162 ''--addmodule timesamplestofile'' streams data from receiver to file
    163163
    164164 ''--timed''             runs receiver for the specified amount of time. (optional)