LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to increase the camera download speed and save binary file speed

My camera is pco dimax S1 camea. The interface is cameralink Base.

The memory is on board.

I use 1000fps@480*480 resolution to capture 1 sec.

Then download the images from the on board memory to computer.

The board in the PC side is NI-1429 board.

Theory, the cameralink transport speed should be 250MB/S

In the file format, file size should be (480(H)*480(V)*16bit*1000fps)/8=460.8 MB

Logically it should be download complete under 2 sec

But in my program, the real download speed at about 40 framess/s, (480*480*16*40)/8=18.432 MB/S

(250MB/S)/(18.432MB/S)= 13.85

The download speed is totally slower 13.8 times.

I use the SSD and RAID 0 to save the file.

I did some test as below:

1. Try to save png or binary file. The speed of binary had a litter faster, but it still doesn't close the 250MB/S.

2. I try to adjust the resolution from 16bit to 12bit or 8bit to save the image. The download speed still 40 frames/s(18.432MB/S)

3. I try to use IMAQ Sequence to save the file, but how to add in my program, can anyone help me?

On the other hand, I also guess may be the structure of my program have an problem cause the download and save speed slow.

Attached please find the program.

To see if there are other ways to increase the speed of file written!

 

Download All
0 Kudos
Message 1 of 3
(2,478 Views)

You have to separate your step1 and step2 into two parallel loop.

If you put the two tasks in one loop, the lower speed task will affect the loop speed.

So that the program won't achieve the top speed.


Is continuous acquisition required for your application? Can sequence acquisition or finite acquisition be your workaround?

The memory handling in continuous acquisition is way a lot more difficult than finite acquisition.

I would suggest you to figure out how finite acquisition work and then jump into the continuous acquisition application.

 

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

Open the file before the loop and close it after, opening it every picture is a time consumer.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 3
(2,398 Views)