LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulate mouse clicks inLabview

Solved!
Go to solution

Hi,

 

I have a standalone driver that needs to be called many times in another VI, I don't know how to simulate mouse clicks in Labview to simulate a user running this VI. (This VI has a loop inside it, so it will run until a specific key is pressed)

 

Thanks

0 Kudos
Message 1 of 4
(2,717 Views)

Search for 'simulate mouse click labview' on NIs website on top.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 4
(2,712 Views)
Solution
Accepted by topic author Roxanne

If you need to programatically run the VI use the Run VI method of VI server. If you need to simulate users pressing buttons on that VI then use user events.

 

Attached is an example of a main VI that calls a SubVI and sends events to it. Open the SubVI front panel but do not run it. Open the Top Level VI and run it. Pressing the OK button on the Top Level or the SubVI will increment the numeric indicator on SubVI. Same with the stop button.

=====================
LabVIEW 2012


Download All
0 Kudos
Message 3 of 4
(2,702 Views)

Thanks a lot.

0 Kudos
Message 4 of 4
(2,691 Views)