Signametrics
34
SCANClosePCI
H/W access Command
;
Polled Command
;
Description
Close the PCI bus for the specified Scanner. Not for user applications.
int
SCANClosePCI
(
int
nScan
)
Remarks
This function is limited for servicing the Scanner. It has no use in normal operation. See
also
SCANOpenPCI()
function.
Parameter
Type/Description
nScan
int
Identifies the Scanner number
Return Value
Integer error code.
Value
Meaning
SCAN_OKAY
Operation successfully completed.
Negative Value
Error code
Example
int status = SCANClosePCI(0);
SCANDelay
H/W access Command
Polled Command
Description
Wait for a given time.
#include “SM4040.H”
int SCANDelay
(
double
dTime
)
Remarks
Delay
of
dTime
seconds.
dTime
must be a positive double floating point number between
0.0 and 100.0 seconds.
Parameter
Type/Description
dTime
double
Delay time in seconds.
Return Value
The return value is one of the following constants.
Value
Meaning
SCAN_OKAY
Operation successfully terminated
Negative Value
Error code
Example
SCANDelay(1.2); /* wait for 1.2 Sec */
Содержание SM4020
Страница 61: ...Signametrics 60...