Chapter 8 Utility Library
© National Instruments Corporation 8-43 LabWindows/CVI Standard Libraries
Parameters
Input portNumber integer The port.
Return Value
wordRead short Word read from port.
InStandaloneExecutableint standalone = InStandaloneExecutable(void);
Purpose
Returns a non-zero value if your program is running as a standalone executable. If your program
is running in the LabWindows/CVI development environment, a zero is returned.
Return Value
standalone integer 1 = Program is running as a standalone executable.
0 = Program is running as in LabWindows/CVI.
KeyHitint result = KeyHit (void);
Purpose
Indicates whether the user has pressed a key on the keyboard.
Note: This function only detects keystrokes in the Standard I/O window. It does not detect
keystrokes in windows created with the User Interface Library or in the console
window in a Windows Console Application.
Parameters
None
Return Value
result integer Indicates if a key has been
pressed.