You will also need to check the camera supports this function, if so, then yes, dual use of the USB is possible although you may need a custom build of CHDK.
Quote from: ahull on 22 / May / 2016, 04:48:19You will also need to check the camera supports this function, if so, then yes, dual use of the USB is possible although you may need a custom build of CHDK.As of CHDK 1.4, it should be supported on almost every camera.
I don't know the protocol regarding asking for help with script writing as I'm more or less illiterate in computer languages but will be happy to paypal someone for their time to consult on this with me.
I'm not sure what is intended here by "start the shooting process"If this includes pressing the shoot button, you will need to make sure that multicam isn't trying to poll the camera waiting for the shot to complete. At a minimum this means you need to use mc:cmd() instead of mc:cmdwait(). I'm not sure off the top of my head if other changes will be required.
function cmds.usb_sync_wait() usb_force_active(1) usb_sync_wait(1) press('shoot_full') sleep(10000) release('shoot_full')end
___> !mc=require('multicam')___> !mc:connect({list='C:/CHDKPTP/listfile'})+ 1:Canon PowerShot SX150 IS b=\\.\libusb0-0001--0x04a9-0x3234 d=bus-0 s=78FF059B30614728892637799CB908C8___> !mc:start()___> !return mc:cmdwait('rec')rec___> !return mc:cmdwait('preshoot')preshoot___> !mc:cmd('usb_sync_wait')usb_sync_wait (Edit: Note, do +5V -> 0V transistion sometime between here and 10 sec timeout to release hook & then go back to +5V ready for next shot) ___> !return mc:cmdwait('preshoot')preshoot___> !mc:cmd('usb_sync_wait')usb_sync_wait (Edit: Note, do +5V -> 0V transistion sometime between here and 10 sec timeout to release hook & then go back to +5V ready for next shot) ___> !return mc:cmdwait('preshoot')preshoot___> !mc:cmd('usb_sync_wait')usb_sync_wait___>
On the first 2 attempts above the hook was released as expected when the 5V->0V transistion occurred and on the 3rd attempt the hook was released after 10 seconds (with no 5V->0V transistion attempted, also as expected).
So does your somewhat lengthy post simply mean that everything works as expected?
If you don't like the comment - ignore it!
Sorry, it was intended as a legitimate question.
Reading your post, it sounded like everything was working as expected. I was trying to make sure I had not misinterpreted it or missed some subtlety.
Started by vwalton « 1 2 3 » Script Writing
Started by piltdown_man Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by aavzqz Feature Requests
Started by barianet Script Writing
Started by q1144529 General Discussion and Assistance