09-09-2009 08:45 AM
Hi,
I am tring to import data from excel file into a table. the user should modify the data in the table, then export the data again into another excel file. i dont have any problem to import/export data from/to excel file.
the problem how i can use same table as control/indicator???
I am looking for your support please.
thanks and best regards,
FAHAD
09-09-2009 09:14 AM - edited 09-09-2009 09:15 AM
Hi Fahad,
that's what locals are good for!
Make the table a control. After reading the excel file write the data to a local of the table, before writing the file back you can read from the control...
09-09-2009 12:35 PM
thanks for your assistance.
did you mean "local variable"??
other thing, how i can modifiy the contents of the table while it is running. the cell look like locked while the VI is running?
Thanks so much for your help and assistance,
FAHAD
09-09-2009 01:38 PM
To create a local variable, right click the control (or indicator) and go to
Create >> Local Variable
If you right click the local variable, you can change to read/write depending if you want it to act as a control/indicator respectively.
09-10-2009 02:48 AM
09-10-2009 04:05 PM
Thanks Mr. GerdW.
09-28-2009 04:17 AM
dear,
the above way is suitable in case of no previous values in the table. but in my case already the table contains a values. i tried many times but in all times it is not works.
could you please help me with an example with reading values from Excel sheet then edit those values then send it back to excel.
09-28-2009 04:45 AM
09-28-2009 05:42 AM
Hi,
in the attached file , how i can link "all rows" variable with "table"
could you please modifie the VI to be clear for me.
Thanks in advance for your assistance,
FAHAD
09-28-2009 06:38 AM
Why did you create the local variable 'local rows' in the first place?
To fix it, just left click on the local and select 'Table' to link it to that control.
Please check the free LabVIEW tutorials.