LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Config file create table

Hi

I am able to read back my data from a config file using the config file functions in labview 8, but that I would like to do is then display these values in a table on my frontpanel.

Basically I'd like 2 columns with the title, a string, in the one field and the number, double, in the other. I what i am getting confused with is having my config grab in an event structure and then how I go about plotting the data, obviously I need a for loop in the event structure to?

The examples in labview dont really provide enough pointers for how to use the table control in the way I want to.

Any help gratefully received

Regards
0 Kudos
Message 1 of 2
(4,157 Views)

A table is basically a 2D array of strings, so you can do something like this.

If you want to be safer, you can read the value as a double and then convert it to a string. If you want to replace existing values in the array, you can use the Replace Array Subset function.

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 2
(4,153 Views)