LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I write a front panel table to file?

Hello - I'm a novice LabVIEW user, and I'd appreciate any help I could get. I built a VI that has a table on the front panel that the user should interact with. Once the VI is finished, how can I write this table to a spreadsheet or a text file? I'd like the table to be saved as is, including headers and such. Thanks!
0 Kudos
Message 1 of 4
(2,850 Views)
Here's a very quick example:
 
 
Another option is to use the Write to Spreadsheet File VI. If you are using 8.2, it should support string arrays. If not, you can open the diagram and read the instructions on how to modify it.
 
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).

___________________
Try to take over the world!
0 Kudos
Message 2 of 4
(2,845 Views)
Thanks!
0 Kudos
Message 3 of 4
(2,811 Views)
Just note that there is a mistake in my example - the column headers should go in the first ROW and row headers should go in the first COLUMN and not the other way around.

___________________
Try to take over the world!
0 Kudos
Message 4 of 4
(2,783 Views)