Base class which user script will override.
Inheritance Hierarchy
Cognex.VisionPro.QuickBuild CogJobBaseScript
Namespace: Cognex.VisionPro.QuickBuild
Assembly: Cognex.VisionPro.QuickBuild.Core (in Cognex.VisionPro.QuickBuild.Core.dll) Version: 79.0.0.0 (79.0.0.0)
Syntax
The CogJobBaseScript type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogJobBaseScript |
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.
| |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Initialize |
Called when the script is initialized by VisionPro. If you override this function, you
must make sure to call the base class' Initialize function. Any one-time initialization
should be performed here.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| PostAcquisition |
Called immediately after an acquisition has been completed.
| |
| PostAcquisitionRef |
Called immediately after an acquisition has been completed.
| |
| 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.
| |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| job |
A stored reference to the CogJob which is hosting this script.
|
See Also