LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How Read Date with Read From Measurement File

Hello

I try read text file with Read From Measurement File, file have column date and time

06/02/2017 14:34:24 and data

06/02/2017 14:34:25 and data

only read 06 or delete date read 14 

Any help you guys can give would be much appreciated.

0 Kudos
Message 1 of 5
(2,980 Views)

We can provide much better help if you attach two things:  the VI (not a picture, but the actual .vi file) and the data file you are trying to read.

 

Bob Schor

0 Kudos
Message 2 of 5
(2,943 Views)

sorry.

First Read From Measurement original and copy delete date and time

Copy woth it.

0 Kudos
Message 3 of 5
(2,942 Views)

It's because those files have different delimiters.

Original one has "space" as delimiter - and Read Measurement File Express VI does not have such a setting.

The second, "copy" file, has "tabulator" as delimiter - that's why you can read all the data.

You can also read data via function "Read Delimited File" (or "Read Spreadsheet File"), where you can setup delimiter. But then you need to add more parsing to it, to get signal data.

Hopefully, this will help,

 

logos_middle.jpg

Message 4 of 5
(2,916 Views)

Thank you! kosist90

Now I can read the data but date and time does not read. How should I write it or what is the format for reading with Read From Measurement. 

 

0 Kudos
Message 5 of 5
(2,893 Views)