jmcbee Posted January 1, 2008 Report Share Posted January 1, 2008 Hello, I just wanted to write and let you know that I made these changes in the ActiveX Code but still was not able take a snapshot using my webcam. I only mention it because you had noted that you would be working on the code and I wanted to let you know as it may help you to accomplish your goals. Please feel free to let me know if there is any testing you would like me to do with my webcam to help you. Happy New Year! QUOTE(siva @ Dec 27 2007, 11:38 AM) I was using Logitech QuickCam Chat Camera for testing..I am trying to figure out whats wrong with the activeX Code (VB 6.0 Code).. In the activeX Code, I am suspecting this line.. hWndC = CapCreateCaptureWindow("LiveAcquire", WS_CHILD + WS_VISIBLE, 0, 0, 352, 288, UserControl.hwnd, 0) 0,0,352,288 has to modified as 0,0,<default image width supported by cam>,<default image height supported by cam>.. you can try with 0,0,960 ,720 after changing, Make the Webcam.ocx and update the system32 with the latest ocx file and try again with the labview code. Quote Link to comment
robijn Posted January 3, 2008 Report Share Posted January 3, 2008 QUOTE(rolfk @ Nov 1 2007, 10:05 AM) Honestly you can always expect anything and everything but I don't think that makes it a legitime expectation just by itself. Most LabVIEW developers couldn't care about webcam access at all.If all you want to do is controlling a life webcam, then the LabVIEW Developers Edition certainly is not the right tool. Hi, I'm tuning in a little late, but I've just found out that with IMAQ for USB I can actually read images of ANY windows standard video device. This is very convenient, and I think this would really be something worth considering to have in the LabVIEW standard package. Of course without the extra tools that IMAQ offers. I have a Pan-Tilt-Zoom camera (Sony-D31) which is really cool to control from LabVIEW. I am acquiring the S-video signal with a Hauppauge WinTV card. I wanted to have a bit of an overview of the camera's range, so I decided to stitch some images. The result is below. With some work it would have been possible to do this without advanced IMAQ functions - provided you have access to the image data array. http://lavag.org/old_files/monthly_01_2008/post-1555-1199268831.jpg' target="_blank"> This is about 200 degrees wide, and I have to program some more to get some 15 degrees extra on all outer borders (so 230 degrees). I think I will be using this at the EC swimming in Eindhoven in March to be able to point the camera's. There's no real budget for this, it's just hobby work. Joris Quote Link to comment
Raymond Tsang Posted January 18, 2008 Report Share Posted January 18, 2008 Hi Siva, I'm also trying to capture snapshots from a webcam using LabVIEW. I tried to use your vi, but I've got the live image from the webcam only but not snapshots. An error (Error code: 3006) is returned by CopyToFileBMP, but this error disappears if I change the "Preferred execution system" to "User Interface" from "Same As Caller". I noticed that LabVIEW is not accessing the image file on disk. What could possibly the problem? Thanks! Raymond Quote Link to comment
Hansell Posted July 18, 2008 Report Share Posted July 18, 2008 Hi all, I am very new to labview as I just got 8.5, so I apologize if I seem rather unkowledgable, because I am . When I try to run Siva's WebcamDemo.vi the live window works fine, but when I try to snap, I get error 16 at Read BMP Header Info.vi It says: Possible reason(s): Labview: Image not found I think it is something wrong with the file im inputting rather than the vi since the error comes up once input pases through the Set File Position function within the Read BMP Header Info.vi The path I selected to store the BMP file was a BMP file that I created (an empty file). Am I doing this wrong or is it something else? I know it seems like a dumb question, but I would really appreciate any help. Thanks! Quote Link to comment
Benoit Posted June 11, 2016 Report Share Posted June 11, 2016 Where is the ActiveX? I'm looking since 3 days in a row full time to find a free solution that works only to grab a picture from web cam. I can't pay for IMAQ... Is anyone has a real VI that works with or without dll activeX what ever the solution that do not use the IMAQ? Thanks Quote Link to comment
ensegre Posted June 12, 2016 Report Share Posted June 12, 2016 shameless self: if linux is an option... Quote Link to comment
Benoit Posted June 13, 2016 Report Share Posted June 13, 2016 Well in this case, no Linux is not an option. I'll not bother like that if it was. Thanks Benoit Quote Link to comment
Benoit Posted June 13, 2016 Report Share Posted June 13, 2016 robijn Where is your VI? if you didn't used IMAQ, I'll love to take a look at your VI. Thanks Benoit Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.