ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing an array to spreadsheet with timestamp

Hi,
 
Im using a Savitzky Golay filter to filter some noisy data. I fed the array output of the filter to an array to spreadsheet function and then to a spreadsheet string. What I wanted to do was to attach a timestamp to each data value in the array. But unfortunately, the time stamp gets attached to each row of the array. How do I attach a timestamp to each data value and then write to the spreadsheet file. Kindly help me out.
 
Thanks and regards.
0 Kudos
Message 1 of 4
(3,606 Views)

With out code it's hard to explain but you need to insert your timestamp eirlier in your program.

Like every time a reading is taken, take a timestamp and build the array with the timestamp as an element right from the start.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 2 of 4
(3,604 Views)
Firstly, i apologise for the late reply.
I dont really understand what you mean. The SG filter outputs an array at regular intervals, basing on the number of points used to implement the SG filter array. How do I attach a timestamp to each value?
0 Kudos
Message 3 of 4
(3,572 Views)
In LabView 8.2 you can create timestamp from the Palette see attachment
0 Kudos
Message 4 of 4
(3,499 Views)