07-05-2009 04:37 PM
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
Solved! Go to Solution.
07-05-2009
09:01 PM
- last edited on
03-31-2025
11:18 AM
by
Content Cleaner
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?
07-06-2009
02:00 AM
- last edited on
03-31-2025
11:19 AM
by
Content Cleaner
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
07-06-2009 02:37 AM
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!
07-06-2009 02:40 AM
07-06-2009 03:25 AM
Hi snuk,
if you need only one window, then delete the second "create Window" function.
See the attached picture for more information.
Mike
07-06-2009 05:23 AM
So...I've deleted the blocks and it looks like this
and the front panel
Now...I wanna publish it on a webpage...and when I acces it with my browser it shows this
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
Why doesn't it show the image? :-?
07-06-2009 06:22 AM
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
07-06-2009 06:31 AM
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!! 😄
07-06-2009 06:44 AM
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