From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

save variable value in excel file

excel.jpg

i use labview program to control a instrument, then, i save data collected from the instrument in an excel file (see the top picture). so far, i can save data in excel file, but i do not know how to save parameters (these parameters are used to control the instrument) into the excel file. could someone please help me?

Thank you

0 Kudos
Message 1 of 2
(2,345 Views)
You aren't saving an Excel file. You are saving to a text file with tab delimited data. You don't mention exactly what the parameters are or how they are stored but if they are in a string array, you can simply write them as another row. The Write to Spreadsheet File can be called multiple times so call it once to write the header and again to write your transposed data.
0 Kudos
Message 2 of 2
(2,335 Views)