Changes between Version 31 and Version 32 of Tutorials/k0SDR/Tutorial04a
- Timestamp:
- Jun 2, 2015, 3:48:57 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/k0SDR/Tutorial04a
v31 v32 87 87 * 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: 88 88 {{{ 89 > set--uhd_tx_freq 700e6 --uhd_tx_rate 5e6 --uhd_tx_gain 20 --tran_wavefilename s1.bin89 > --uhd_tx_freq 700e6 --uhd_tx_rate 5e6 --uhd_tx_gain 20 --tran_wavefilename s1.bin 90 90 -- Successfully tuned to 700.000000 MHz 91 91 -- … … 94 94 uhd_tx_gain 20 95 95 uhd_tx_rate 5000000 96 > add --signalfromfile96 > --addmodule signalfromfile 97 97 Consumer signalfromfile added 98 98 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL … … 100 100 }}} 101 101 102 The set command is used with multiple argumentsin one line:102 In order to set parameter values, multiple arguments can be used in one line: 103 103 104 104 ''--uhd_tx_freq'' set carrier frequenct to 700MHz … … 110 110 ''--tran_wavefilename'' tells the links the transmitter source to a binary filename. 111 111 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. 113 113 114 114 At this point the USRP will continuously transmit the signal util the delete command is issued: 115 115 116 '' delete --signalfromfile'' stops tranmitting signal.116 ''--delmodule signalfromfile'' stops tranmitting signal. 117 117 118 118 … … 136 136 -- 137 137 Ready! 138 > set--uhd_rx_freq 700e6 --uhd_rx_rate 5e6 --uhd_rx_gain 20 --recv_running_time 1000 --recv_output_filename rx_signal138 > --uhd_rx_freq 700e6 --uhd_rx_rate 5e6 --uhd_rx_gain 20 --recv_running_time 1000 --recv_output_filename rx_signal 139 139 -- Successfully tuned to 700.000000 MHz 140 140 -- … … 144 144 uhd_rx_gain 20 145 145 uhd_rx_rate 5000000 146 > add --timesamplestofile --timed146 > --addmodule timesamplestofile --timed 147 147 Consumer timesamplestofile added 148 148 Consumer timesamplestofile finished … … 158 158 ''--recv_running_time'' set receiver run time in milliseconds. (optional) 159 159 160 The addcommand options160 The --addmodule command options 161 161 162 ''-- timesamplestofile'' streams data from receiver to file162 ''--addmodule timesamplestofile'' streams data from receiver to file 163 163 164 164 ''--timed'' runs receiver for the specified amount of time. (optional)