06-02-2009 05:27 PM
Hi,
I am using PCI-1426 to capture 25 frames/sec. I want to generate an internal pulse train (25 pulses/sec) within PCI and use this pulse to trigger camera so that I can capture an image at the rising edge of that same pulse. Please tell me how to do that?
Thanks
Sidd
06-03-2009 06:47 PM
Hi Sidd,
There's a set of examples you may want to look at in the Example Finder. You can get to it by going to Help»Find Examples. And then in the Example Finder window navigate to the folder Hardware Input and Outpu»IMAQ»Signal Input and Output. In this folder there are examples of using triggers to acquire images.
06-03-2009 10:12 PM
Thanks Olivia, I have already seen those examples. I have written a program in two ways, which I have attached below. In the program Try_Pulse_Gen.vi, I am congiguring the buffer and getting the image from buffer. I have a doubt because this IMAQ program is mainly used for LL triggering purpose, so can i use it for HL triggering purposes (say 25-50 frames/sec). If you notice I am not seeing any image on the front panel, but when I want to see an image captured, it shows an error. I don't know why it happens? Is there any possible way to check the no. of frames captured without looking at the image?
In the second file (Pulse_Gen_HL), I have used the HL IMAQ configure and acquire function in addition to pulse trigger. But it shows an error of reading a trigger device. Please guide me in diagonostic of the above issues.
06-05-2009 04:29 PM
06-07-2009 07:07 PM
Hi Olivia,
I have attached the screen shot of error for both the ways I have discussed with you.
Thanks
Sidd
06-08-2009 10:40 AM
Hey Sid,
First off: HL and LL do not imply speeds, they merely imply how "user friendly" the code is. The LL code is a little harder to build, but has a little more functionality. Whereas the HL code does all of the LL code in the background, it is a little easier to set up.
Also, have you tried just doing a grab? The errors say you have an invalid session. I would assume that if you do highlight execution, this error is popping up at the IMAQ Init.vi. This is the VI that gives you the reference to the camera session. The error is not related to triggering at al, just the camera session.
Chris