LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Listbox

How is it possible to add every time different text messages in a listbox.So
that will help me to see the previous messages.I want to work actually a
listbox as a log file in the fron panel.
0 Kudos
Message 1 of 2
(2,703 Views)
Jiorgos wrote:

> How is it possible to add every time different text messages in a listbox.So
> that will help me to see the previous messages.I want to work actually a
> listbox as a log file in the fron panel.

Create an attribute node for the listbox and look at the "Item Names"
attribute--it's a 1-D array of strings that define the choices available in the
listbox. Every time a new text message is generated, you'll want to append the
message to the beginning of that array using a Write attribute node and the
Build Array node.

Regards,
John Lum
National Instruments
0 Kudos
Message 2 of 2
(2,703 Views)