Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring RTSI on the PCIe-1429

Solved!
Go to solution

Hi

I have a Teli camera (CSC12M25BMP) and a PCIe-1429 frame grabber. I would like to configure the frame grabber so that certain signals that are currently sent through the CameraLink cable are sent through the RTSI instead (or in addition to). More specifically, I require the end-of-acquisition or acquisition-in-progress to be sent that way. Is this possible?

Many thanks,

Gary

0 Kudos
Message 1 of 6
(3,861 Views)

Hi Gary,

 

I'm having a look into this, I think it will be possible. It is possible to drive RTSI lines as digital I/O lines, so would two RTSI lines conifgured as digital input lines be suitable for your application?

 

Joel G
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 2 of 6
(3,849 Views)

Why do you say two RTSI lines? I'm using line 0 already for the trigger. I just need one more to tell me when the camera is in the process of capturing an image. I'm interfacing the frame grabber with a 7811 FPGA card, in case that makes a difference.

 

Also, since writing my first post, I re-read this article which leads me to believe I should use "Frame Start" instead of "Acquisition in Progress. This is because I only want the RSTI line high when the camera is capturing a frame rather than a whole session. Essentially, I am after some signal which the FPGA card can read to tell me when a particular frame is captured.

 

I've attached the VI that I was working on. Is this in the right direction?

 

Many thanks,

Gary

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

Hi Gary,

 

Sorry I misread your post, I thought you wrote end-of-acquisition and acquisition-in-progress hence the two RTSI lines.

 

It seems like you are taking the right approach, so are you using the frame start function now? The only problem with this is that it is configured as an output from the image acquisition device on the RTSI cable, but you want it to act as an input from the FPGA card is that right?

 

Regards,

 

Joel G
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 4 of 6
(3,824 Views)

Hi Gary,

 

You want to use the "IMAQ Trigger Drive2 VI", which is on the Vision and Motion >> NI-IMAQ >> Signal I/O palette.

 

With that VI, you can just set the trigger type to be RTSI, and choose the RTSI line number you want to use.  Select "Frame Done" as the trigger drive, and you should be good to go.

 

-Jeff

 

Message 5 of 6
(3,821 Views)
Solution
Accepted by topic author Gary7811

Thanks. It's working now. It seems that the "Frame Start" option doesn't do quite what it's supposed to for some reason. However, I modified my code to use the "Frame Done" and it works wonderfully.

 

Cheers,

Gary

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