12-06-2005 04:01 AM
12-06-2005 04:43 AM
What do you mean by "the Labview PDA module does not allow to view the data in an array(table)"?
Versions 7.0 and 7.1 don't support array controls (8.0 does, although I haven't seen it yet), but why can't you convert your data to a string array and display it in a table?
12-06-2005 06:01 AM
Hi tst,
This is what the PDA manual has to say
"Array and cluster controls and indicators do not appear on the front panel of PDA VIs. If you want the controls and indicators that are in an array or cluster visible on the front panel, you must remove the elements from the array or cluster."
But if i remove the element from array how do i display it to user in form of list for selection ?(i would like to take action depending on his selction). I cannot display array elements as individual string . Even if i were to do that, there will as many string controls on the Front panel as elements in array !. The number of elements in array keep changing dynamically.
Also i cannot use property nodes, so i do not have the option of transfering the array data to list or enum control !.
I am aware that LabVIEW PDA modules 8 does support property nodes, though i have not used it myself.
Thanks,
J.A.C
12-06-2005 06:10 AM
What I said was that you can use a table instead of an array (a table is just a 2D array of strings and you can wire an array into it). However, since you now say that you want the user to be able to select from the options, you will have to go with a ring or a listbox.
To do this, 7.1 includes "property VIs" (in the application control palette) which fulfill some of the functions that property nodes do (in this case, you can populate a ring). I'm not sure, but if listboxes are supported, you should probably also be able to populate a listbox. You can find some more "property VIs" on this site.
By the way, you can display array elements in strings. Since you only display N elements of the array at any given time, you can simply use a scrollbar and index the proper elements out into your controls (not that there is any need to do this).
12-06-2005 06:19 AM
12-06-2005 07:24 AM