取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
1 条消息(共 5 条)
3,945 次查看

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 项奖励
2 条消息(共 5 条)
3,908 次查看

sorry.

First Read From Measurement original and copy delete date and time

Copy woth it.

0 项奖励
3 条消息(共 5 条)
3,907 次查看

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

4 条消息(共 5 条)
3,881 次查看

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 项奖励
5 条消息(共 5 条)
3,858 次查看