chdkptp -c -e"killscript;"
/root/chdkptp/chdkptp/chdkptp-sample.sh -c -e"killscript"
But it won't on my Linux operated Odroid using:Code: [Select]/root/chdkptp/chdkptp/chdkptp-sample.sh -c -e"killscript"What am I missing?
I'll check the revision and then I'll supply further information if it wont be solved.
Meanwhile, is there a command which in I can use for determining whether the camera is still busy or ready for a new command?
I could use it as a loop condition for nagging with the 'killscript' till it succeed.
Any way, my last question was if I can some how check whether the camera is currently running a script.Since I send the commands via "chdkptp -e" I can't be sure that the the camera had finished doing what it had to do and ready for the next command (perhaps sent by another thread in my program).
con> exec return con:script_status()={ msg=false, run=false,}
Note that either of these options require that you already be connected to the camera. If you are wanting to start a new chdkptp process with chdkptp -e ... to while another instances is still potentially doing something, you cannot do that safely. There can only be one connection to a given camera at a time.
chdkptp -c -e"remoteshoot -con=6000"
chdkptp -c -ekillscript
and I like to force-stop the remoteshooting inst I cannot open another instance of chdkptp for the 'killscript'?This is what I currently do, and it results with a not too bad statistics.I run the 'killscript' command with a repeat(7) and one of them almost always succeed.But if I understand you correctly, it shouldn't be able to connect to the camera as long as the other instance is already connected.
Started by stesch Script Writing
Started by jiffer General Discussion and Assistance
Started by danmitchell36 General Discussion and Assistance
Started by tscheckoff Firmware Dumping
Started by DavidAHood General Help and Assistance on using CHDK stable releases