04-22-2014 08:02 AM
I am writing a VI script to work with some multi column listboxes. I need it to create a property node that gets a reference to the ItemNames field. I see that I can create a property node via the invoke node method Create.Property Node, but how to get the ItemNames field specifically I so far can't figure out. Can anyone help?
To be clear, I am writing code that looks like this:
...and when I run the script, I want it to produce this:
Right now it produces the MCL as expected, via the New VI Object node...but I don't know how to get the ItemNames created automatcially. I thought it might be in the PropItems array but so far no luck.
thank you
Solved! Go to Solution.
04-22-2014 09:04 AM
The output of "PropItems[]" will be a one element array. Index that element and wire the reference to an invoke node. Select the method "SetProperty".
04-22-2014 09:07 AM
Is there a fast way to figure out what index will refer to ItemNames?
thank you
04-22-2014 09:07 AM
or wait, you're saying there's only one element in the array, I see...