National Instruments 320682C Musical Toy Instrument User Manual


 
Utility Library Chapter 8
LabWindows/CVI Standard Libraries 8-56 © National Instruments Corporation
outp
char
byteWritten
=
outp
(int
portNumber
, char
byteToWrite
);
Note:
This function is available only on the Windows versions of LabWindows/CVI.
Purpose
Writes a byte to a port.
Note:
For you to be able to use this function under Windows NT, the LabWindows/CVI low-
level support driver must be loaded.
Parameters
Input
portNumber
integer The port.
byteToWrite
char The byte to be written.
Return Value
byteWritten
char The byte that was written.
outpw
short
wordWritten = outpw (
short
portNumber,
int
wordToWrite);
Note:
This function is available only on the Windows versions of LabWindows/CVI.
Purpose
Writes a word to a port.
Note:
For you to be able to use this function under Windows NT, the LabWindows/CVI low-
level support driver must be loaded.
Parameters
Input
portNumber
integer The port.
wordToWrite
short The word to be written.
Return Value
wordWritten
short The word that was written.