41
Signametrics
int
SCANGetStepTime(int
iScan
, double FAR *
lpdTstep
)
Remarks
This function returns a double floating value that is the currently set step time.
Parameter
Type/Description
iScan
int
Identifies the Scanner. Scanners are numbered starting with zero.
lpdTstep
double FAR *
Pointer where the Step time value is to be saved.
Return Value
Integer error code..
Value
Meaning
SCAN_OKAY
Operation successfully completed.
Negative Value
Error code
Example
double FAR Tstep;
int status = SCANGetStepTime(0, &Tstep);
SCANGetTriggerIn
H/W access Command
Polled Command
Description
Read the state of the Trigger Input line.
#include “SM4040.H”
int
SCANGetTriggerIn
(
int
iScan
)
Remarks
This function returns the logic state of the Hardware trigger input line to the Scanner.
Parameter
Type/Description
iScan
int
Identifies the Scanner. Scanners are numbered starting with zero.
Return Value
Scanner hardware code or an error code.
Value
Meaning
0 or Positive value
State of the Trigger inut line.
Negative Value
Error code
Example
int Trig = SCANGetTriggerIn(0);
SCANGetType
H/W access Command
Polled Command
Description
Get the type of the Scanner.
#include “SM4040.H”
Содержание SM4020
Страница 61: ...Signametrics 60...