-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gr-soapy: Add timestamp tag to source output #6106
Comments
Since hardware timestamps are not provided by all hardware, there would need to be a switch for this. |
AFAIK there's no easy way to detect if a Soapy driver's Stream API supports timestamps, it just gets filled out if supported. untouched otherwise.
These Soapy drivers don't populate the timestanp:
Since each driver supported is defined as a seperate source and sink block in gr-soapy. it might be worth while adding a argument to the Alternatively, since each driver that doesn't support hardware timestamps, does not alter its value. Setting it to -1 prior to calling readStream() and checking for any positive value be a requirement for adding the tag. |
Tag the output stream with the hardware based timestamp if populated by the SoapySDR driver. Closes gnuradio#6106 Signed-off-by: Roman Vaughan <nzsmartie@gmail.com>
Tag the output stream with the hardware based timestamp if populated by the SoapySDR driver. Closes gnuradio#6106 Signed-off-by: Roman Vaughan <nzsmartie@gmail.com>
Tag the output stream with the frequency, sample rate and hardware time. Following gr-uhd's rx_freq, rx_rate and rx_time tags. Closes gnuradio#6106 Signed-off-by: Roman Vaughan <nzsmartie@gmail.com>
Tag the output stream with the frequency, sample rate and hardware time. Following gr-uhd's rx_freq, rx_rate and rx_time tags. Closes gnuradio#6106 Signed-off-by: Roman Vaughan <nzsmartie@gmail.com>
Tag the output stream with the frequency, sample rate and hardware time. Following gr-uhd's rx_freq, rx_rate and rx_time tags. Closes #6106 Signed-off-by: Roman Vaughan <nzsmartie@gmail.com>
Tag the output stream with the frequency, sample rate and hardware time. Following gr-uhd's rx_freq, rx_rate and rx_time tags. Closes gnuradio#6106 Signed-off-by: Roman Vaughan <nzsmartie@gmail.com>
Tag the output stream with the frequency, sample rate and hardware time. Following gr-uhd's rx_freq, rx_rate and rx_time tags. Closes gnuradio#6106 Signed-off-by: Roman Vaughan <nzsmartie@gmail.com> (cherry picked from commit 3eea105) Signed-off-by: Jeff Long <willcode4@gmail.com>
Feature Description
SoapySDR will provide the hardware timestamp of the received buffer in the form of nanoseconds. gr-soapy's source block discards this timetamp
time_ns
when outputting items.gnuradio/gr-soapy/lib/source_impl.cc
Lines 51 to 97 in 6c34c6b
Can we add a time tag to the output much like gr-uhd does (and possible the frequency and rate as well?)
gnuradio/gr-uhd/lib/usrp_source_impl.cc
Lines 623 to 630 in 1dcf874
Feature Urgency
medium (would be nice to have in the near future)
More Information
No response
The text was updated successfully, but these errors were encountered: