Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Dio with PCI 1424

Solved!
Go to solution

Hello friends, I have a question cause I need to know what hardware I need to buy.

 

I have a PCI1424 frame grabber with a DALSA CA-D1 256A camera, this works really really fine and fast.

But I need to trigger the acquisition of the images with the activation of a optic sensor.

 

I have the optic sensor, and I can setup the IMAQ software for waiting for a signal in the RTSI bus to start acquisition.

 

My question is:

 

What hardware I need to buy to connect the optic sensor  to enter the signal(object in front of the sensor) into the computer?

I guess is some DIO card with a RTSI bus, then I would connect the RTSI bus of the DIO card with the RTSI bus of the 1424 frame grabber to redirect the signal through the RTSI bus.

 

What hardware I need to buy that can redirect the signal of the sensor to the RTSI bus of the 1424 frame grabber?

 

Thank you all.

Frank

 

 

 

 

0 Kudos
Message 1 of 6
(3,955 Views)
Solution
Accepted by topic author frank_1424

Hi frank_1424

You can actually trigger the acquisition in the way you describe without buying anything at all.  The 1424 has four trigger lines on the 100 pin connector.  If you look at page 3-2  of the User Manual you can see that these are pins 95-98.  You should be able trigger off of these lines.  If you do not want to dig into your cable then yes a simple DIO card will work for you.  If you can give me a little more information I can make a recommendation for you.  What else would you be using this card for besides just triggering your acquisition or is this all you would want from the card?

Message Edited by Adam_H on 10-09-2008 08:48 AM
Adam H
National Instruments
Applications Engineer
Message 2 of 6
(3,932 Views)

Hi Adam

 

Thank you very much for your answer!!. Thats what I need to know. 

 

I have the IMAQ D100DAL cable and, in effect, this cable has a connector for the trigger signals.

 

I had a doubt if I could send the trigger signals throught this connector but now I see I can.

 

Please one more question, to be sure:

 

What can I do  to activate the trigger?, can I plug the trigger line (for example Ext trigger0) with Ground in the connector?

These would generate the signal to the frame grabber?

 

I have a optic sensor WT250-S142 with a relay.What can I do to generate the trigger signal?

Or do I need to send a 5V pulse into the trigger line?

 

 

I need to connect the sensor to detect and inspect bottles. I have everything working and I made the analysis with IMAQ Vision CVI and C++Builder

By connecting the sensor is the only thing I need to finish my project.

 

Thanks for your attention!

Frank

 

 

 

 

 

 

 

 

 

0 Kudos
Message 3 of 6
(3,923 Views)

Hi frank_1424,

 

The external trigger lines will take a TTL signal (your 5V). Is this the output your sensor gives? If the sensor gives you a differential signal you would tie negative to ground on the card. If not what type of signal dose it output?

Adam H
National Instruments
Applications Engineer
0 Kudos
Message 4 of 6
(3,907 Views)

Hi Adam

 

Yes, the sensor just opens or close a circuit. 

I can connect to this circuit from 5V to 240 V and this will be interrupted or not.

 

I will connect a 5V output between EXT-trigger0 and Ground in the trigger connector and this will generate the trigger I need.

 

I will take precautions like putting optocouples to ensure that the voltage never is bigger than 5V.

 

One more question:

Doesn't matter how long I maintain the 5V in the trigger line?

Since the card just detect the rising edge, guess it will be no damage to the card if I maintain the 5V in the input trigger line for a few seconds or more?

 

Thank you for your help.

Frank

 

 

 

 

 

 

 

0 Kudos
Message 5 of 6
(3,900 Views)

Hi Frank_1424

 

This is Adam from National Instruments. You should not have to tie the 5V to the ground on the card. I am not sure the exact behavior this will result in but it will most likely not accomplish what you are looking for. You only need to connect to the ground if you are using a differential signal and it does not appear that you are. You are correct in your assumption that there is nothing wrong with letting the signal stay high for a few seconds. This will not damage anything.

Adam H
National Instruments
Applications Engineer
0 Kudos
Message 6 of 6
(3,859 Views)