Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Live-video recording

Hi,

I need to record images from a Pulnix TM-6710. I have done my program but when I record files, the recording speed is pretty slow... And I miss a lot of images...

For example, if I want to record 1000 images, with my camera running at full speed (120 fps) the recording operation takes 50 seconds in Labview !

How can I do to minimize this ?

Thank you !
0 Kudos
Message 1 of 8
(4,564 Views)
The I/O is probably the reason for it taking so long to complete. One way may be to use buffering instead of grabbing to acquire video. This may prevent loss of images. There is some information on the link below,

http://zone.ni.com/devzone/conceptd.nsf/webmain/C1C5B4DE29861CBE8625685E007FA225?opendocument

Are you looking for each image or you just need the video? For the video, you can simply use the IMAQ AVI vis.

Prakash K
Message 2 of 8
(4,558 Views)
hi,

I've found one solution but that is not really easy for end users... I use a virtual disk (with my RAM) but I need to record really a lot of datas ( about 1 minute - 2 .2Gb !) and I can't have more than 2 Gb in this PC...

So it's impossible for me to use virtual disk for end users of my program... Is there any solution with Labview ? THe problem will be the same with a high speed disk ?

Thank you !
0 Kudos
Message 3 of 8
(4,558 Views)
Frenchy,
Have you tried using Save to AVI? Also if you remove the local variables from your program you should see a vast improvement in performance.

A. Talley
0 Kudos
Message 4 of 8
(4,559 Views)
Hi Bates:

I read your suggestion, could you be more specific, and explain whit more detail (draw or vi.) how save a video adquisition  to a avi. file.

THANKS

Maocañas.
0 Kudos
Message 5 of 8
(4,276 Views)

Hello Maocañas,

Since this thread is around two years old, I am not sure if Bates will be keeping track of this discussion, so I will go ahead and try to answer your question.  There is an example VI in LabVIEW called Grab and Save to AVI which acquires images continuously using the high-level acquisition VIs, displays them in an image control, and saves the images to an AVI file.   It can be found by going to Help >> Find Examples…  and then on the Search tab using the keyword AVI.  A description of the VI is given in the information window on the far right as well as a list of our devices that can run this program in the requirements window below.  I hope this helps.  Please let us know if you would like further clarification or information regarding this issue.

Regards,

Vu D
Applications Engineer

Message 6 of 8
(4,251 Views)
Hi Vu D

I estimate your time for answer my question. I have LabVIEW 8.0 and the IMAQ toolkit, I took a look for AVI at  search campus, but I didn't find the example 'grab and save to a AVI'. Though I tried again and I found that the imaq avi create and the imaq avi write frame can do this work.
I attach here the vi. Any suggestion or commentary come good.

THANKS Smiley Happy

Maocañas
0 Kudos
Message 7 of 8
(4,234 Views)

Hello Maocañas,

If you are unable to find the example by searching keyword AVI you can also try browsing according to task.  It is under Hardware Input and Output >> File Input and Output >> Grab and Save to AVI.  I have attached a screenshot of the location below in navigation.jpg.  I have also attached a screenshot of how the block diagram for the example looks under Save to AVI screen.jpg if you would like to compare your program with it.  You seem to be on course; however just make sure to close out all of your references at the end of the program.  Please let us know if you have any other related questions.

Regards,

Vu D

Download All
Message 8 of 8
(4,216 Views)