Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Output a pulse through NI USB 6211 board

Hi,

 

I am using NI Vision Builder AI 3.6 and am trying to output a pulse through NI USB 6211 board. Basically I need to send an output from the board to trigger a solenoid. This is how my program works:

A camera continuously takes in a video feed.

I detect a pattern in that feed. (usually in or less than a second)

I output a trigger to the solenoid.

I loop back to detecting pattern

 

Currently what I am doing is sending a output to the digital line, however, the problem is that once I set the output of the digital line to be high, it stays high and does not reset itself. So I have to manually reset it right after setting it to be high, since I need only a trigger and timing is very crucial. This is not working very well since, my output is set high and low so fast that its not detected by the solenoid, and if I try to create delays than the camera stops working correctly.

 

I was wondering if there is instead a way for me to create a trigger somehow, since that is all I need. Please keep in mind that I am using Vision Builder and not LabView. I was wondering if using Analog output instead would solve the problem, but am not sure.

 

Any help given would be appreciated

Thank you

 

0 Kudos
Message 1 of 2
(3,610 Views)

Hi,

 

There is no step in Vision Builder for Automated Inspection that uses the NI-DAQmx driver. You could use the Run LabVIEW VI step is used to output a pulse from the USB-6211, if you have access to LabVIEW, provided you setup a VI to perform this operation. How are you currently sending an output pulse on the digital output of the 6211?

Vivek Nath
National Instruments
Applications Engineer
Machine Vision
0 Kudos
Message 2 of 2
(3,586 Views)