ni.com is currently experiencing unexpected issues.
Some services may be unavailable at this time.
06-22-2009 08:48 AM
06-22-2009 10:05 AM - edited 06-22-2009 10:07 AM
So instead of an absolute time, you want a relative time?
You could do something like this:
Basically, it breaks up your waveform and only takes the y-value, and uses the dt to create x-values.
It then converts the x-values into the time stamp you specify (the large pink box).
Then it builds a 2D array of x and y values.
Lastly, it writes to a txt file using 'write to spreadsheet file'.
I'm not sure if 'Write to spreadsheet file' is polymorphic in 7.1, but I think it accepts string arrays.
06-23-2009 04:41 AM
06-23-2009 09:42 AM
Someone may have to confirm this for me, but in LabVIEW 7.1, I dont think that the 'write to spreadsheet file' function is polymorphic.
What I mean by this is that, in 8.x, you can input an array of : double, single, integer, string, etc.
The function will adapt accordingly.
In 7.1, I dont think you can pass a string.
I will attach a copy of 'write to spreadsheet file' that can accept strings for you.
I can only save down to LabVIEW 8.0, can someone please save this to 7.1 for Dur, thank you.