05-15-2003 10:22 PM
08-15-2011 07:49 PM
Hi All,
I am having a similar issue. I am using waveform Min MAx.vi to extract the minimum and maximum values from a waveform graph, and the corresponding times. The output from the vi is in the format of a timestamp for the max time and the min time, whereas, I would like to have that in the time format which is on the waveform graph. The waveform graph has relative time on the x-axis, starting from zero.
I would also like to average the maximum and the minimum values that I am getting from the vi around a few points/ samples. How do we go about this?
Thanks,
Deepak
08-15-2011 07:50 PM
I am using LabView 2010 with SP1.
08-16-2011 11:13 AM
To get relative time, you just have to subtract the t0 of the waveform.
08-16-2011 11:25 AM
@mikeporter wrote:
here's two VIs I use for converting between formats.
Mike...
A slightly more robust version is avalable here. and attached
Mike- those seam fairly good except for the leapyear bug in excel and DST the local time zone information should be passed as well since in Excel there is a different epoch for each time zone (Well, Excel doesn't really keep track of Zone other than Local)
08-16-2011 12:02 PM
[Edit]
Had not looked at the OP date.
08-17-2011 07:31 PM
Thanks, Dennis.