National Instruments 320682C Musical Toy Instrument User Manual


 
Utility Library Chapter 8
LabWindows/CVI Standard Libraries 8-42 © National Instruments Corporation
/* your other DETACH code */
CloseCVIRTE ();
}
return 1;
}
Note: The prototypes for
InitCVIRTE
and
CloseCVIRTE
are in
cvirte.h
, which is
included by
utility.h
.
inp
char
byteRead = inp (
int
portNumber);
Note: This function is available only on the Windows versions of LabWindows/CVI.
Purpose
Reads a byte from 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.
Return Value
byteRead
char Byte read from port.
inpw
short
wordRead = inpw (
int
portNumber);
Note: This function is available only on the Windows versions of LabWindows/CVI.
Purpose
Reads a word from 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.