09-27-2011 02:08 PM
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
Solved! Go to Solution.
09-27-2011 02:53 PM
Search for 'simulate mouse click labview' on NIs website on top.
09-27-2011 03:58 PM
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.
09-27-2011 06:10 PM
Thanks a lot.