LabWindows/CVI

Content Type
Programming Language
Current manual

outp

outp

char outp (short portNumber, char byte);

Purpose

Note Note  This function is obsolete.

Writes a byte to a port.

Note Note
  • If you include this function in your program, the program will require administrator privileges to run.
  • outp 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 byte is written.
byte char Byte to write.

Return Value

Name Type Description
byteWritten char Byte written to 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

inpd

Next

outpw

Previous

inpd

Next

outpw