08-17-2012 04:36 AM - edited 08-17-2012 04:42 AM
Hi,
how to create a vi which accept the complete frame continously in a list box without losing the older one which are coming from an Array.
Solved! Go to Solution.
08-17-2012 04:51 AM
Hi chintukumar,
Please could you explain your problem in a little more detail?
I take it you are trying to populate a list box using an array, but what do you mean by accept new "frames"?
Do you mean you want to add to the contents of the listbox while the code is running?
Thanks,
Laurence
08-17-2012 05:10 AM
Thankyou sir,
Here my listbox acts as an indicator.Whatever values it get should display.Iam able to do that but my problem is,only one row can display values, on the next iteration the older values are dissappearing and new value will comes in that place.I want the new values will populate line by line,without losing my old values.How to do that?
08-17-2012 05:38 AM
Hi,
You will need to use the Combo Box as a control, not an indicator, as in that form it can only display one value.
To change the values you can use a Property Node. The terminal itself does not need to be wired.
Please find attached an example, and for more information on property nodes, see the link below:
http://zone.ni.com/reference/en-XX/help/371361H-01/glang/property_node/
Hope this helps.
08-17-2012 05:43 AM
Hi,
Iam using LV9 so I can't open that example.Also,I have created property node and inside that I selected itemNames to get the values.And then made it as change All to write.But unable to view all the values line by line.
Thankyou.
08-17-2012 06:02 AM
Hi,
Sorry - I should have checked which version you were on! Please find attached a 2009 vi.
08-17-2012 06:42 AM
Hi,
If our listbox is multicolumn then how can it be done
08-17-2012 07:14 AM
Sorry - thought you meant a combo box not a listbox.
Please find attached an example with a multi-column listbox.
You need to build an array of row information, then insert that into a new row in the main array.
Hope this helps.
08-17-2012 07:37 AM
Thanks for helping me