4.6
PIO Subsystem
4-11
4.6.
PIO Subsystem
4.6.1. BisPioOut
•
Function name long BisPioOut
•
Usage
Outputs data to the parallel output port. (Negative logic)
•
Argument
[IN] long lngPID
// Packet ID (Specifies the value obtained
// by BisOpenPacket).
long IngData
// Data to output.
•
Return value
Normal (0:BIS_TRUE) / Error (1:BIS_FALSE)
•
Description
Outputs the data specified for the lngData argument to the parallel output port.
4.6.2. QryPioIn
•
Function name long QryPioIn
•
Usage
Inputs data from the parallel input port. (Negative logic)
•
Argument
[IN] long lngPID
// Packet ID (Specifies the value obtained
// by BisOpenPacket).
[OUT] long *lngData // Data to input.
•
Return value
Normal (0:BIS_TRUE) / Error (1:BIS_FALSE)
•
Description
Inputs the data specified for the lngData argument from the parallel input port.