Admin Production ni-theme
Current Publication

outpw

LabWindows/CVI

outpw

short outpw (short portNumber, short word);

Purpose

Note Note  This function is obsolete.

Writes a word to a port.

Note Note
  • If you include this function in your program, the program will require administrator privileges to run.
  • outpw 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 to which the word is written.
word short Word to write.

Return Value

Name Type Description
wordWritten short Word written to the port.

Additional Information

Library: Utility Library

Include file: utility.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later