[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] timed command
From: |
Gong Zhang |
Subject: |
[Discuss-gnuradio] timed command |
Date: |
Mon, 04 Mar 2013 11:28:52 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 |
Hi,
I wanna transmit a 1khz Sinusoidal signal for one second and transmit
2khz for another second.The code maybe something like this:
set_command_time(&mytime)
sig_sin_source.work(...)
set_command_time(&mytime+1)
sig_sin_source.work(...)
But as I know,the first set_command_time would back-pressure all
subsequent timed commands.This would make it impossible for the second
set_command_time to reach the USRP buffer in time.
Is it correct?And what's the suggestion?
I appreciate any tips.
Thank you.
- [Discuss-gnuradio] timed command,
Gong Zhang <=