ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write data in a Configuration Settings file

Hello,
I want to open,write and save a Configuration Setting File and I use the VI Write_Characters_To_File (available in the Input/Output functions) for that. But my problem is that the file generated had a size of 1.81Kbytes instead of the original file size 1.83Kbytes and despite the fact that the two files contains exactly the same characters. I can't identify the problem?

Thank you for your help!!

PS: here is the VI and the Configuration Settings Files (I use Labview 7.0)
0 Kudos
Message 1 of 3
(2,718 Views)
The two text files aren't the same.

The text is longer in one than in the other.

I've found out that in one a filename is "header_BbyoneSW_2LLP_1.0_PreC.bin" whereas in the other it's "header_BbyoneSW_2LLP_1.0_PreC_Cand11.bin". This is present more than once so this could be the reason.

In addition at the very beginning of your file, a square bracket "[" is missing in one file.

Hope this helps

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
Message 2 of 3
(2,713 Views)
tHANK you it runs well now.
the return from christmas holidays was hard
Best regards
0 Kudos
Message 3 of 3
(2,698 Views)