___> !mc:shoot({shots=10, interval=30000, release_half=true})
call 1: {}2: {}preshoot1: true2: trueshoot_burst [sync +56] { interval=30000, shots=10, release_half=true}1: false msg hook_raw ready timeout2: false msg hook_raw ready timeout___>
i was testing multicam for the first time and all went well until i triedCode: [Select]___> !mc:shoot({shots=10, interval=30000, release_half=true})i somehow expected it to take 10 shots, but it didn't work out like that.
should i remove the set values in the multicam script for this to work?
and about the sync delay, should i correct that in camera?
result from mc:shootCode: [Select]...1: false msg hook_raw ready timeout2: false msg hook_raw ready timeout___> i guess mc:shoot is only meant for bursts or single shots...
...1: false msg hook_raw ready timeout2: false msg hook_raw ready timeout___>
now a more pertinent question, how do i activate saving images on my system instead of on the camera?
this also performed similar, when taken shots up until 10 seconds it works, i hear 2 shots in short succession at start and then screen turns blank and it does it's job.
if opts.interval + 2000 > opts.shoot_hook_timeout then opts.shoot_hook_timeout = opts.interval + 2000 end
what i do see after the timeout is that the script on the cam is active (not started)that was to be part of my next question, how to start a camera side script from multicam?and the second one would be how to cleanly close multicam/chdkptp? disconnect?
I'll check in a more complete fix later, but but beware that I can't promise the current svn multicam.lua will work with older snapshot builds of chdkptp. At the moment, I think only some stuff related to camera ID list files is incompatible with r964, but I certainly haven't tested.
If you're talking about the alt status line, it's normal to see that when a PTP script is running. If the camera side script were not running, then multicam could not do anything.To start the script on all connected cameras, use mc:start(). If a script is already running, it will be killed.You can end the script with mc:cmdwait('exit')You can disconnect from from all cameras using mc:disconnect(). Note this does not stop the script.If there is a script error (an actual Lua error, not a returned error status like the timeout message) then of course the script will exit and need to be restarted.
ah, here i asked wrong, i was wondering if i could start a cam side script other than multicam (eg suix or rawopint) to start running and how to stop that from the pc.
and something that i want to solve is, i was planning to use utc+1 for mc:setclock() and i have seen that you already implemented utc, so that's a great start.my (untested) guess: mc:setclock(utc=true)but how do i make it UTC+1?
local lt=os.date('!*t',os.time()+3600)
___> connectconnected: Canon PowerShot S110, max packet size 512con> !loadfile('A/CHDK/SCRIPTS/rawopint.lua')()ERROR: call failed:[string "loadfile('A/CHDK/SCRIPTS/rawopint.lua')()"]:1: attempt to call a nil valuestack traceback: [C]: in function 'xpcall' /home/xxxx/chdkptp/lua/cli.lua:748: in function </home/xxxx/chdkptp/lua/cli.lua:739> (...tail calls...) [C]: in function 'xpcall' /home/xxxx/chdkptp/lua/cli.lua:285: in function 'execute' /home/xxxx/chdkptp/lua/cli.lua:400: in function </home/xxxx/chdkptp/lua/cli.lua:391> (...tail calls...) /home/xxxx/chdkptp/lua/main.lua:307: in main chunk [C]: in function 'require' [string "require('main')"]:1: in main chunkcon>
i tried loadfile as mc:loadfile('A/CHDK/SCRIPTS/rawopint.lua')() first, because i want to start script on both cams. but came up empty with an unknown command.
Code: [Select]___> connectconnected: Canon PowerShot S110, max packet size 512con> !loadfile('A/CHDK/SCRIPTS/rawopint.lua')()ERROR: call failed:[string "loadfile('A/CHDK/SCRIPTS/rawopint.lua')()"]:1: attempt to call
___> connectconnected: Canon PowerShot S110, max packet size 512con> !loadfile('A/CHDK/SCRIPTS/rawopint.lua')()ERROR: call failed:[string "loadfile('A/CHDK/SCRIPTS/rawopint.lua')()"]:1: attempt to call
i also looked at the svn, https://subversion.assembla.com/svn/chdkptp/trunk/but don't understand what files i need and i should do to make it into a workable chdkptp set...is there a step by step guide for this?in the end i only copied the chdkptp.sh file and placed that in my r964 folder, but that changed nothing i could see.
with multicam running:killscript ends with:ERROR: camera does not support clean kill, use -force if you are sure
What version of CHDK are you running? killscript should be supported on every camera, for many years now.
Quote from: reyalp on 12 / April / 2022, 16:41:29What version of CHDK are you running? killscript should be supported on every camera, for many years now.the cam that produced that error was running 1.5.1.5708.
i'll try building it, but where do i find the complete zip or how do i check out the complete source, because i coudn't find that.
Started by RyeBrye « 1 2 ... 6 7 » DryOS Development
Started by 3DBruce General Discussion and Assistance
Started by intrnst « 1 2 ... 14 15 » Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by acseven General Chat
Started by intrnst General Chat