LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Very strange behaviour of table values and event case

Hi all

i'm becoming crazy on my .vi

i want to change the second col values on click from yes to no and from no to yes simply by a click.

The problem is that this changing happens after some clicks on an old position.

Try to click on some "no" on the file that is attached.

Thanks a lot!
Dario
http://www.sd-studio.it - web design agency
0 Kudos
Message 1 of 3
(2,604 Views)
The issue took me a sec to understand but here it is.  You are trying to change the value during the mouse up event.  And you do... however you have just selected that cell in the table.  So LabVIEW is waiting for the user to change the value, and in this case ignoring your change.  All you need to do is add a property node to the end of that sequence that is Key Focus and set it to false
Message 2 of 3
(2,598 Views)
hi evan

you're right

now i've moved the writing into timeout (so out of mouse up event) and added the key focus node and now it is working properly!

tnx a lot
http://www.sd-studio.it - web design agency
0 Kudos
Message 3 of 3
(2,592 Views)