LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unsuspected Error

Solved!
Go to solution

Anyone else has the "End of File Ecountered" error on the attached VI.

I don't really know what I'm doing wrong here.

 

Thanks

 

Kas

Download All
0 Kudos
Message 1 of 3
(2,551 Views)
Solution
Accepted by topic author zerotolerance

You use the following string formatter:

 


%-2147483648d) %s %6s %9s: >>>%s<<<


 

the first one is the culprit (%-2147483648d), this instructs labview to write down a number (%......d) with a negative number of digits, which is of course not possible.

 

if I change the format to %4d I get the following output    1) 2010/08/19-19:41:55.109   LPT1   Command: >>>test in<<<.

 

This is still a bug inside LabVIEW, NI should perform a sanity check on the format and output an apporpriate error.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 2 of 3
(2,532 Views)

Nice catch.

 

Thanks

 

Kas

0 Kudos
Message 3 of 3
(2,515 Views)