24 or more A550 cameras to fire at once - page 3 - Hotwire! Hardware Mods, Accessories and Insights - CHDK Forum  

24 or more A550 cameras to fire at once

  • 30 Replies
  • 6321 Views
*

Offline reyalp

  • ******
  • 12208
Re: 24 or more A550 cameras to fire at once
« Reply #20 on: 22 / May / 2016, 05:02:16 »
Advertisements
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.
As of CHDK 1.4, it should be supported on almost every camera.
Don't forget what the H stands for.

Re: 24 or more A550 cameras to fire at once
« Reply #21 on: 22 / May / 2016, 05:27:24 »
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.
As of CHDK 1.4, it should be supported on almost every camera.
Wiki updated.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: 24 or more A550 cameras to fire at once
« Reply #22 on: 22 / May / 2016, 08:46:27 »
You folks are amazing
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.

Re: 24 or more A550 cameras to fire at once
« Reply #23 on: 22 / May / 2016, 09:58:42 »
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 can't speak for anyone else, but I will point out that you can most likely get all the help you need for free here just by reading and asking questions.

Have you read through this thread : 
Noob question, how to run multicam.lua on chdkptp
? The multicam.lua script may cover everything you will need.

Other threads are listed here - some will be more useful than others :
CHDK Forum Threads - PTP
CHDK Forum Threads - Multicamera Rigs

EDIT :  here's a useful search link if you want to study more about multicam.lua
« Last Edit: 22 / May / 2016, 10:28:47 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16


Re: 24 or more A550 cameras to fire at once
« Reply #24 on: 23 / May / 2016, 05:12:01 »
I had previously briefly tested usb_sync_wait here https://chdk.setepontos.com/index.php?topic=12343.msg121994#msg121994

Based on reyalp's comment here

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.

I only just added this to multicam.lua camera side code as a simple test:
Code: [Select]
function cmds.usb_sync_wait()
   usb_force_active(1)
   usb_sync_wait(1)
   press('shoot_full')
   sleep(10000)
   release('shoot_full')
end   

and ran it like this:
Code: [Select]
___> !mc=require('multicam')
___> !mc:connect({list='C:/CHDKPTP/listfile'})
+ 1:Canon PowerShot SX150 IS b=\\.\libusb0-0001--0x04a9-0x3234 d=bus-0 s=78FF059
B30614728892637799CB908C8
___> !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).

Tested with sx150is-100a-1.4.0-4164 & multicam.lua r692 (with a few local changes)

PS: my multicam.lua redirects preshoot status to file & therefore not visible in console copy above. 

PPS: font size 9 would be better if available.
« Last Edit: 05 / January / 2017, 10:05:46 by andrew.stephens.754365 »

Re: 24 or more A550 cameras to fire at once
« Reply #25 on: 23 / May / 2016, 09:46:08 »
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?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: 24 or more A550 cameras to fire at once
« Reply #26 on: 23 / May / 2016, 09:53:33 »
So does your somewhat lengthy post simply mean that everything works as expected?


If you don't like the comment - ignore it!

Re: 24 or more A550 cameras to fire at once
« Reply #27 on: 23 / May / 2016, 12:57:43 »
is that what it said? Ok so an endorsement then!   cool
can you point me to the script please


Re: 24 or more A550 cameras to fire at once
« Reply #28 on: 23 / May / 2016, 13:05:23 »
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.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: 24 or more A550 cameras to fire at once
« Reply #29 on: 23 / May / 2016, 13:38:15 »

Sorry, it was intended as a legitimate question.


Ah, ok - words are easy to misinterpret...my apologies too.


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.

Yes, everything working as I had expected.


I was hoping the way I structured my comment could:
  • facilitate halfpipe pick up how to manipulate multicam.lua for personal benefit
  • perhaps prompt reyalp (or someone) to make a usually useful extra comment or code hint - no status return as structured is a particular concern.
« Last Edit: 23 / May / 2016, 14:32:12 by andrew.stephens.754365 »

 

Related Topics