NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Wait for a key-input

Hi!
 
Is there any expression that can check if the Left_mouse_button is clicked?
Or maybe, make a loop where it waits for the left mouse button to be clicked.
It doesn't have to be a mouse click, a keyboard input is also helpful.
 
 
Is this possible?
 
 
Thanx
 
 
 
Best regards
 
Selvakumar C
0 Kudos
Message 1 of 3
(3,287 Views)
Hi,
 
That applies to the Expression Control and intended in the OI.
Basically you would have to jump of TestStand into some code mudule and monitor your key press.
 
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 3
(3,274 Views)
Hi Selvakumar,

Ray is correct.  Without a Operator Interface or a code module, you would not be able to use the KeyPress Event. 

If you goal is to have your sequence pause until the user presses a button to continue, placing a message pop-up step in your sequence would accomplish this.
Jessica
National Instruments
Product Support Engineer
0 Kudos
Message 3 of 3
(3,185 Views)