Signametrics
44
Description
Open all channel relays.
#include “SM4040.H”
int
SCANOpenAllChannels
(
int
iScan
)
Remarks
This function opens all channel relays. It does not effect the configuration of the Scanner.
It may be used following one of the scanning operations, to make sure all channels are
left open. Or it can be used any time when it is necessary to open all channels. It is not
operational while in
Disabled
or
Universal
configurations
Parameter
Type/Description
iScan
int
Identifies the Scanner. Scanners are numbered starting with zero.
Return Value
The return value is one of the following constants.
Value
Meaning
SCAN_OKAY
Operation successfully completed.
Negative Value
Error code
Example
int active = SCANOpenAllChannels(0);
SCANOpenPCI
H/W access Command
;
Polled Command
Description
Open the PCI bus for the specified Scanner. Not for user application.
int
SCANOpenPCI
(
int
nScan
)
Remarks
This function is limited for servicing the Scanner. It has no use in normal operation.. See
also
SCANClosePCI()
function.
Parameter
Type/Description
nScan
int
Identifies the Scanner number.
Return Value
Integer error code.
Value
Meaning
SCAN_OKAY
Operation successfully completed.
Negative Value
Error code
Example
int status = SCANOpenPCI(0);
SCANReady
H/W access Command
;
Polled Command
Description
Return the ready state of the Scanner following a polled operation.
#include “SM4040.H”
int SCANReady
(
int
iScan
)
Summary of Contents for SM4020
Page 61: ...Signametrics 60...