LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

modified a table

Right click on the local variable and select Change to Read.

 

I don't understand your last message.

 

I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

0 Kudos
Message 11 of 23
(913 Views)

i've done it but still dont have the column header like in the front panel after i save the file and open it with notepad

attached is the saved data

Download All
0 Kudos
Message 12 of 23
(905 Views)

The header information is not data that is stored in the table, but a separate property of the table.  You will need to feed the array of column headers through, write that to the file first as a 1-D array of strings.  Then write the data from the table.

0 Kudos
Message 13 of 23
(897 Views)

To expand on Ravens Fans suggestion, simply wire hte Column Headers array to a Write to Spreadsheet File.  Wire a True into the Append to File input.  Then, to avoid having to specify the file name again on your 2nd write, wire the new file path output through the while loop to the 2nd instance of Write to Spreadsheet File.  Be sure to set the Append input to False on the 2nd write.  See pictures below:

 

table_BD.png                 table[1]_BD.png

- tbob

Inventor of the WORM Global
0 Kudos
Message 14 of 23
(891 Views)

i do as u said..the header column did appear in my save file but my input number dont..do u know why?

please take a look at my vi

0 Kudos
Message 15 of 23
(873 Views)

Hi Hohoi,

 

there are some changes in the tbob suggestion..

you have to do the below changes ( mentioned in bold letter) in the code to execute as you expect.

 

1. Wire the Column Headers array to a Write to Spreadsheet File.  Wire a FALSE into the Append to File input.(since its going to be new file)

2. To avoid having to specify the file name again on your 2nd write, wire the new file path output (not through the while loop) to the 2nd instance of Write to Spreadsheet File. 

3. Be sure to set the Append input to TRUE on the 2nd write - this will append the numeric data in to file you written in step 1

0 Kudos
Message 16 of 23
(864 Views)

Hi Hohoi,

 

made few changes yo your VI hope it helps you...

 

 

Regards,

 

Prashant

0 Kudos
Message 17 of 23
(859 Views)

Hi G K

i made the changes but my input number still didn't come out in my save file

 

Hi  PCSNF

i cant open ur vi..mine is only version8.6 ;(

 

0 Kudos
Message 18 of 23
(848 Views)

Hi G K

i made the changes but my input number still didn't come out in my saved file

 

Hi  PCSNF

i cant open ur vi..mine is on version8.6 ;(

0 Kudos
Message 19 of 23
(844 Views)

Hi

 

you are not connected the numeric data in the second write.

Check the vi attached (LV8.6)

0 Kudos
Message 20 of 23
(843 Views)