LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I transmit to a subvi a cluster containing elements in a listbox

I have a cluster containing listboxes. when i transmit the cluster in a subvi I loose the elements in the listboxes (thats logic because a listbox return a number). Is it possible to use the properties of the refnum in order to recover the elements in the listboxes
thanks
0 Kudos
Message 1 of 6
(2,841 Views)
Hi,
To me you've got 2 choices :

1) Use the property node "Element names" of your listboxes and transmit them into your subVI if you only need that property in your subVI.

2) Use references of your listboxes and transmit them into your subvi. This method enables you to access to all the properties and methods of the listboxes.

Hope this helps !
Julien
0 Kudos
Message 2 of 6
(2,841 Views)
hi,

yes we can do like this. but i have a lot of listboxes in my cluster so i m going to transmits all the reference of each listboxe.
is it possible to recover the element names of each listboxes from the refnum of the cluster

thanks
0 Kudos
Message 3 of 6
(2,841 Views)
Here's how to recover the element names from the refnum of the cluster itself.

Hope this helps !
Julien
Download All
Message 4 of 6
(2,841 Views)
hi julien,

I can't open your vi because i have labview 6.1
0 Kudos
Message 5 of 6
(2,841 Views)
VIs available for LV6.1

Hope this helps !
Julien
Download All
0 Kudos
Message 6 of 6
(2,841 Views)