Operator`s manual

59 Signametrics
Description Set Scanner for trigger driven step scanning.
#include “SMX4032.H”
int SCANTrigScan(int iScan, int iPoints)
Remarks Setup for a hardware-triggered step scanning operation. iPoints is the number of points in
the scan. The ScanList must be pre-loaded prior to issuing of this command. After
receiving this command, the Scanner enters a wait state whereby each selected edge on
the trigger input line, selects the next channel from the scan list table. It begins with
location 0 of the ScanList and scans a total of iPoints. Zero value in scan list opens all
channels, which is used for involving multiple scanners in the scanning process. This
way a single scan can include points from several scanners. Up to 192 point may be set
per scan. This process is completed when iPoints have been canned (iPoints trigger
edges received). This is a polled operation. It is issued, and then monitored for
completion using the SCANReady. It requires SCANReady to return TRUE as
indication of completion. Do not issue new command until SCANReady returns TRUE.
An exception is the SCANAbort, which terminates this operation. See SCANStep and
SCANSetupStep for additional information. Parameters effecting the operation include
the set configuration, the Actuation time, and trigger input polarity and enable state.
Parameter
Type/Description
iScan
int Identifies the Scanner being addressed.
iPoints
int The total number of points in the scan
Return Value The return value is one of the following constants.
Value
Meaning
SCAN_OKAY
Operation successfully completed.
Negative Value
Error code
Example SCANTrigScan(0,150); //150 H/W driver scan operation