Jump to content

jmcbee

Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Posts posted by jmcbee

  1. 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.

  2. Thank you for the suggestion. I am not familiar with activex controls, and am not sure how to view and change the .ocx code. Can you tell me what program I need to use to view and update the code? I apologize for having to ask that but I am learning as I go.

    Cheers!

    QUOTE(siva @ Dec 27 2007, 12:38 PM)

    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.

  3. Hello

    "Read BMP File.vi" is a library function that is available under, "Graphics Formats Pallete". Please check the size of the BMP File. Are you able to open the BMP file using MS-PAINT?.

    I am able to open the BMP file in paint, but activex is not writing the image to the bitmap file. The file I am opening is an old image I was attempting to write over for testing purposes.

    What is your webcam model ?

    My webcam is a Logitech QuickCam Ultra Vision SE, here is the link to the camera : http://www.logitech.com/index.cfm/webcam_c...41&cl=us,enThank you again for your help!

  4. Hello,

    I have updated the driver and tried running your WebcamDemo.vi again. Now the program is catching in the Flip and Pad for Picture Control.vi, which is a subvi to Read BMP File.vi. I looked inside the Flip and Pad for Picture Control.vi and there are two nested for loops where the program is spinning. The outer for loop wants to run for 100680448 iterations and the inner loop wants to run for 73351168 iterations. Does this sound reasonable? Should I just wait for those loops to execute instead of considering the subvi to be stuck? Thank you again for your help!

    Cheers!

  5. Hello,

    I am using your WebcamDemo.vi and have followed your instructions for installation. When I open the program the LiveWindow displays the feed from my webcam however after taking a snapshot the Picture field is blank. I have followed the demo through as it executes and there are no errors, but for some reason the snapshot from the LiveWindow does not translate into a Picture. Do you have any ideas on what the problem may be?

    Cheers!

    QUOTE(siva @ Nov 5 2007, 11:06 PM)

    Check the following.

    1) Open the VI. In the Front panel, Right Click on LiveWindow ActiveX Container

    2) Click, "Insert ActiveX Control". Select "WebCam.LiveWindow"

    3) Now Save and run the program.

    If you dont get "Webcam.LiveWindow" in the ActiveX Control List, it means that the activeX control is not registered properly. please do the registration steps again to fix it.

    Check the following.

    Note: For XP, Camera should support WIA or it should support TWAIN. If it TWAIN based, then check whether you have installed the Mini WIA Driver on top of the TWAIN Driver.

    For Win 98,2000 Please install the Windows TWAIN Drivers.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.