CogJobBaseScript MethodsCognex VisionPro 9.8 SR1

The CogJobBaseScript type exposes the following members.

Methods

  NameDescription
Public methodAcqFifoConstruction
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.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
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.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPostAcquisition
Called immediately after an acquisition has been completed.
Public methodPostAcquisitionRef
Called immediately after an acquisition has been completed.
Public methodPostAcquisitionRefInfo
Called immediately after an acquisition has been completed.
Public methodPreAcquisition
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.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also