Defines the interface to be implemented by user script, so that it can be called from
VisionPro at the appropriate time. Normally the user script will inherit the
CogJobBaseScript class rather than implement ICogJobScript directly.
Namespace: Cognex.VisionPro.QuickBuildAssembly: Cognex.VisionPro.QuickBuild.Core (in Cognex.VisionPro.QuickBuild.Core.dll) Version: 65.1.0.0 (65.1.0.0)
Syntax
The ICogJobScript type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AcqFifoConstruction |
Called when a new fifo is assigned to the job. This will typically occur either
when the "Initialize Acquisition" button is pressed on the "Image Source" control,
or when restoring from a .VPP file. This function can be used to register for
events on the fifo, or to perform custom configuration for the fifo.
| |
| Initialize |
Called when the script is initialized by VisionPro. Any one-time initialization should
be performed here.
| |
| PostAcquisitionRefInfo |
Called immediately after an acquisition has been completed.
| |
| PreAcquisition |
Called just before a new acquisition begins, and allows custom setup to be performed
on a per acquisition basis. This function is not called for auto or free
run trigger models. To ensure no acquisitions are in progress when this function is
called, the "Number of Software Acquisitions Pre-queued" setting in the Job
Configuration should be set to one.
|
See Also