LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

save data

hi, i want to save data for example: 

x0,y0

x1,y1

x2,y2

etc.

 

I want to give them values and save them in a table when the "save button" is press. For the other hand i want to access that saved data to read or change it, for example change only the value of y1 or the value of x2,y2.

how can i do that?  

0 Kudos
Message 1 of 6
(3,083 Views)

syd_b wrote:

hi, i want to save data for example: 

x0,y0

x1,y1

x2,y2

etc.

 

I want to give them values and save them in a table when the "save button" is press. For the other hand i want to access that saved data to read or change it, for example change only the value of y1 or the value of x2,y2.

how can i do that?  


What is x0,y0.........  a 2 dimensional array? individual datas that need to be build in an array and then stored? what do you mean by you want to change? before saving? after saving?

0 Kudos
Message 2 of 6
(3,073 Views)

To store it in a table you can do something like this. You can also use a write to spreadsheet and save the data to your harddisk.

 

tab.JPG

0 Kudos
Message 3 of 6
(3,072 Views)

hi, x0 its an individual data (number) that has to be placed in an array. then i want to read an specific row after saving. Also to change a data every time i want and then press the "save button" to save changes.

 

Thanks for reply and for the information.

0 Kudos
Message 4 of 6
(3,050 Views)

how about this?

 

you can use the Array Index to read the specific element. Row 1, Column 1, or whatever you like. 

 

 

untitled.PNG

 

 

untitled.PNG

Message Edited by krispiekream on 03-16-2010 02:59 PM
Best regards,
Krispiekream
0 Kudos
Message 5 of 6
(3,046 Views)

thanks for reply. But i have another question, what if i want to press the "read button" and display data from row1, then row2, then row3 up to the last row. I want that every time i press the read button display data from the first to the last and repeat the process until the stop button be pressed. 

Can i do that? 

 

 

thanks for attention.

0 Kudos
Message 6 of 6
(3,002 Views)