11-29-2006 08:52 AM
01-19-2007 12:34 PM
02-02-2007 04:35 AM
02-02-2007 10:27 AM
02-02-2007 02:10 PM
Hey Chand,
First, I am not familiar with your Princeton Instruments camera, but I am assuming that you either created your own camera file, or you got a camera file to work with NI's IMAQ driver software from the camera manufacturer. Either way, it sounds like the NI Framegrabber is working and grabbing images fine in Measurement & Automation Explorer (MAX for short). Therefore, I suspect that since MAX can get the 12 to 13 fps that you want, then any other software (like LabVIEW, C++, C, VB, or VB.NET) can also get those same frame rates. So here are some other suggestions that I think you can try:
First, make sure that you click on the Save button in MAX after you have acquired from your camera. If you change some settings in MAX, like camera attributes or frame size, then you need to click on the Save button (NOT Save Image), so that those settings get saved in the camera file. Then you can try to run your program to see if you get the 12 to 13 frames per second. Second, I would recommend that you try using one of the Shipping Example programs that come with the NI-IMAQ driver software. Check out the Ring examples in a similar directory: C:\Program Files\National Instruments\NI-IMAQ\Sample\MSVC\Ring. Then you can add your "time check" to that to see if you can get the framerates you expect. Last, another thing I can think of is that you might be displaying your images as they come in. Check to see what the "displayed" images rate says in MAX, and then if you are displaying your images in your C program, then you can not display the images, but still check what rate that they are being acquired.
I hope this helps. Please let us know if you have any further questions or concerns. Thanks, and have a great day.
Regards,
DJ L.
02-02-2007 02:29 PM
02-02-2007 03:02 PM
02-02-2007 03:56 PM
02-02-2007 06:24 PM
02-02-2007 10:21 PM