LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change listbox values during run time

Solved!
Go to solution

Hi,

      In the below attached VI.Iam using a listbox which has some values and displaying that listbox values in an array.I can change the listbox values and that change can be viewed in the array.But my aim is to change the values during runtime itself.That is without stoping the VI we can change the values in the listbox and that change has to be reflected in the Array.Can we change it using the property node?please share some suggestions.

 

Thanks.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 1 of 6
(2,935 Views)

Hi danil,

 

select one listbox entry by clicking on it once. Then wait for a second, then click again: now you can edit that entry...

Well, if you would have searched for "listbox edit" here in the forum you would have known that easily too...

 

Don't forget to include a wait function in your example VI - and also don't forget to initialize the shift register!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(2,923 Views)
Solution
Accepted by danil33

right click on your listbox and check mark it "editable cells." at run time..click on cell you want to change, then wait a second and click again...

Message 3 of 6
(2,905 Views)
0 Kudos
Message 4 of 6
(2,901 Views)

Hi,

        Thanks for all the suggestions.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 5 of 6
(2,893 Views)
If the click, wait, click is too slow, there are some workarounds like setting the edit cell property. Search for it on the forums. It will allow you to only click once
0 Kudos
Message 6 of 6
(2,884 Views)