LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I disable the mouse during an applicaion?

How do I disable the mouse during an application?
If it is moved then it interrupts the movement of a motor that runs simultaneously.
0 Kudos
Message 1 of 5
(3,189 Views)
If you are using LabVIEW 7.0 you can use the "Set Cursor Busy" to disable mouse events in LabVIEW. But, I am not sure if this is exactly what you are asking for.
0 Kudos
Message 2 of 5
(3,189 Views)
We are using LV 6.1 and we would like to disable the mouse during a VI is running...
0 Kudos
Message 3 of 5
(3,189 Views)
You might put a transparent decoration on the front panel so that using the mouse is useless. The idea is to finish your VI, put a decoration (one of the squares) on the front panel and make it big. If there are any controls that you can still see, select the decoration and move it to the front (look on the menu bar of the VI on the same row as the run arrow). You should not see any controls. Now use the paint brush tool (from the tools palette) and color the square transparent. You may need to use a decoration from the classic control palette to get a completely transparent effect. Now when you run the VI, the user can click but nothing will happen. The user can still navigate with the keyboard though.
0 Kudos
Message 4 of 5
(3,189 Views)
> We are using LV 6.1 and we would like to disable the mouse during a VI
> is running...

There isn't anything built into the LV palettes to do this. This is
probably pretty staightforward using SDK functions. You might try
looking on the MS site.

Greg McKaskle
0 Kudos
Message 5 of 5
(3,189 Views)