LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

does DAQ gives timestamp

Hi,

My program shows temperature readings and display time. My program able to save & open. but main thing is that..

when i open the file tat i saved previously, is not old readings. but current reading.

For example, i saved a waveform & table reading at (3.15.04)

when i opened this file tat i saved, it will display waveform & table reading at (3.17.08)

 

Does DAQ give real-time timestamp? bec i uses subvi(inside consists of DAQ).

And can recommend how to open file when i have 2subvi working together? Hopefully. i did explain clearly.

 

Thanks & Regards,

Isa

Download All
0 Kudos
Message 1 of 8
(3,524 Views)
You did not provide the most important part - how you are writing to the file. The file read is getting a 2D Dbl array and if that is how you are saving the data, you may have thrown away the timestamp when you converted from the dynamic data type or waveform datatype that is shown in the the acquire image. If you not getting old readings when you read the file, you are not saving old readings.
Message 2 of 8
(3,490 Views)

Hi,

Below is how i write into file.

 

Thanks & Regards,

Isa

0 Kudos
Message 3 of 8
(3,465 Views)
The format that you specify for the read is completely different than the format you specify for the write. You need to have the data types match. Change the data type in your read function to a waveform array instead of a 2D Dbl.
Message 4 of 8
(3,448 Views)

Hi everyone,

i would like to send my data (1D array- DBL) to table (string). how should i do that?

i uses a conversion (byte array to string) but theirs no data into the table.

Can anyone help?

 

Thanks & Regards,

Isa

0 Kudos
Message 5 of 8
(3,422 Views)
A double array consists of 8 bytes per element. That is being coerced to a U8 in the U8 array to string. That could be converting the numeric data in a way you wouldn't realize. What does the data in the purple variant wire look like? Perhaps you want the format into string function on the string palette.
0 Kudos
Message 6 of 8
(3,419 Views)

Hi everyone,

I would like to ask something which is that how to convert DBL to string? because my temp subvi readings have to go into table. but how to convert? using 'byte array to string'?

Thanks

 

Regards,

Isa

0 Kudos
Message 7 of 8
(3,393 Views)

As I said, the Format into String function on the string palette.

 

You may also want to look at Array to Spreadsheet string.

 

Message Edited by Ravens Fan on 01-12-2009 05:24 PM
0 Kudos
Message 8 of 8
(3,372 Views)