# Inspection Results Attributes

When an image is acquired as a result of an acquisition Acquisition is the process or result of the vision system acquiring a new image. trigger, it is placed in a queue for inspection. Once the inspection is completed, the Inspection Completed bit is toggled.

The BufferResultsEnable attribute determines how inspection results are handled in the Vision Object. If the BufferResultsEnable attribute is set to False, then the inspection results are immediately placed into the InspectionResults attribute.

If the BufferResultsEnable attribute is set to True, then the previous inspection results remain in the InspectionResults attribute until they are acknowledged by setting the InspectionResultsAck attribute to True. Once the Results Valid bit is cleared, the InspectionResultsAck attribute needs to be set to False to allow new results to be placed in the InspectionResults attribute. You can use this to establish a handshake for obtaining results between the Vision Object and the client.

## Behavior of InspectionStatusRegister

Inspection Status Register Bit | Bit Name | Results if Buffering is Disabled | Results if Buffering is Enabled
--- | --- | --- | ---
0 | Reserved | Not implemented, reserved for future use.
1 | Inspection Completed | This bit is toggled when an inspection is completed. It is guaranteed to be toggled after the Inspection Count, Inspection Result Code, Inspection Results, or Job A job is a user-configured program in In-Sight Spreadsheet consisting of functions and designed for specific applications. You can create and edit jobs using the In-Sight Spreadsheet interface, and load them on a vision system for deployment in a live environment. Pass bits are sent to the PLC A Programmable Logic Controller is a ruggedized computer that you can use for automating processes or even an entire production line..
2 | Results Buffer Overrun | Always cleared. | Set when inspection results could not be queued because the client has failed to acknowledge a previous result. Cleared when the inspection result is successfully queued.
3 | Results Valid | Set when the Inspection Count, Inspection Result Code, Inspection Results, or Job Pass bits are set. The bit is cleared when the Inspection Result Ack bit is set. Note: If job processing is enabled to occur in overlapped mode, either the Buffer Results Enable bit must be enabled, or the Inspection Completed bit must be used to latch the inspection results.
7 | Job Pass | Set when an inspection is completed and the Job Pass/Fail cell indicates a pass. Otherwise, it remains cleared. Note: The Job Pass bit is valid prior to toggling the Inspection Completed bit. | Set when new results are placed in the InspectionResults attribute, and the Job Pass/Fail cell indicates a pass for that result set. Otherwise, it remains cleared. The state does not change until the results are acknowledged by setting the InspectionResultsAck attribute to True, at which time the Job Pass bit is cleared. Note: The Job Pass bit is valid prior to the Results Valid bit being set.