Using an Encoder to Trigger a IEEE-1394 Camera using Vision Builder for AI and the CVS Primary Software: Vision Builder for Automated InspectionPrimary Software Version: 3.5 Primary Software Fixed Version: N/A Secondary Software: N/A Hardware: Image Acquisition (IMAQ)>>Compact Vision System
Problem: How do I trigger my IEEE-1394 camera from an encoder through Vision Builder for AI and a Compact Vision System? Solution: The Compact Vision System (CVS) uses ISO Input 6 for phase A of a quadrature encoder and ISO Input 7 for phase B. These signals can be routed to the CVS using a breakout block such as the CVS I/O Terminal Block. The IEEE-1394 camera must have a trigger input, which can be connected to either of the Trigger Out lines on the CVS. Within VBAI, use a NI-IMAQ I/O Pulse step to generate a pulse on the selected trigger output and select Encoder Counts as the Timebase. The delay allows the user to specify how many encoder counts to wait between triggers. NOTE: Remember that a quadrature encoder sends four pulses for each step. After the NI-IMAQ I/O Pulse step, configure the image acquisition step for the inspection to acquire when receiving a trigger pulse by selecting the Acquire Image (IEEE 1394) step and switching to the Trigger tab. Enable triggering by checking the Triggered Acquisition box and selecting the trigger mode, timeout, polarity, and control parameters. Related Links: Attachments:
Report Date: 02/19/2008 Last Updated: 02/25/2008 Document ID: 4IIID4DT |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
