Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Image acquisition with 3 USB cameras causing too much memory/cpu usages

Solved!
Go to solution

Dear Kabul M,

Sorry for late reply. Herewith I attached my code for your evaluation

 

thanks,

hart

0 Kudos
Message 11 of 18
(3,018 Views)

Hi Hart

Now I'm curious. What exactly your VI does? What is it for? 

Incredible: I am working on a project just like yours, but in mine I have to process the images with Vision Express. Basically it snap one pic from the first usb camera and process it. If it 'capture' something different (human movement) in the place, It have to start recording video into a file. If don't, go to the second usb camera and so on.

I'm a beginner in labview and havin' a lot of troubles dealing with it.

If I can get any kind of help, I will be grateful. I´ve tryed to open your llb but it shows several warnings (subVI that is missing).

 

Tks

(PS: Sorry 'bout my english. It isn't very good.)

Tks
Guilherme
0 Kudos
Message 12 of 18
(2,954 Views)

Dear Michelle, Here I had attached my code in LLB format. The main program is "Mecron_2007(USB-1024x768).vi".

I use Labview 7.1. Could you please evaluate/check my code for any incorrect programming that could cause the memory leak problem?

 

thank you very much.

 

regards,

hart

0 Kudos
Message 13 of 18
(2,895 Views)
Solution
Accepted by topic author hart

Dear Michelle,

I've posted my code (.vi) which was programmed by Labview ver7.1. Have you check any problems with my cod, so that I can solve the  problem.

 

Thank you for your kind advice.

 

Regards,

hart

 

0 Kudos
Message 14 of 18
(2,827 Views)

Dear Muks,

I've already posted my code last 2 weeks, seems like nobody reply. So, has anyone checked my code? Anyway, I would like to thanks for any advice given. Do you know what is actually problem with my code?

 

Regards,

hart

0 Kudos
Message 15 of 18
(2,783 Views)

Hi Hart,

 

Did you solve the problems?

If not, please allow me to ask few questions:

1. Is it necessary for you to perform continous acquisition (Grab) in three cameras at once?

2. Have you tried to use TV Tuner as suggested in the early post? it sounds an interesting working around.

 

Currently, from the information that you described, I am suspecting the cause of the problem is because the continous acquisition from three cameras which overload the memory buffer. Looking forward for your reply.

 

Sincerely,

 


Krisna Wisnu

Certified LabVIEW Developer (CLD)
Certified TestStand Developer (CTD)
Using LabVIEW 8.5.1 (2008) to LabVIEW 2024
0 Kudos
Message 16 of 18
(2,687 Views)

Dear hart,

 

I am also trying to capture images with 2 USB cameras (HP web camera) located at 2 different positions.

But i could not connect both at a time. Can you share your experience?

 

Rgds,

Klattan

0 Kudos
Message 17 of 18
(2,270 Views)

NI IMAQ USB does not support simultenous image capturing, that is why you couldn't connect 2 cameras at a same time. Anyway you can initialize/connect a camera one at a time.

 

Thank you,

Hart

0 Kudos
Message 18 of 18
(2,265 Views)