Operator`s manual
Signametrics 36
SCANGetActuationTime
H/W access Command Polled Command
Description Return the currently set actuation time.
#include “SM4040.H”
int SCANGetActuati
o
nTime(int iScan, double FAR *lpdAct)
Remarks This fu
nction returns a double floating value that is the currently set relay actuation time
for the selected scanner.
Parameter
Type/Description
iScan
int Identifies the Scanner. Scanners are numbered starting with zero.
l
pdAct
double FAR * Poin
ter where t-Actuation value is to be saved.
Return Value Integer error code.
Value
Meaning
SCAN_OKAY
Operation successfully completed.
Negative Value
Error code
Example double FAR tAct; int i = SCANGetActuationTime(0, &tAct);
SCANGetBusInfo
H/W access Command Polled Command
Description Returns the PCI Bus and Slot numbers for the selected SCANNER.
int SCANGetBusInfo(int nScan, int *bus, int *slot)
Remarks Thi
s
function reads the PCI bus and slot numbers for the selected Scanner. It provides
means to relate the physical location to the nScan value by detecting the location of a
Scanner in the PCI system tree. This function actually scans the hardware rather then
look up the information in the registry.
Parameter
Type/Description
nScan
int Identifies the Scanner. These are numbered starting with zero.
bus
int *
a pointer to integer at which the bus number is stored (0 to 255)
slot
int *
A pointer to an integer where the slot number is stored (0 to
15)
R
eturn Value The ret
urn value is one of the following constants.