AcquireState Result
Runtime only
Applies To
Vision Sequence
Description
The AcquireState result is used to determine if a picture has been taken for a sequence after the external trigger becomes active.
To use the external trigger (strobe), set RuntimeAcquire property of the sequence to Strobed.
Usage
VGet Sequence.AcquireState, var
- Sequence
- Name of a sequence or string variable containing a sequence name.
- var
- Integer variable that will contain the value of the result.
Values
- 0 Picture has not been taken.
- 3: Image has been acquired.
Remarks
After calling VRun for a sequence to use the external trigger (strobe), the SPEL+ program can wait for the external trigger input becomes active (strobe flashes) and the AcquireState to become 3 before further vision processing can continue. If the program does not wait for AcquireState to become 3, then executing vision commands for the same sequence will wait automatically for AcquireState to become 3 before executing.
See Also
RuntimeAcquire Property