04-17-2006 05:17 PM - edited 04-17-2006 05:17 PM
Message Edited by uclabme on 04-17-2006 05:18 PM
04-18-2006 11:19 AM
Hello,
The square waveform generator VI that is producing the waveform doesn't use system time as its basis, and that appears to be where the issue lies. By default, the output waveform will be aligned to a t0 (initial time) of 0, since the waveform time stamp in this case is relative to the start of the program. To align the time with the current system time, all you need to do is use the Align Waveform Timestamps VI to shift the t0 value of the generated waveform to match the current time. I've attached an example (aligntimes.vi) built in LabVIEW 7.1.1 that demonstrates - you should be able to adapt it very easily to fit your needs.