### Digital Outputs

There are three outputs (Output 1, Output 2, Output 3) that can be assigned to report inspection status.

Precautions for Correct Use: Outputs only function when a camera is connected. They do not function in Emulator mode.

Digital Outputs can be configured for all three outputs on the Digital Outputs tab of the Inspection Outputs tool.

##### Inspection Outputs

- Inspection Passed: Activates the output if the inspection passes. The pass state can be connected to any tool in the job for output.
- Inspection Failed: Activates the output if the inspection fails. The fail state can be connected to any tool in the job for output.
- Inspection Done: Pulses the I/O point at the end of each inspection cycle. The length of the pulse is user-configurable. The default pulse length is 10ms.
- Inspection Ready: Activates the output if the inspection is loaded and online, and otherwise deactivates it.

##### Pulse Mode

When an output is connected to the state of a tool or to the overall inspection, you have the option of changing the behavior of the output via Pulse Mode. Output 1 is connected to the "Inspection Passed" state in the example below. This brings up the Mode dropdown menu.

- Latched: This is the default. The output state is set at the end of the inspection cycle, and that state will remain latched until the end of the next inspection cycle when this output is updated again.

- Pulsed: The output state is set at the end of the inspection cycle and a timer is started. When the timer expires, the output is reset to its default state (Off if “Active High” is selected in the State dropdown menu, On if “Active Low” is selected). When Pulsed is selected in the Mode dropdown menu, a new “Pulse Width” parameter becomes visible as shown in the example below. This parameter allows you to set the width of the pulse in milliseconds. Minimum pulse width is 1 millisecond. Maximum pulse width is 10,000 milliseconds (10 seconds).

##### Active State

When an output is connected to the state of a tool or to the overall inspection, you have the option of changing the active state of the output via the State setting.

- Active High: The normal state of the output is open (low), and it transitions to a closed (high) state whenever it is activated.

- Active Low: The normal state of the output is closed (high), and it transitions to an open (low) state whenever it is activated.

##### Camera

- Picture Done: The I/O point is off while the image is being acquired, on when the acquisition is complete.
- Picture Exposed: Turns the I/O point off while the image sensor is being exposed, and on when the exposure is complete. To shorten processing time when operating machines such as indexing machines, it is safe to move your part when the exposure is complete. Note that acquisition is not complete at this point.
- Trigger Overrun: Turns on to indicate an error condition in which the camera has been triggered while already in the process of acquiring an image.
- Process Overrun: Turns on to indicate the error condition in which the camera is being triggered at a rate that is faster than the speed of the inspection. If the camera is triggered and the previous inspection cycle has not completed, a new image will be acquired and that image buffer will be put into a queue until the camera is ready to process it. If the trigger rate is too high, the number of buffers in this queue may steadily increase until the camera eventually runs out of buffers, and this is when a Process Overrun occurs.