Troubleshooting WIA connections

I can’t tell why it is that the Camera Control script doesn’t work for some systems, but I presume it is some difference in the WIA configuration or settings of that camera or PC.  If you’d like me to try to fix it for your system then I’ll need some more details.

Use this WIA test program, from http://www.milika.net/, to get the details of your WIA connection and send them to me.  You can leave them as a comment here or email them to me at raymond -at- this domain name (diyphotobits.com).

Thanks.

ps. note that it is a RAR, not a ZIP.

10 Replies to “Troubleshooting WIA connections”


  1. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    Jinesh Mehta says:

    Hey,

    Tried it and let me tell you its nowhere close to an embarrasment. Evrythings working good. Played with shutter seppd. Will try ISO and in sometime. I have a D40 so I guess exposure comp wont work.

    Controlling shutter/aperture from computer is really helpful

    Thanks a ton,
    Jinesh Mehta


  2. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    Toby says:

    Raymond, being somewhat of a geek also, I downloaded your script to try with my D40. But I must one of those with a broken setup on my PC (XP SP3). When I click Shutter release, the camera goes clunk and no shot is taken.
    If I change the dial between M,S,A,P and refresh the page, it detects the change in the Controls options.
    If I do Start Tether and then click Shutter Release, I get script error, line 157, char 2, index out of range.
    [I upgraded to firmware 1.11 but no change]
    I ran the WIA test script and the results are pasted below. When it runs I get OLE error 80042002 when it tries to take the test picture.

    I’ll try on a different PC in the mean time.

    Thanks – this will be great when I get it working.

    Toby

    {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}002
    D40
    ** Properties **
    [R] Item Name
    Root
    [R] Full Item Name
    0002\Root
    [R] Item Flags
    76
    [RW] Unique Device ID
    {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}002
    [R] Manufacturer
    Generic
    [R] Description
    D40
    [R] Type
    131072
    [R] Port
    \\.\Usbscan0
    [R] Name
    D40
    [RW] Server
    local
    [RW] Remote Device ID
    {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}002
    [R] UI Class ID
    {4DB1AD10-3391-11D2-9A33-00C04FA36145}
    [R] Hardware Configuration
    4
    [R] BaudRate
    Empty
    [R] STI Generic Capabilities
    53
    [R] WIA Version
    2.0
    2
    [R] Driver Version
    5.1.2600.2180
    [R] Access Rights
    3
    [R] Firmware Version
    V1.11
    [R] Pictures Taken
    0
    [R] Pictures Remaining
    1063
    [RW] Format
    {B96B3CAE-0728-11D3-9D7B-0000F81EF32E}
    [R] Battery Status
    100
    [RW] Picture Width
    3008
    [RW] Picture Height
    2000
    [RW] Compression Setting
    1
    [RW] White Balance
    2
    [RW] F Number
    400
    [R] Focus Length
    1800
    [R] Focus Mode
    32784
    [RW] Exposure Metering Mode
    2
    [RW] Flash Mode
    32784
    [RW] Exposure Time
    10000
    [R] Exposure Mode
    4
    [RW] Exposure Index
    200
    [RW] Exposure Compensation
    0
    [RW] Device Time
    [RW] Capture Mode
    1
    [RW] Burst Number
    1
    [RW] Focus Metering Mode
    32784
    ** Commands **
    Synchronize
    Synchronize
    Take a new picture
    Take a new picture
    ** Items **


  3. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    Toby says:

    Update – on Vista, I get a dialog box that says “device may not support shutter release from the computer, use camera shutter button…” when I open up DIYcamera control 4.0. Any ideas?
    Thanks.


  4. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    raymond says:

    Toby, is there a card in the camera at this point? If so take a shot manually (disconnected from the PC) then run the test script again — it should show that existing image as an “Item”.

    If the camera goes “clunk” then you are 99% of the way there, unless the card is missing or not usable (not formatted?) I can’t see what can be wrong.


  5. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    Toby says:

    Thanks – yes there was a formatted card in the camera, however there were no images on it. Being a linux user also, I got camera control working using gphoto2 (www.gphoto.org) so I know the camera is okay. I’ll try the script again with images present on the card.


  6. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    Toby says:

    Raymond, no go, having an image on the card didn’t change anything.


  7. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    Toby says:

    Okay, figured it out – the camera has to be set to an exposure that will take a decent picture. If the “?” is flashing on the info display, the camera will block the shutter (just like it does . Make sure the camera is set to a valid exposure and the script works fine. Cool.


  8. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    raymond says:

    Toby, I’m sure glad you worked that out because I had NO idea myself! 🙂


  9. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    Ageu says:

    Is there a way to change the Picture Control Using the Script?
    I would like to change Vivid to Black and White
    I have one Nikon D80
    Thanks
    Ageu


  10. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    raymond says:

    No, these cannot be controlled via WIA.


Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /home/diyphoto/public_html/wp-includes/functions.php on line 6031

Leave a Reply

Your email address will not be published. Required fields are marked *