LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Listbox first item getting disabled automatically

Hi,

I am populating a listbox from an excel sheet using 'itemnames' property node.

The items in the listbox are appearing OK , but the first item(index 0) seems to be greyed out & cannot be selected.

What can be the issue?

Thanks.

0 Kudos
Message 1 of 5
(2,676 Views)

hi and welcome to the forum.

it is unfortunately hard to just guess what your problem might be.

please have a look at this short intro (https://forums.ni.com/t5/Community-Documents/Unofficial-Forum-Rules-and-Guidelines/ta-p/3536495)

and then try to fill out your post a little more.

 

regards


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 Kudos
Message 2 of 5
(2,650 Views)

Sorry for the late reply.

I am populating the list box by the following subVI code:

The name_array terminal of the subVI is connected to  'item names' property node of the list box.

All the 90 items are appearing in the list box but the first item(Item 0) cannot be selected as it is never highlighted by the cursor.

screenshot1.png

0 Kudos
Message 3 of 5
(2,633 Views)

Post a VI where the data is saved into the listbox by default.

0 Kudos
Message 4 of 5
(2,617 Views)

shantanu@india wrote:

Sorry for the late reply.

 

screenshot1.png


That's just a picture. We cannot run that, look at the front panel, or even see what's in the other cases. I also don't see any "listbox" anywhere. How exactly is this related to the original question? (There are also some weird things: No need to close that reference and you should use path operations (build path, etc.) instead of operating on paths as strings)

 

Please attach your actual VI containing the listbox!

0 Kudos
Message 5 of 5
(2,610 Views)