LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to save the data that a user has written in a table (front panel) by using a "press button"?

Hi,
 
I have the following situation. I need to be able to save the data I write in a table (front panel) when desired.
This allows me to modify, add new data, etc in the "Table" when wanted and to SAVE the latest information when wanted.
 
I need to save all the table data by using ONLY one button.
 
Thanks for the help!
 
Kind regards,
 
Amaloa S.
0 Kudos
Message 1 of 4
(2,073 Views)
hi,
It is not so clear from your question where do you want to save the "Table data"

If you want to save the data to a file, then search examples for File operations in example finder that is shipped with your LabVIEW development system.

If you want to save data in a temperory memory, then you can use a shift register. Use an event structure inside the while loop. Add an event for your "One button" and pass the new table data to the shift register. In all other events you have to pass the old data. Donot leave the output tunnel of the event structure to default.

Please provide sufficient enough information on what you are looking for, so that we can provide a better answer.

Hope this helps...
0 Kudos
Message 2 of 4
(2,070 Views)
Hi,
Thanks for the feedback. 🙂
 
Your answered helped.
In this case I need to save the Data into an ARRAY.
 
Now I have the following issue. I will try to explain:
---------------------------------------------------------------
Suppose that I have following:
 
1. Several GROUPS of Data like this:
 
    ER-1234
    ER-3245
    ER-4786
    ER-9080
 
2. Each GROUP has the following ELEMENTS:
 
    A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
 
   So it would be like
 
    ER-1234: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
    ER-3245: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
    ER-4786: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
    ER-9080: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
 
 3. An each ELEMENT has DATA that I need to save, BUT! that I need to be able to get by specifying the group and the element.
 
    A:
         2,3   2,4    2, 8,   2,8 
         2,2   2,3    2, 7,   2,6
         2,1   2,6    2, 6,   2,7 
         2,5   2,4    2, 5,   2,3
 
How can I save the ELEMENT "A" Data with the label of the GROUP and the ELEMENT so that I can recongnize it when I need to get the DATA again?
 
Thanks for the help!
 
Best regards,
 
Amaloa.
0 Kudos
Message 3 of 4
(1,989 Views)
Is this the same as the question posted in this   thread?
0 Kudos
Message 4 of 4
(1,983 Views)