Thank you for contacting National Instruments. From your description it does sound like you may be running into problems not closing all of the correct references created in IMAQ Init or you may be creating a large number of buffers you are not removing. From your description it's hard to tell what exactly may be going on from the provided information. Some information that would help us better respond to your problem includes:
- What error message do you receive?
- Are you using LabVIEW or a text-based programming language (C, C++, Visual Basic)?
- What version number of the driver and software are installed?
- Can you successfully grab and snap images in Measurement & Automation Explorer (MAX)?
Below I have included a link to a LabVIEW example program
that acquires from two cameras. I would take a look at this example to see if it provides you with any help:
Acquisition of Images from Multiple Cameras with Display Options
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3E44956A4E034080020E74861&p_node=DZ52489
Also, the following tutorial discusses some of the issues related to multiple camera acquisitions:
Multi-Camera Acquisition
http://zone.ni.com/devzone/conceptd.nsf/webmain/D91BAC1317F9D0A686256C9300769A0D?opendocument
I hope this helps you along with your application and please provide us with some more detail of your error and problem if you are still experiencing any problems.
Regards,
Michael
Applications Engineer
National Instruments