LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I simulate a mouse click(left click) on "OK" button on front pannel?

请问如何实现用LV 控制的方式去模拟MOUSE在前面板点击"OK" button的动作.谢谢

请看附件

0 Kudos
Message 1 of 5
(3,514 Views)
0 Kudos
Message 2 of 5
(3,491 Views)
Thanks, I am now have further question, how can LV active an Event ("testtrigger.value.change") in attached example? when running the VI I saw testrigger value was changing but event was not actived, the event can be actived by click operation from front pannel which is not my expect. I want to have LV active the event automatically. pls help me on this!!
0 Kudos
Message 3 of 5
(3,473 Views)

Write to the Value (Signalling) property node of that control.

One problem you would have with this screen shot is that the 3 Value events would be queued up for the event structure for every while loop iteration, while only one event would be handled with the event structure since they are all in the same loop.  The program would eventually crash and you'd have no way of stopping it without aborting it.

Message Edited by Ravens Fan on 03-28-2009 01:16 AM
0 Kudos
Message 4 of 5
(3,455 Views)

 


@ZJ.Gu wrote:

8 quot;

0 Kudos
Message 5 of 5
(2,636 Views)