when i get the chance as well.
successfully extracted the time metadata and would you be willing to
share the C++ code to show me how to capture and extract the time metadata.
Josh:
for discussion, consider a model: uhd-source-block —> custom
filter block ----->custom sink (sample file)
For clarification, when you say the metadata is present in the uhd
source block but dropped on the way out, this implies that if I want the
time associated with a sample, I need to modify the uhd source block
with the code to pull the secs/nsecs. Is this correct? Currently, I
have a custom filter block attached to the USRP source block, but your
comment indicates that the metadata is not present when the sample is
passed to my custom filter block. If that understanding is correct,
then I must capture the time data in a new custom uhd block, push it to
an array with some identifier and then in my existing custom block,
re-attach the metadata with the sample based on the key or position in
the array. Am I understanding this correctly?
The example is quite helpful and I have spent much of the weekend
working through it. thanks