LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

[Beginner] Read/write an array from file

Hi,

I would like to let my user read a config file then modify values then save to disk.
So i read the file, put in the array but because my array is an indicator, the
user can't modify it and if it's a command i can't put value in it.

I'm a quite confused with those variable that are only readable or writable not both.
I made such thing in C in 2 minutes.
0 Kudos
Message 1 of 2
(2,928 Views)
1)Click on the array indicator by right button of the mouse and select "Change
To Control". Now the user can modify it.
2)Click on the array control by right button of the mouse and select "Create->Local
Variable".
3)Now, use the Local Variable instead of the control's array Terminal. If
that is not possible, click on the Local Variable on the Diagram by right
button and select "Change To Write Local"

Enrico Caldano


"y.leroux" wrote:
>Hi,>>I would like to let my user read a config file then modify values
then save to disk.>So i read the file, put in the array but because my array
is an indicator, the>user can't modify it and if it's a command i can't put
value in it.>>I'm a quite confused with those variable that are only readable
or writ
able not both.>I made such thing in C in 2 minutes.>>>>>
0 Kudos
Message 2 of 2
(2,928 Views)