LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

Write image to file works very slowly

Hello everyone,

I'm programming an image acquisition system with PXI-1411. I have choosed ring mode with 10 buffers to acquire images and "write file to image" to save image to file in disk of remote system. Additionally in host I have programmed FTP and some butons for interface. The problem is that the image acquisition runs very slowly about 1or 2 frame rate, but I deleted the "write image to file" the image acquisition was working(Frame rate 25). Without additionally parts the image acquisition and save part  worked quite well. So I'm confusing this problem. Thanks for answering.

0 Kudos
Message 1 of 4
(6,159 Views)

Hey Zhogge,

 

please dont make double post with the same question. Did you tried the example: http://zone.ni.com/devzone/cda/epd/p/id/6000

It should work without a problem with a standard vga resolution and 25fps.

Because the whole data in 1 second is about 7MB (640x480x25).

And through the Network interface (GIGE) you are able to send 125MB\s.

Please test the example and send a short feedback.

 

Kind regards,

 

Elmar

0 Kudos
Message 2 of 4
(6,141 Views)

Hi Elmar,

thanks very much. I have tried. It has worked quite well, but my boss doesn't want to save the data direct in host. He wants to save the data first in remote. It seems to not work with AVI. Could you give me any suggestion? And when I tried to run this programm with additional part in remote, it happened always an error 66, but sometime it worked without errors. Could you explain that?

 

 Best regards

Zhongge

0 Kudos
Message 3 of 4
(6,128 Views)

Hey Zhongge,

 

if you switch to the avi help you will see that the function doesnt support RT Targets at the moment.

Therefore you are able to store the image as a string or image on the RT Target.

But no avi files.

For the error 66 please try this workaround: http://digital.ni.com/public.nsf/allkb/4CB799F36D0EA56A862576200064B2F9?OpenDocument

 

Kind regards,

 

Elmar

0 Kudos
Message 4 of 4
(6,120 Views)