Operator`s manual

55 Signametrics
Description Set the RTD parameters.
#include “SM4040.H”
#include “ScanUser.H”
int SCANTestConfi
gRel
ay(int iScan, int iConf, double * lpdBounce)
Remarks This
function tests a single configuration or tree relay. Its diagnostics include excessive
bounce and open and short failures. If no failure, the Actuation time of the relay,
including bounce time, is stored at a location pointed to by dtActuate. This value can be
used to fine-tune the Scanner for maximum switching performance by setting the highest
Actuation time using SCANSetActuationTime. The iConf parameter can be set to one
of; AtoA, BtoA, BtoB, CtoA, CtoC, DtoA, DtoC or DtoD for the SM4040 and SM4042.
For the SM4020 and SM4022, the iConf parameter is limited to AtoA, BtoA, or BtoB.
See the ScanUser.h file for definitions. The test connector is required to execute this
procedure. Following the completion of this test, the Scanner is set to the Disabled
configuration.
Parameter
Type/Description
iScan
int Identifies the Scanner being addressed.
l
pdBounce
Doulbe * Poin
ter where the bounce time value is to be saved.
iConf
int Identifies the configuration/tree relay to be tested.
R
eturn Value Integer error code.
Value
Meaning
SCAN_OKAY
Operation successfully completed.
Negative Value
Error code
Example
SCANTestConfigRelay(0, BtoA, &t); // test the BtoA relay
SCANTrigAutoScan
H/W access Command ; Polled Command ;
Description Set Scanner for Triggered Auto Scan operation.
#include “SM4040.H”
int SCANTrigAutoScan(int i
Scan, int iPoints)
Remarks This is th
e externally triggered version of SCANAutoScan operation. Following
acceptance of this command, the Scanner enters a wait state, whereby it waits for a
trigger edge to start an Auto Scan operation. Trigger edge is whatever was previously
selected using the
SCANTriggerOutState
. Being a polled operation, it requires
SCANReady to return TRUE as indication of completion. Do not issue new command
util SCANReady returns TRUE. An exception is the SCANAbort, which terminates this
operation. Keep in mind that the last channel selected is left closed. See SCANAutoScan
for details.
Parameter
Type/Description
iScan
int Identifies the Scanner being addressed.