Operator`s manual
55 Signametrics
Description Test a channel relay for integrity.
#include “SMX4032.H”
int SCANTestChanIntegrity(int iSca, int iChan)
Remarks This function tests a single channel relay. The procedure closes a single relay, waits for
tActuation, and then checks that both contacts are closed. Next it opens the relay, waits
for 1/2 of tActuation, and then checks if the relay is open. A bounce following contact
closure and opening is not verified. This test operation is fast, but it is very thorough. Use
the SCANTestChannelRelay and SCANTestConfigRelay operations for a more
comprehensive test. The test connector must be in place to perform this test. Following
the completion of this test, the scanner is left in the Disabled configuration.
Parameter
Type/Description
iScan
int Identifies the Scanner being addressed.
iChan
int Identifies the Channel relay to be tested (1 to 32)
Return Value The return value is one of the following constants.
Value
Meaning
SCAN_OKAY
Operation successfully completed.
Negative Value
Error code
Example SCANTestChanIntegrity(0,1); // test Chan1 relay
SCANTestChannelRelay
H/W access Command Polled Command
Description Test a channel relay.
#include “SMX4032.H”
#include “ScanUser.H”
int SCANTestChannelRelay(int iScan, int iChan, doulbe * lpdBounce)
Remarks This function tests a single channel relay. Its diagnostics include excessive bounce and
open and short failures. If no failure, the Actuation time of the relay, including bounce
time, lpdBounc), is returned. This value maybe used to fine-tune the Scanner for
maximum switching performance by setting the Actuation time using
SCANSetActuationTime. The Channel parameter can be a value between 1 and 32. The
SMX40L test connector is required to execute this procedure. Following the completion
of this test, the Scanner is left in the Disabled configuration.
Parameter
Type/Description
iScan
int Identifies the Scanner being addressed.