Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Minimum number of buffers on ring acquisitions

Hello,

 

I am using a PCI-1424 with a 8-bit greyscale camera. A software developed long ago with NI-Imaq 2.0 and NI_Vision 5.0 on an NT system worked fine for years. Trying to move it to Windows XP crashed the application.

 

So I went back to the basics and found the same issue with an NI provided sample for onboard ring acquisitions:

The sample code from CVI\samples\IMAQ\Ring\ring onboard mem.cws works fine as long as the number of ring buffers in greater or equal 3. Trying to run the software with only 2 buffers gives the error:

Function imgSessionCopyBuffer: The requested buffer has been overwritten and is no longer available.

 

It worked fine on the old system.

 

Why does it not work with 2 buffers?

 

Regards

 

Roland Boes

 

0 Kudos
Message 1 of 2
(3,261 Views)

Hi Roland,

 

Are you using the exact same PCI 1424 board in your XP machine? As well, are you still using NI-IMAQ 2.0 and NI Vision 5.0 on the XP system?

If you take a look at this KnowledgeBase, Windows XP supports NI-IMAQ 2.6 or higher. It's possible that you are seeing these crashes because the version of the driver isn't fully supported on Windows XP.

0 Kudos
Message 2 of 2
(3,241 Views)