From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-29-2015 02:08 PM
Hello,
In the attached VI1, I am trying to pass the cluster from VI1 to VI2, but the cluster elements doesn't update. Can you offer some insights as to how I can go about updating the cluster from VI1 input to VI2?
Thanks,
hiNi
Solved! Go to Solution.
04-29-2015 02:20 PM
It works for me.
04-29-2015 02:24 PM
The values are being updated, but not the listbox contents. Since the contents is a GUI thing and has little to do with the data, those are not contained in the data on the wire.
What exactly are you trying to do here? Perhaps a cluster of listboxes is not the way you should be going with this.
04-29-2015 02:45 PM
Hello again,
I am trying to use the contents of the list box for later programming. As you can see in the updated llb file for VI2, if I take Layer 2 out of the cluster, the Item names do not reflect the names that are input from VI1.
As I change the contents (i.e. Item names, Colum header names etc.) from VI1, I want those changes to take effect in VI2.
Thanks,
hiNi.
04-29-2015 03:06 PM
You could pass a reference to the cluster from VI1 to VI2. VI2 would then access the Controls[] Property, index out each element, typedef it using a ListBox reference and then access the listbox Column Header and Item Names. See the attached changes.
Steve