Operator`s manual

Signametrics 48
Value Meaning
SCAN_OKAY
Operation successfully completed.
Negative Value
Error code
Example
SCANSelectChannelCmd(0, 3); // Select a channel.
DMMSetRange(0,300mV) //Set DMM to appropriate range
DMMRead(0, &Val); //Flush a reading or two
While( ! SCANReady(0)); // Wait for Scanner to be ready
DMMRead(0, &reading); // Read input
SCANSetActuationTime
H/W access Command Polled Command
Description Set relay actuation time value
#include “SMX4032.H”
int SCANSetActuationTime(int iScan, double dActuate)
Remarks This function sets the actuation time value to the scanner. The actuation time is the time
it takes the scanner to select and deselect all relays. The default actuation time is set to
10mS. The allowed range is from 0.25ms to 800ms. The resolution is about 0.25ms.
Setting Actuation time below the relay specifed Bounce-Time could result in premature
measurement with an open or unsettled relay.
Parameter
Type/Description
iScan
int Identifies the Scanner. Numbered starting with zero.
dActuate
double Sets the actuation time. Allowed value is between 0.25ms to
800ms.
Return Value The return value is one of the following constants.
Value
Meaning
SCAN_OKAY
Function succeeded.
Negative Value
Error code
Example status = SCANSetActuationTime(0, 0.05); // Set to 50ms
SCANSetChannelRelay
H/W access Command Polled Command
Description Close or open a channel relay.
#include “SMX4032.H”
#include “ScanUser.H”
int SCANSetChannelRelay(int iScan, int iState, int iChan)
Remarks This function provides means to close or open individual channel relays while the
Scanner is in the Universal configuration. Issuing this command causes a single relay to
open or close, with an actuation time of tActuation. In the Universal configuration,