....set_aflock(1) sleep(1000)fout = io.open("A/out.txt", "a") fout:write(tostring(zones)," ",tostring(get_vbatt())," ",tostring(collectgarbage("count"))," ",tostring(get_mode())," flag34 ",os.date("%X"),"\n") fout:close()zones = md_detect_motion( a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p)fout = io.open("A/out.txt", "a") fout:write(tostring(zones)," ",tostring(get_vbatt())," ",tostring(collectgarbage("count"))," ",tostring(get_mode())," flag35 ",os.date("%X"),"\n") fout:close()set_aflock(0)...
It's very hard to post whole script because it's 30 kB in size
. May be next time I think I can use just standard example for MD function to represent a full script.
In the previous post I just wanted to ask - Is it possible theoretically that function set_record(0) or its "immitation" would be called accidentally from md_detect_motion(...) function?
If you can come up with the minimal script that reproduces the problem, that would be a big help.
The camera might switch to playback if it thinks the battery is low or it has been idle long enough for the power saving to kick in.
Before we dive into core code with you, it's probably worth checking that you have the Disable LCD option in the CHDK Settings menu set to Always ?
Is there any overheating sensor inside of the Canon camera?
Started by macewindu General Help and Assistance on using CHDK stable releases
Started by stronge General Help and Assistance on using CHDK stable releases
Started by CMC68 « 1 2 3 » General Help and Assistance on using CHDK stable releases
Started by waterwingz « 1 2 ... 16 17 » LUA Scripting
Started by jorjor General Help and Assistance on using CHDK stable releases