LabWindows/CVI

Content Type
Programming Language
Current manual

inpw

inpw

short inpw (short portNumber);

Purpose

Note Note  This function is obsolete.

Reads a word from a port.

Note Note
  • If you include this function in your program, the program will require administrator privileges to run.
  • inpw requires the LabWindows/CVI low-level support driver. LabWindows/CVI loads the driver at startup if it is on disk. You can check whether LabWindows/CVI loaded the driver at startup by calling CVILowLevelSupportDriverLoaded.

    The low-level support driver is not supported on 64-bit systems. Only applications running with administrator privileges on 32-bit systems can load the low-level support driver.
Caution  The Windows SDK also contains a function with the same name. Include windows.h before including utility.h to ensure that there are no compilation errors as a result of this naming conflict. Define the SDK_CONFLICT_PRIORITYSDK_CONFLICT_PRIORITY macro to force LabWindows/CVI to use the Windows SDK implementation of this function.

Parameters

Input
Name Type Description
portNumber short Port from which to read the word.

Return Value

Name Type Description
wordReceived short Word read from the port.

Additional Information

Library: Utility Library

Include file: utility.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later

Was this information helpful?

Previous

inp

Next

inpd

Previous

inp

Next

inpd