LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Listbox for displaying status

Hi, is it possible to pass a 1D array of string data to a listbox for displaying status. I would like to turn the row selection off as well, is this possible via a property node. I need to keep track of status data in my frontpanel and I thought using a listbox would be nice since since it has scroll bars as well. Maybe there is a better way to do this, not sure. I'd prefer not to just use a string control since I need scrollbars and I need to monitor the size of data in the status window for memory purposes.

 

Thanks in advance.  

0 Kudos
Message 1 of 3
(2,552 Views)

Have you considered using a table instead?  It displays a 2-D array of strings and might be more appropriate for your use case than a listbox.

0 Kudos
Message 2 of 3
(2,545 Views)

 

QRP wrote:

Hi, is it possible to pass a 1D array of string data to a listbox for displaying status.


 

Yes,The ItemNames property is a string array and this is what you write to populate the listbox. Just write click on the listbox and select Create>Property Node. Right click on the property node select Properties>Item Names. Right click on it again and select Change to Write.

 

 

 

 

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 3 of 3
(2,529 Views)