ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

timestamp to double

Hello,
I finally got my report generator to work, but there is still one problem. To create a graph, an array of doubles is needed. I have an array of strings, containing two columns, one with a value logged with the DAQ, and one with timestamps. Does anyone knows a way to convert this to an array of doubles?
An other thing is an excel thing: when I load the timestamp in excel, the cell is formatted in MM:SS, and it should be HH:MM:SS.uuu.

Does anyone has a solution? Thank you.
0 Kudos
Message 1 of 2
(3,770 Views)
From bsukpraphrute@yahoo.com

There is no function to convert from two single arrays to a double array. However, you could do by yourself using for a for loop, a index array, and a insert array function. If the double array is not critical in your application. I would leave it as is. you can convert to a cluster array. I don't know if this will serve any purpose.
About the DAQ timestamp question? I don't know what kind of DAQ card you have. It is hard to tell for now. You may contact me at bsukpraphrute@yahoo.com

Good Luck
0 Kudos
Message 2 of 2
(3,770 Views)