LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i send a double array(full of doubles) to an output file?

I have a double array which is full fo doubles in it. And I wanto to write these data to an output text file? Can someone show me a way of doing this?
0 Kudos
Message 1 of 4
(2,489 Views)
Hi tenten,

do you really need a text file? So you could use "Array to spreadsheet string" (from string palette) and "write to text file" (LV7.1).
In newer LV versions you find a vi in the file palette (Write to spreadsheet file) which does this in one step...

In both cases you need to give proper format codes to keep your information correct (%.3f is default, but will probably cut most of your informations)!

Message Edited by GerdW on 09-25-2007 03:32 PM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(2,493 Views)
For the sake of being throroughly helpful...
Attached is what your looking for.
0 Kudos
Message 3 of 4
(2,477 Views)

Hi Tenten,

Those were all excellent suggestions above. There are many options. I have added a simple VI so you can have an example with a Text File.

Charlie M.

Message Edited by Charlie M. on 09-26-2007 02:50 PM

Message Edited by Charlie M. on 09-26-2007 02:51 PM

Charlie M. CLD
Download All
0 Kudos
Message 4 of 4
(2,446 Views)