LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change the time stamp of a waveform?

Hello,
 
I am using a "waveform" data type and I want to change its time tamp.
There is a vi "set waveform attribute.vi". I connected a string NI_ExpTimeStamp and a integer to the set waveform attribute.vi.
Nothing happens. It does not seem to replace anything since the boolean output remains "false", but I do not get an error.
 
Simon
0 Kudos
Message 1 of 3
(2,722 Views)
I would use the Build Waveform primitave.  Feed the waveform in and set the t0 component. 



I am not comfortable with the timestamp attributes.  Both NI_ExpStartTimeStamp and NI_ExpTimeStamp describe the "time stamp of the first sample".  So, what happens if they are set to different values?  I have used set and get on other attributes with great sucess, but the timestamp attributes seem to be attempting to duplicate values that already exist elsewhere in the waveform.

Message Edited by jasonhill on 03-01-2006 08:24 AM

Message 2 of 3
(2,722 Views)
Yes, this works.
Thanks a lot.
0 Kudos
Message 3 of 3
(2,710 Views)