Hi Sumit,
that's kind of redundant -- you know the start time and you know the
constant sampling rate, so you know the time of each sample in your
file. Anyway, the metadata sink saves every tag you specify, so just
write a block that calculates the time to a given sample number, and
occasionally adds a tag to the stream.
Greetings,
Marcus
On 05.09.2014 17:12, Sumit Saluja
wrote:
Thanks mleech,
I used Metadata but I am able to add date once at starting of Sinking but not able to add during whole process.
Sumit Saluja
From: address@hidden [mailto:address@hidden]
Sent: Friday, September 05, 2014 11:10 AM
To: Sumit Saluja
Cc: address@hidden; address@hidden
Subject: Re: [Discuss-gnuradio] GnuRadio File sink Operation, Need help
There's the metadata file sink. You could insert date/time tags.
Or, if the rates are quite low (a few Hz at most), you could use a probe, and have a poller function that grabs data from the probe, and
formats it all pretty like. That's how simple_ra writes its data log files....
On 2014-09-05 11:06, Sumit Saluja wrote:
Dear All
I am trying one experiment but not able to complete it on Gnu Radio. I am reading Data from hardware and sinking with file. Now I am trying that at with every sample data and date and time will be sinked in a file. Is there any option to do so.
Thanks
[Description: cid:image001.png@01CBD1D4.C1A74D30]
Sumit Saluja
System Administartor
Physics Department
Princeton, NJ 08540
Phone-(609)258-7916
_______________________________________________
Discuss-gnuradio mailing list
address@hidden<mailto:address@hidden>
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
|