Retried with a 50/1.8mm EF lens
Same result - though this time the camera isn't in a frozen loop at the end.
Perhaps the next test could jump straight to the movie section as it takes ages to get to movie mode.
===============================================================================
ML/SCRIPTS/api_test.lua - 2018-4-18 17:19:51
===============================================================================
Strict mode tests...
Strict mode tests passed.
Generic tests...
arg = table:
[0] = "api_test.lua"
camera = table:
shutter = table:
raw = 0
apex = -7.
ms = 0
value = 0
aperture = table:
raw = 37
apex = 3.625
value = 3.5
min = table:
raw = 22
apex = 1.75
value = 1.8
max = table:
raw = 80
apex = 9.
value = 22.6
iso = table:
raw = 104
apex = 9.
value = 1600
ec = table:
raw = 8
value = 1.
flash = true
flash_ec = table:
raw = 0
value = 0
kelvin = 5200
mode = 2
metering_mode = 3
drive_mode = 0
model = "Canon EOS 650D"
model_short = "650D"
firmware = "1.0.5"
temperature = 153
gui = table:
menu = false
play = false
play_photo = false
play_movie = false
qr = false
idle = true
reboot = function: p
burst = function: p
shoot = function: p
bulb = function: p
wait = function: p
event = table:
pre_shoot = nil
post_shoot = nil
shoot_task = nil
seconds_clock = nil
keypress = nil
custom_picture_taking = nil
intervalometer = nil
config_save = nil
console = table:
hide = function: p
show = function: p
clear = function: p
write = function: p
lv = table:
enabled = false
paused = false
running = false
zoom = 1
overlays = false
info = function: p
wait = function: p
stop = function: p
start = function: p
resume = function: p
pause = function: p
lens = table:
name = "EF50mm f/1.8 II"
focal_length = 50
focus_distance = 0
hyperfocal = 37693
dof_near = -667390699
dof_far = 1000000
af = true
af_mode = 0
focus = function: p
autofocus = function: p
display = table:
idle = nil
height = 480
width = 720
screenshot = function: p
clear = function: p
pixel = function: p
on = function: p
line = function: p
notify_box = function: p
circle = function: p
draw = function: p
print = function: p
load = function: p
rect = function: p
off = function: p
key = table:
last = 10
press = function: p
wait = function: p
menu = table:
visible = false
get = function: p
select = function: p
block = function: p
set = function: p
close = function: p
open = function: p
new = function: p
movie = table:
recording = false
stop = function: p
start = function: p
dryos = table:
clock = 24
ms_clock = 24924
image_prefix = "IMG_"
dcim_dir = table:
exists = true
create = function: p
children = function: p
files = function: p
parent = table:
exists = true
create = function: p
children = function: p
files = function: p
parent = table:
exists = true
create = function: p
children = function: p
files = function: p
parent = nil
path = "B:/"
path = "B:/DCIM/"
path = "B:/DCIM/100CANON/"
config_dir = table:
exists = true
create = function: p
children = function: p
files = function: p
parent = table:
exists = true
create = function: p
children = function: p
files = function: p
parent = table:
exists = true
create = function: p
children = function: p
files = function: p
parent = nil
path = "B:/"
path = "ML/"
path = "ML/SETTINGS/"
ml_card = table:
cluster_size = 32768
drive_letter = "B"
file_number = 4885
folder_number = 100
free_space = 31107264
type = "SD"
_card_ptr = userdata
path = "B:/"
shooting_card = table:
cluster_size = 32768
drive_letter = "B"
file_number = 4885
folder_number = 100
free_space = 31107264
type = "SD"
_card_ptr = userdata
path = "B:/"
date = table:
year = 2018
hour = 17
isdst = false
month = 4
yday = 108
min = 19
sec = 52
day = 18
wday = 4
rename = function: p
remove = function: p
directory = function: p
call = function: p
interval = table:
time = 10
count = 0
running = false
stop = function: p
battery = table:
function not available on this camera
stack traceback:
[C]: in ?
[C]: in for iterator 'for iterator'
ML/SCRIPTS/LIB/logger.lua:125: in function 'logger.serialize'
ML/SCRIPTS/api_test.lua:36: in function <ML/SCRIPTS/api_test.lua:35>
[C]: in function 'xpcall'
ML/SCRIPTS/api_test.lua:35: in function 'print_table'
ML/SCRIPTS/api_test.lua:81: in function 'generic_tests'
ML/SCRIPTS/api_test.lua:1338: in function 'api_tests'
ML/SCRIPTS/api_test.lua:1364: in main chunktask = table:
yield = function: p
create = function: p
property = table:
Generic tests completed.
Module tests...
Testing file I/O...
Copy test: autoexec.bin -> tmp.bin
Copy test OK
Append test: tmp.txt
Append test OK
Rename test: apple.txt -> banana.txt
Rename test OK
Rename test: apple.txt -> ML/banana.txt
Rename test OK
File I/O tests completed.
Testing Canon GUI functions...
Enter MENU mode...
Enter PLAY mode...
Enter MENU mode...
Enter PLAY mode...
Enter MENU mode...
Enter PLAY mode...
Exit PLAY mode...
Start LiveView...
Pause LiveView...
Enter MENU mode...
Enter PLAY mode...
Enter PLAY mode...
Enter MENU mode...
Exit MENU mode...
Pause LiveView...
Resume LiveView...
Enter MENU mode...
Enter MENU mode...
Exit MENU mode...
Pause LiveView...
Enter MENU mode...
Enter MENU mode...
Enter PLAY mode...
Enter PLAY mode...
Exit PLAY mode...
Pause LiveView...
Resume LiveView...
Enter MENU mode...
Enter MENU mode...
Exit MENU mode...
Enter PLAY mode...
Enter PLAY mode...
Enter PLAY mode...
Exit PLAY mode...
Enter PLAY mode...
Enter PLAY mode...
Exit PLAY mode...
Stop LiveView...
Enter MENU mode...
Enter PLAY mode...
Enter MENU mode...
Exit MENU mode...
Start LiveView...
Pause LiveView...
Enter PLAY mode...
Exit PLAY mode...
Pause LiveView...
Enter MENU mode...
Enter MENU mode...
Enter PLAY mode...
Exit PLAY mode...
Stop LiveView...
Enter PLAY mode...
Enter PLAY mode...
Enter MENU mode...
Enter MENU mode...
Exit MENU mode...
Enter MENU mode...
Enter MENU mode...
Enter MENU mode...
Enter PLAY mode...
Enter MENU mode...
Enter MENU mode...
Enter MENU mode...
Enter PLAY mode...
Exit PLAY mode...
Enter PLAY mode...
Exit PLAY mode...
Enter MENU mode...
Enter PLAY mode...
Exit PLAY mode...
Start LiveView...
Enter MENU mode...
Exit MENU mode...
Canon GUI tests completed.
Testing ML menu API...
Menu tests completed.
Testing picture taking functions...
Please switch to M mode.
Snap simulation test...
Single picture...
B:/DCIM/100CANON/IMG_4886.CR2 not found.
B:/DCIM/100CANON/IMG_4886.JPG: 5597364
Two burst pictures...
Ideally, the camera should be in some continuous shooting mode (not checked).
B:/DCIM/100CANON/ABC_4887.CR2 not found.
B:/DCIM/100CANON/ABC_4887.JPG: 4960855
B:/DCIM/100CANON/ABC_4888.CR2 not found.
B:/DCIM/100CANON/ABC_4888.JPG: 4980309
Bracketed pictures...
B:/DCIM/100CANON/IMG_4889.CR2 not found.
B:/DCIM/100CANON/IMG_4889.JPG: 2851113
B:/DCIM/100CANON/IMG_4890.CR2 not found.
B:/DCIM/100CANON/IMG_4890.JPG: 5024390
B:/DCIM/100CANON/IMG_4891.CR2 not found.
B:/DCIM/100CANON/IMG_4891.JPG: 5933476
Bulb picture...
Elapsed time: 11866
B:/DCIM/100CANON/IMG_4892.CR2 not found.
B:/DCIM/100CANON/IMG_4892.JPG: 365721
Picture taking tests completed.
Testing multitasking...
Only one task allowed to interrupt...
Main task yielding.
Task C started.
Task C finished.
Main task back.
Main task yielding.
Task C started.
Task C finished.
Main task back.
Main task yielding.
Task C started.
Task C finished.
Main task back.
Main task yielding.
Task C started.
Task C finished.
Main task back.
Main task yielding.
Task C started.
Task C finished.
Main task back.
Main task yielding.
Task C started.
Task C finished.
Main task back.
Main task yielding.
Task C started.
Task C finished.
Main task back.
Main task yielding.
Task C started.
Task C finished.
Main task back.
Main task yielding.
Task C started.
Task C finished.
Main task back.
Main task yielding.
Task C started.
Task C finished.
Main task back.
Multitasking tests completed.
Testing half-shutter...
Half-shutter test OK.
Testing module 'lv'...
Starting LiveView...
Overlays: Canon
Overlays: Canon
Overlays: Canon
Overlays: ML
Overlays: ML
Overlays: disabled
Overlays: Canon
Overlays: Canon
Overlays: Canon
Overlays: disabled
Overlays: ML
Overlays: disabled
Overlays: Canon
Overlays: Canon
Overlays: Canon
Setting zoom to x1...
Setting zoom to x5...
Setting zoom to x10...
Setting zoom to x5...
Setting zoom to x1...
Setting zoom to x10...
Setting zoom to x1...
Pausing LiveView...
Resuming LiveView...
Stopping LiveView...
LiveView tests completed.
Testing lens focus functionality...
Autofocus outside LiveView...
Focus distance: 0
Autofocus in LiveView...
Please trigger autofocus (half-shutter / AF-ON / * ).
19...18...17...16...Autofocus triggered.
Autofocus completed.
Focus distance: 0
Focusing backward...
Focus distance: 0
Focus motor position: 0
Focusing forward with step size 3, wait=true...
.................
Focus distance: 0
Focus motor position: 0
Focusing backward with step size 3, wait=true...
.................
Focus distance: 0
Focus motor position: 0
Focus range: 17 steps forward, 17 steps backward.
Motor steps: 0 forward, 0 backward, 0 lost.
Focusing forward with step size 3, wait=false...
...........................
Focus distance: 0
Focus motor position: 0
Focusing backward with step size 3, wait=false...
.....................
Focus distance: 0
Focus motor position: 0
Focus range: 27 steps forward, 21 steps backward.
Motor steps: 0 forward, 0 backward, 0 lost.
Focusing forward with step size 2, wait=true...
...
Focus distance: 0
Focus motor position: 0
Focusing backward with step size 2, wait=true...
..............................
Focus distance: 0
Focus motor position: 0
Focus range: 7145 steps forward, 30 steps backward.
Motor steps: 0 forward, 0 backward, 0 lost.
Focusing forward with step size 2, wait=false...
...
Focus distance: 0
Focus motor position: 0
Focusing backward with step size 2, wait=false...
...
Focus distance: 0
Focus motor position: 0
Focus range: 10304 steps forward, 246 steps backward.
Motor steps: 0 forward, 0 backward, 0 lost.
Focusing forward with step size 1, wait=true...
...
Focus distance: 0
Focus motor position: 0
Focusing backward with step size 1, wait=true...
...
Focus distance: 0
Focus motor position: 0
Focus range: 469 steps forward, 505 steps backward.
Motor steps: 0 forward, 0 backward, 0 lost.
Focusing forward with step size 1, wait=false...
...
Focus distance: 0
Focus motor position: 0
Focusing backward with step size 1, wait=false...
...
Focus distance: 0
Focus motor position: 0
Focus range: 321 steps forward, 2502 steps backward.
Motor steps: 0 forward, 0 backward, 0 lost.
Focus test completed.
Testing exposure settings...
Camera : Canon EOS 650D (650D) 1.0.5
Lens : EF50mm f/1.8 II
Shoot mode: 3
Shutter : 5 (raw 75, 0.192776s, 193ms, apex 2.375)
Aperture : 4.5 (raw 43, f/4.5, apex 4.375)
Av range : 1.8..22 (raw 22..80, f/1.8..f/22.6, apex 1.75..9.)
ISO : 1600 (raw 104, 1600, apex 9.)
EC : 0.0 (raw 0, 0 EV)
Flash EC : 0.0 (raw 0, 0 EV)
Setting shutter to random values...
Setting ISO to random values...
Setting aperture to random values...
Please switch to Av mode.
Setting EC to random values...
Setting Flash EC to random values...
Exposure tests completed.
Testing movie recording...
Please switch to Movie mode.