Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I close IMAQ sessions and freeup memory for 3 Camera While Loop continuous Acquire?

1) I am using an NI PCI-1428 Camera Link frame grabber to interface with a Pulnix TM6710-CL digital camera. I use the latest IMAQ drivers. When I try to work on 3 cameras (as in the NI example program for single HL Grab), it looks like not freeup the memory. Every stop of the application it gives error at IMAQ CLose and the next start also gives error and the third time the application starts ok. Any help!
0 Kudos
Message 1 of 2
(2,935 Views)
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
0 Kudos
Message 2 of 2
(2,935 Views)