Why do I receive an error when attempting to connect to my Matrox

Illustration
abdullah_akhtar - 2022-02-11T11:20:26+00:00
Question: Why do I receive an error when attempting to connect to my Matrox

Why do I receive an error when attempting to connect to my Matrox hardware device using Image Acquisition Toolbox 1.9 (R14SP3)? I am using the following code to connect to my Matrox image acquisition device:   vid = videoinput('matrox', 1,'M_NTSC_RGB); set(vid,'TriggerRepeat',Inf); vid.FrameGrabInterval = 5; start(vid); When I execute the code above, I receive the following error message: ??? Could not connect to the image acquisition device. Device may be in use. Out of memory while allocating acquisition buffers. Try increasing the amount of non-paged memory in the MIL driver.  

Expert Answer

Profile picture of Kshitij Singh Kshitij Singh answered . 2025-11-20

As the error message suggests, this error can be resolved by increasing the amount of non-paged memory for your Matrox Imaging Library(MIL) driver.
 
It is recommended that MIL's non-paged, reserved memory be greater than the size of 4 incoming images. This value can be changed using Matrox's MIL Configuration utility, provided with MIL. For standard RS170 and CCIR monochrome formats, at least 2MB of non-paged memory is recommended. For standard NTSC and PAL color formats, at least 8MB is recommended.


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!