LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Extract Buffer.vi ~10-fold slower after expanding system RAM from 8GB to 24GB

Hello,

 

I have a large image acquisition vi, controlling a line scan camera, that uses a ring buffer to store the images which are then extracted one by one for processing and or saving.

Recently we wanted to expand the amount of data we can save and process so we increased the RAM size for the system from 8GB to 24 GB, which is the maximum allowable with our current motherboard and system configuration.

After the expansion the image acquisition/display has slowed from ~25ms to ~250ms. The camera still has the same frame rate, however, the IMAQ Extract Buffer.vi takes about 10 times longer, hence being the limiting step in our acquisition.

 

In the IMAQ Configure list.vi which is then linked with the IMAQ Configure Buffer.vi the NI PCIe-1429 is set to use the system memory. Is it possible that just because there is more RAM available the card takes longer to access the sectors it is using?

 

I have tried decreasing the buffer size and playing around with the parameters, nothing really helps the case significantly.

I am not very familiar with memory allocation and how LabVIEW vis do it.

 

I need the image acquisition to be significantly faster (its original value of 25ms or lower), but do not seem to be able to think of anything...

 

Any thoughts, ideas would be appreciated.

 

Thanks in advance!!

Andras

0 Kudos
Message 1 of 2
(2,432 Views)

As ridiculous as this may sound, although the system has been reset dozens of times, the line scan camera did not. For some reason the triggering between it and the computer was no longer properly interpreted and that is why it had a lower scan rate. Even after switching back to the old RAM configuration the camera was slow...

 

A factory reset of the camera fixed the issue.

 

Thanks for anyone who read and thought about this.

Andras

0 Kudos
Message 2 of 2
(2,421 Views)