882 Video Test Instrument User Guide (Rev. A.35) 163
WaitForKeyPress
Class Front Panel
Description Delays program execution until a soft key is pressed. Optional argument indicates desired
timeout in milliseconds. Void argument or zero will result in wait for ever. Returns a value
representing the key pressed; one of the following:
QD_KEY_LEFT_1
QD_KEY_LEFT_2
QD_KEY_LEFT_3
QD_KEY_LEFT_4
QD_KEY_RIGHT_1
QD_KEY_RIGHT_2
QD_KEY_RIGHT_3
QD_KEY_RIGHT_4
Command syntax sc.WaitForKeyPress(void)
sc.WaitForKeyPress(UINT32)
Return type QDKeyId
Example refer to example program testapi.cpp.
Related commands Write(), ClearLCD()