Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Hwat am I doing wrong with this webcam??

Solved!
Go to solution

Hi!

I found a tutorial in a .pdf about usb webcams and how to make them work with labview...so...I managed to do this following diagram!

But it still doesn't work...what am I doing wrong? Or...do you have a better diagram for this application? Or a mors simple diagram!

HELP! :-s 

 

0 Kudos
Message 1 of 27
(4,743 Views)

What exactly is going wrong? Also, are you using the IMAQ for USB VIs in those subVIs? When you download the driver, it should have example programs in them. Did you try those?

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 27
(4,737 Views)

Adnan Z wrote:
What exactly is going wrong? Also, are you using the IMAQ for USB VIs in those subVIs? When you download the driver, it should have example programs in them. Did you try those?

 

Hi snuk,

explain the error please.

 

to Adnan:

no, these vi's use the avicap32.dll.

 

Mike

0 Kudos
Message 3 of 27
(4,728 Views)

it creates an additional window that is all black... so I have 2 windows one of them displays the image of the webcam and the onter it just...stays black...and I can't get rid of it...I tryied deleting some blocks but...!

That's why I was wondering if there was a simpler diagram for what I need... just an image from a webcam! continuous filming...

thank you! 

0 Kudos
Message 4 of 27
(4,725 Views)
I have downloaded Imaq for USB 8.6 but it hasn't got any exemples! :-s
0 Kudos
Message 5 of 27
(4,723 Views)

Hi snuk,

if you need only one window, then delete the second "create Window" function.

See the attached picture for more information.

 

Mike

0 Kudos
Message 6 of 27
(4,720 Views)

So...I've deleted the blocks and it looks like this

new1.JPG

and the front panel

new2.JPG

 

Now...I wanna publish it on a webpage...and when I acces it with my browser it shows this

 

new 3.JPG

 

After that i tryied doin this to the web publish tool...inserting the imaq option...and now it sayis to download the IMAQ 8.5...altough I have imaq 8.6 installed!!!! :-s

 

new4.JPG

new5.JPG

 

Why doesn't it show the image? :-?  

0 Kudos
Message 7 of 27
(4,715 Views)

Hi snuk,

the vi's you use have nothing to do with IMAQ. The reason why you don't see the webcam image in your browser is, that it is not really a part of the vi. It's only drawn on the front panel.

You can try it with a .Net PictureBox. Get the handle from it with a property node and type cast it to I32. Use this handle instead of the handle from the "create Window" function.

 

Mike

0 Kudos
Message 8 of 27
(4,710 Views)

I'm just beginning to learn LabView and...I have no ideea what u'r talkin about!!! 😄 Can u send me a print screen with the blocks that I have to include? ...or replace! 😄 PLS!

I kinda know the image was just drawn cuz I saw the frame of the image moved by itself... the image was always in the same place at the same "pixels"...

So...if you have time and u'r in the mood...be more..."picturable" ( =)) ) in your explenation!! 😄 

0 Kudos
Message 9 of 27
(4,707 Views)

Hi snuk,

you can try it with the attached example. I can't include the WCam functions, because i don't have them with me, but the vi should explain what to do.

 

Mike 

0 Kudos
Message 10 of 27
(4,705 Views)