33
Signametrics
End Sub
Private Sub Option6W_Click()
ShowFault SCANSetConfig(0, SixWire)
End Sub
5.4 Windows DLL Default Modes and Parameters
After initialization, the Windows DLL default modes and parameters on your Scanner are set up as follows:
Configuration is set to Disabled
Trigger output is disabled
Actuation time is set to 10ms
Step time is set to 100ms
5.5 Using the SMX4032 DLL with LabWindows/CVI
When using the SMX4032 DLL with LabWindows/CVI, you should read the
LabWin.txt
file included with the
software diskette.
NOTE: Although these measurement functions use LabWindows/CVI® and the LabWindows/CVI(R)
Test Executive, they are not necessarily coded to LabWindows® instrument driver standards.
5.6 Windows Command Language
The following section contains detailed descriptions of each function of the Windows command language. Those
commands that pertain to only the SMX4032 are indicated. Most functions return an error code. The code can
either be retrieved as a string using
SCANErrString()
function, or it may be looked up in the SMX4032.H header
file.
SCANAbort
H/W access Command
Polled Command
Description
Abort current operation.
#include "SMX4032.H"
int SCANAbort
(
int
iScan
)
Remarks
This function aborts in process, polled function such as:
SCANAutoScan()
,
SCANTrigScan()
,
SCANTrigAutoScan()
etc.. It terminates the current operation and
prepares the Scanner ready to accept a new command.
Parameter Type/Description
iScan
int
Identifies the Scanner. 0 for the first scanner.
Return Value
The return value is one of the following constants.
Value Meaning
SCAN_OKAY
Operation successfully terminated
Negative value
Error code.
Example
SowFault(SCANAbrt(0)); // VisualBasic application
SCANAutoScan
H/W access Command
Polled Command