10-21-2011 04:39 AM
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
Solved! Go to Solution.
10-24-2011 10:37 AM
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?
10-25-2011 09:55 AM
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
10-26-2011 08:27 AM
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,
10-27-2011 09:43 AM
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
10-28-2011 10:42 AM
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