LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remove "zeros" form a txt file created by Labview

Hi Kabanga,

you can also use the code from the attached picture. It deletes the elements without using a loop. Smiley Happy It´s also possible with string.

Hope it helps. Mike



Message Edited by MikeS81 on 07-09-2008 03:03 PM
0 Kudos
Message 11 of 13
(690 Views)
You didn't say exactly how you are saving the file.  If you are using a method which allows specification of a format string, use the underscore instead of a period in the width specifier to remove trailing zeroes (e.g. use %_5g instead of %.5g).
0 Kudos
Message 12 of 13
(676 Views)

Hi Mike, Hi Gray,

thanks for your answers.

I've solved my problem yesterday using the solution proposed by Gerd.

Best regards
Kabanga

0 Kudos
Message 13 of 13
(674 Views)