05-14-2008 11:21 AM
05-14-2008 11:54 AM
You asked for help for a specific camera. I have never used one of them, so I ignored the rest of your question.
It sounds like you have a problem with either the camera or the frame grabber. Is the camera actually triggering every line? If the camera is actually acquiring every line and the frame grabber is missing some lines, then you need to figure out what the problem is. In most cases, it would be the frame grabber is not ready for the next line in time.
I would try writing a program that tells me what my line rate is. I would probably set up each frame to be 100 lines or so, then measure the time between frames (or multiple frames). You could come up with a pretty good measurement of how many lines per second are being acquired. I would start running the program and gradually increase the frequency on your signal generator. At some point, the line rate will most likely drop to half the signal generator frequency. The next step is to figure out if it is the camera or the frame grabber that is missing the lines. I'm not sure how you would determine this, unfortunately. You would need to measure another signal from the camera that indicates the line rate. The camera may have a register or something that indicates the current frequency of the lines. Another possibility is to configure the camera to capture lines at a fixed rate slightly above the critical rate (no triggering). See if the frame grabber can capture them at the correct rate.
It may be possible that the camera can't run at the maximum rate when using triggering. It could be that the frame grabber needs to have some parameters adjusted to acquire at faster rates. It is hard to say without doing some troubleshooting with the hardware.
Bruce
05-15-2008 11:35 AM
05-15-2008 12:30 PM
05-15-2008 01:51 PM
One thing I noticed is that in mode 2, the camera automatically adjusts the exposure time to give you the line rate you want. If you set the exposure first and then the line rate, the exposure will be shortened. You might want to check what the actual exposure is while the acquisition is running.
In mode 6, the maximum line rate depends on the exposure time but it is not automatically adjusted. I would try using a very, very short exposure time (which will give you black images but will still give you a good line rate) and see if the line rate is more linear compared to the frequency generator. I might expect to only get one line every two cycles due to the dependence of mode 6 on both rising and falling edges, like Wes said. Eventually you will get one line per pulse at low frequencies. I can't explain why you got more images at 1 kHz, unless there is noise in your trigger signal.
Bruce
05-19-2008 12:15 AM
05-19-2008 06:05 PM
05-20-2008 07:07 PM
05-20-2008 07:17 PM
05-21-2008 09:43 AM
Dear Peter,
Last year, we used the P3-80-12K40 with the PCIe-1429. We were able to trigger the camera's line rate in LabVIEW. We were never able to trigger the line rate in MAX. In years of using MAX to setup various Camer Link cameras, I can not recall ever being able to perform a triggered acquisition from a Camera Link camera in MAX by simply setting the camera to a triggered mode...
-Robert