gokul Posted February 16, 2011 Report Share Posted February 16, 2011 hi//.....am new to LabVIEW and this website..... i would like to know whether there is any means to detect the motion of mouse and do tasks accordingly.... for example: if am moving mouse upwards some tasks like speeding of motor has to be done... if am moving mouse downwards motor speed has to be reduced.... the example is not the thing i exactly want.... plz...sugeest me.... Quote Link to comment
jcarmody Posted February 16, 2011 Report Share Posted February 16, 2011 Welcome to LAVA. The functions you need are found on the Input Device Control palette. Untitled 1.vi Quote Link to comment
ShaunR Posted February 16, 2011 Report Share Posted February 16, 2011 (edited) And here's the events version (stealing JCarmodys boolean logic ). The advantage of Jcarmdys is that it works anywhere on the screen whereas the events version only works on the FP of the VI that has the code. The events versions only advantage is that it is a little more efficient in terms of CPU. Edited February 16, 2011 by ShaunR Quote Link to comment
gokul Posted February 28, 2011 Author Report Share Posted February 28, 2011 sir i've tried ur code.... working well.... met my expectation..... thank u very much..... but i would like to know how the program works/......[ Welcome to LAVA. The functions you need are found on the Input Device Control palette. sir i've tried ur code.... working well.... met my expectation..... thank u very much..... but i would like to know how the program works/......[ Welcome to LAVA. The functions you need are found on the Input Device Control palette. what s the logic u've used to select LED's... sir i've tried ur code.... working well.... met my expectation..... thank u very much..... but i would like to know how the program works/......[ sir i've tried ur code.... working well.... met my expectation..... thank u very much..... but i would like to know how the program works/......[ Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.