LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"Mouse Down" & "Mouse Down?" in Event Structure...

Here's a quick mod to Altenbach's VI. I haven't thoroughly tested it, but I think it should work.

___________________
Try to take over the world!
0 Kudos
Message 11 of 13
(930 Views)
Do you want ot to ramp to full brightness/darkness when you press long, or do you want the ramping to stop as soon as the button is released?

Attached is my interpretation (LabVIEW 7.0) using a simple event structure:

OFF state:
press for <200ms -> ON
press for >200ms ->ramp up

Not OFF state:
press for <200ms -> full reverse
press for >200ms -> ramp reverse

If you want slightly different logic, I'm sure you can modify it. The switch is set to "switch until released".
Message 12 of 13
(1,142 Views)
Hi~
Thanks for all reply!

Your solutions give a great help for me!
I get more idea while using event structure in LabVIEW!

Thank you very very much!
0 Kudos
Message 13 of 13
(897 Views)