Time stamps to each data samples

Status
Not open for further replies.

viyaaloth

Junior Member level 3
Joined
Jul 15, 2016
Messages
25
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Location
India
Activity points
211
Dear All,


can anyone tell me about the concept of time stamping.. How can I attach time stamping to each samples from ADC which is stored in a data buffer.?

Regards,
Viyaaloth
 

If each sample is stored as two fields in the buffer , 1st field :time and second field :ADC sample value.
 
Time indicates sampling interval or at what time the sample is captured?
 

Time indicates sampling interval or at what time the sample is captured?
Yes, either a sample number if they are taken at fixed intervals and you know the start time or, more usually, the actual clock time the sample was taken. UNIX time is often used because it is easy to decode back to clock time/date and it has 1 second resolution.

Brian.
 
can anyone tell me about the concept of time stamping.. How can I attach time stamping to each samples from ADC which is stored in a data buffer.?
In terms of hardware design...

By "time stamping" do you mean to attach a real time clock value or just an info which will help you to distinguish later which ADC data was acquired first?

You can have a sufficiently large counter that increments on the rising edge of the system clock. This will provide the unique time-stamp value. Now the freshly acquired ADC value will be in a buffer register. Have another sufficiently large buffer register such that large_buff_reg >= time_stamp_data + ADC_data.
On the rising edge of the system clock copy time_stamp_data + ADC_data to the large_buff_reg and your work is done!
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…