LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read simulation data file (*.DAT) using spreadsheet (file reading eror - zeros)

Solved!
Go to solution
Did you pay any attention to the delimiter when you used the Read from Spreadsheet File? The negative numbers have a SINGLE space for the delimiter.
0 Kudos
Message 11 of 13
(1,207 Views)
Solution
Accepted by topic author tmsworld

"Fract/Exp String To Number Function " have "use system decimal point " .

If TRUE (default), the decimal separator uses the localized decimal separator.

 

But, data file uses period to the decimal separator.

Your PC Settings may not be period. Then, you must set the "use system decimal point " to FALSE.

 

FixedLengthTextFile2.png

Message 12 of 13
(1,196 Views)

Dear KONDOH,

 

Thank You for your answers, it was very useful for my first steps to learn working with LabVIEW.

 

Although I got what I wanted but I still have a question, I think it would be interesting to other NI community:

 

In last post (Message 7) you show me very sipmle way to read *.DAT file, except some problems. It was realy understandable solution for my LabVIEW skills. 

Maybe here is some wai to read my type *.DAT file with simplest block diagram as shown in  (Message 7)?

 

Thanks again for perfect answers.

With Respect,

Tomas E.

0 Kudos
Message 13 of 13
(1,166 Views)