08-09-2007 06:13 AM
08-09-2007 07:21 AM
08-09-2007 07:30 AM
08-09-2007 07:33 AM
08-09-2007 08:00 AM
08-09-2007 09:39 AM
08-09-2007 02:39 PM
Look for pane (or control events) they have mouse events.
@WernerGobel wrote:
Hi Nishant,
unfortunately, there is no option for mouse events under <this vi>, only keyboard. Do I have to install an additional package?
Regarding my application:
With the mouse scroll-wheel I want to interactively scale analog output data, i.e.: when I scroll in one direction data for an analog output task is multiplied by a specific value and given to the AO write vi (upscaled), when I scroll in the other direction the data is divided (downscaled).
When I keep the right mouse button pressed and the mouse is moved, an offset is being added to the data corresponding to the length of the mouse move (with the right button pressed).
When the left button is pressed and the mouse is moved, a rotation operation is being done on the data.
I have this implemented using the initialize mouse vis within a continuously running while loop, now I'm rewriting our application and I just realized that it would be very nice, if I could use mouse events just the same as keaboard events can be monitored within an event structure.
Hope I was clear and thank you very much for any help!
08-10-2007 04:38 AM
08-10-2007 01:54 PM