09-02-2015 01:56 PM
Hi , i want to create a table with a report of different test.
I want to put in the columns , te value of the frecuency, amplitude, pulse width, etc.
And a final column where i show the result of my test, for example: OK - FAIL
i try to use the table, but i cant find where i can put some strings deppending on some comparations i did.
Please help
09-02-2015 01:59 PM
The table is nothing but a 2D array. Use Build Array to combine your various strings into a 2D array.
09-02-2015 03:03 PM
and if i want to put a variable that is setted by an usser in the front panel, how can i do this ?
i didnt find where to create a 2D string array and how to put elements there.
09-02-2015 03:09 PM
09-02-2015 03:09 PM - edited 09-02-2015 03:10 PM
You will need to create a 2D array of strings. If you have a variable that you want to insert into your 2D array, you will need to use Replace Array Subset, which will let you swap an element or an array in your 2D array. Does that help answer your question ?
09-03-2015 12:11 AM
You should define your UI. it seems a bit hazy right now. A table and maybe some interaction. I think it best to think it out clearly as a set of requirements before going further.
09-03-2015 03:12 AM - edited 09-03-2015 03:13 AM
Hi Sebuken,
Read THIS first
Now, how you can fill the array(see the atached VIs)
Method 1, (simplest to just get the idea)
See the simple example attached (just 2D array and the table)
Method2,
Your application seems big so you may use the ‘Value Property’
Method 3(Best and Reusable)
Make a SUB VI which will fill the table for you using
Now, you have some set of parameters you motioned (frequency, amplitude, pulse width, etc )
Think how you can gather them in 2D array and can show in the table.
Besides above explanation, every time you need to append the latest ROW to your table, think about how you going to that, browse the properties of table, and see what parameters of table you can get and how you can use those for making your application easy.
Good Luck.