LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

array and save

I need help in creating an array and saving its contents in an output file so they can viewed. The array I beileve I can create using a for loop howver I am having trouple saving it into an output file to be viewed later.
 
Thanks
0 Kudos
Message 1 of 4
(2,906 Views)
What type of array, 1D or 2D?  Strings or numbers?  If you convert numbers to strings, and write to a text file, you should have no problem viewing the file with any text editor like Notepad, Wordpad, or even Word.  When writing, separate the elements with a space or comma or tab to make it readable.  Don't forget to add new line constant at the end of every row when writing to a file.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 4
(2,902 Views)

Its an array of numbers 1D

thanks

 

0 Kudos
Message 3 of 4
(2,895 Views)
Hello,

This is something very basic but maybe that will help you Smiley Surprised

Be carefull, as it is coded, it writes the values in the array in a line, not a column, but if you want to write line after line as you are acquiring your datas, that can be an idea... 😉

Fell free to ask more questions

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 4 of 4
(2,884 Views)