Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

USB port communication

Hi 

 

I have built a visual inspection using Labview API this application show me if the objects analyzed are Correct o Incorrect, "Pass" or "Fail". I want to know if is it possible use the signal True or False to communicate with the USB port to use this signal to light on a green LED for Pass and a red LED for Fail. I have no idea how to use output signals i have never done this before. If anyone has some example code of this would be great.

0 Kudos
Message 1 of 5
(3,503 Views)

How are you communicating with the LED instrument on USB? Is there an interface/protocol provided by the manufacturer?

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 5
(3,497 Views)

Sorry but i didin't say that i would use the USB port with a USB/Serial conversor, so i would build a simple eletronic circuit using LEDs.

What want to know is, if is it possible to make something similar to this.

 

Thaks

0 Kudos
Message 3 of 5
(3,494 Views)

Ofcourse it's possible. There are multiple ways of doing it. One way you can do this is: Use a USB-6008, to output a digital signal (it has 12 DIO) to your circuit when the item is a 'Pass'. You will need to use the DAQmx API for this. Again, examples are provided in LabVIEW.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 4 of 5
(3,492 Views)

You said there is multiple ways of doing that, i am new in this field. If you list the other options would be great, must be a easy solutions because i am short of money and time.

Thanks for your support

0 Kudos
Message 5 of 5
(3,488 Views)