取消
顯示結果 
搜尋替代 
您的意思是: 

Simulate mouse clicks inLabview

已解決!
前往解決方案

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 積分
1 條訊息(共 4 條)
3,579 檢視

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

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 積分
2 條訊息(共 4 條)
3,574 檢視
解決方案
由主題作者所接受 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


下載全部
0 積分
3 條訊息(共 4 條)
3,564 檢視

Thanks a lot.

0 積分
4 條訊息(共 4 條)
3,553 檢視