Operator`s manual
45 Signametrics
Description Open all channel relays.
#include “SMX4032.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. This function is not applicable while in Universal or Disabled configurations.
When in the Universal configuration, use the SCANSetChannelRelay and
SCANSetConfigRelay functions to open and close relay. Selecting the Disabled or
Universal configurations using SCANSetConfig will open all relays, including
configuration relays.
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.