LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

disable string after not moving mouse for 10 sec?

Hello,

I'm new using labview and I don't know how to do this simple timing out, I have a vi that when the mouse enters the string control it enables it and you can type and when the mouse leaves it disables it. I have no clue how to make it so that if none of this events happen within a period of 10 sec, the string control is disable and no matter what I do changes this fact. Any ideas on how to make this happen?? I have included my vi

 

THANK YOU!!!

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

Sorry wrong vi.

 

this is the correct one

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

Hello,

 

when using event structure you MUST use a while outside of it. But between both you shouldn't put any code (like your read file, etc).

 

I've deleted all the rest of your code. And now it enables string control when the mouse it's over the string control and disables it when it leaves (it was your code).

 

If you want the rest of the code to be triggered by event, add more events. If not, create another while parallel to the current and put there your code.

Software developer
www.mcm-electronics.com





PORTUGAL
Message 3 of 3
(2,602 Views)