After I ran the test , I was wondering if it was possible to run the test from chkptp and how to do it. ( including the settings of the camera )
I replaced the lua subfolder in my chdkptp-r468-win32 folder with the new one from trunk. The commandCode: [Select]!require'extras/rsint'.init()appears to go through (no error message when running it at least). But the command rsint errors like thisCode: [Select]ERROR: build does not support shoot hook
!require'extras/rsint'.init()
ERROR: build does not support shoot hook
Quote from: poussin on 25 / January / 2014, 13:52:41After I ran the test , I was wondering if it was possible to run the test from chkptp and how to do it. ( including the settings of the camera )Further to my question I ran into a problemHere is the log of the command loadfile("A/CHDK/SCRIPTS/MF_TEST.LUA")()when I wanted to play the dump file to see the error message > list*1:Canon PowerShot A2200 b=bus-0 d=\\.\libusb0-0002--0x04a9-0x322a v=0x4a9 p=0x322a s=85046B2D98F043448BDDA65F6A2726EDrecording to chdk_322a_20140125_232304.lvdump559168264 bytes recorded to chdk_322a_20140125_232304.lvdumperror getting frame: ptp errorrecording to chdk_322a_20140125_232535.lvdump113046424 bytes recorded to chdk_322a_20140125_232535.lvdumprecording to chdk_322a_20140125_232611.lvdump> .loadfile("A/CHDK/SCRIPTS/MF_TEST.LUA")()67567984 bytes recorded to chdk_322a_20140125_232611.lvdumpplaying \chdk_322a_20140125_232611.lvdumploading dump ver 1.0live timer update error\chdkptp-r438-win32\lua\chdku.lua:1374: attempt to perform arithmetic on field 'margin_left' (a nil value)stack traceback:\chdkptp-r438-win32\lua\chdku.lua:1374: in function 'get_screen_width'\chdkptp-r438-win32\lua\gui_live.lua:94: in function 'update_canvas_size'\chdkptp-r438-win32\lua\gui_live.lua:401: in function <\chdkptp-r438-win32\lua\gui_live.lua:383> [C]: in function 'xpcall' \chdkptp-r438-win32\lua\gui_live.lua:424: in function <...s\doc tech\CANON\chdkptp-r438-win32\lua\gui_live.lua:422> (tail call): ? [C]: in function 'MainLoop' \chdkptp-r438-win32\lua\gui.lua:630: in function <\chdkptp-r438-win32\lua\gui.lua:616> (tail call): ? \chdkptp-r438-win32\lua\main.lua:231: in main chunk [C]: in function 'require' [string "require('main')"]:1: in main chunklive timer update errornote : the lvdump size is 85 Mbytes
After I ran the test , I was wondering if it was possible to run the test from chkptp and how to do it. ( including the settings of the camera )Further to my question I ran into a problemHere is the log of the command loadfile("A/CHDK/SCRIPTS/MF_TEST.LUA")()when I wanted to play the dump file to see the error message > list*1:Canon PowerShot A2200 b=bus-0 d=\\.\libusb0-0002--0x04a9-0x322a v=0x4a9 p=0x322a s=85046B2D98F043448BDDA65F6A2726EDrecording to chdk_322a_20140125_232304.lvdump559168264 bytes recorded to chdk_322a_20140125_232304.lvdumperror getting frame: ptp errorrecording to chdk_322a_20140125_232535.lvdump113046424 bytes recorded to chdk_322a_20140125_232535.lvdumprecording to chdk_322a_20140125_232611.lvdump> .loadfile("A/CHDK/SCRIPTS/MF_TEST.LUA")()67567984 bytes recorded to chdk_322a_20140125_232611.lvdumpplaying \chdk_322a_20140125_232611.lvdumploading dump ver 1.0live timer update error\chdkptp-r438-win32\lua\chdku.lua:1374: attempt to perform arithmetic on field 'margin_left' (a nil value)stack traceback:\chdkptp-r438-win32\lua\chdku.lua:1374: in function 'get_screen_width'\chdkptp-r438-win32\lua\gui_live.lua:94: in function 'update_canvas_size'\chdkptp-r438-win32\lua\gui_live.lua:401: in function <\chdkptp-r438-win32\lua\gui_live.lua:383> [C]: in function 'xpcall' \chdkptp-r438-win32\lua\gui_live.lua:424: in function <...s\doc tech\CANON\chdkptp-r438-win32\lua\gui_live.lua:422> (tail call): ? [C]: in function 'MainLoop' \chdkptp-r438-win32\lua\gui.lua:630: in function <\chdkptp-r438-win32\lua\gui.lua:616> (tail call): ? \chdkptp-r438-win32\lua\main.lua:231: in main chunk [C]: in function 'require' [string "require('main')"]:1: in main chunklive timer update errornote : the lvdump size is 85 Mbytes
I hope to try a similar single instance "swap con" http://chdk.setepontos.com/index.php?topic=8769.msg91611#msg91611 version
After I ran the test , I was wondering if it was possible to run the test from chkptp and how to do it. ( including the settings of the camera )Further to my question I ran into a problemHere is the log of the command loadfile("A/CHDK/SCRIPTS/MF_TEST.LUA")()when I wanted to play the dump file to see the error message
Attached is the error message from the run of MF_TEST.LUA from chkptp.
You need to use a recent CHDK 1.3 build from http://mighty-hoernsche.de/trunk/
Sending a "s" command while the previous one is still processing appears to cue the command and run it when it can. I will test drive this with two camera parallel shooting through a script that sends commands to two cmd windows in interactive mode. But this is looking super good so far.
After I ran the test , I was wondering if it was possible to run the test from chkptp and how to do it. ( including the settings of the camera )Further to my question I ran into a problemHere is the log of the command loadfile("A/CHDK/SCRIPTS/MF_TEST.LUA")()
Edit: Oops, above is incorrect. The actual timeout is currently 10 second, and the camera will continue shooting every 10 seconds but not downloading. I'll try to clean this up.I'm not sure if there is a limit to how long the camera can be made to wait in the shoot hook.
Started by waterwingz General Discussion and Assistance
Started by alex73 « 1 2 » General Discussion and Assistance
Started by dmitrys General Discussion and Assistance
Started by nod5 General Discussion and Assistance
Started by Caefix General Discussion and Assistance