Hi
Thanks for the pointer, sounds like what I need. But I don't seem to be able to get the get_usb_power function to work. I get an "unexpected symbol near '1'" error which suggests to me that this function is unknown.
I'm using the a480-100b-1.1.0-2053-full firmware. Am I missing something?
I thought this might work in my LUA script;
:INREC
do p = get_usb_power(1) until p>0
while endless or frame <= total_frames do
wait_for_light()
print_status(frame, total_frames, ticks_per_frame, end_ticks, endless)
if display_off_frame > 0 and frame >= display_off_frame then
seek_display_mode(target_display_mode)
end
shoot()
if frame_delay(frame, start_ticks, ticks_per_frame) then
print "User quit"
break
end
frame = frame + 1
p = get_usb_power(1)
end
while p > 0 do
print "Waiting for record mode"
sleep 100
p = get_usb_power(1)
end
set_record 1
goto "INREC"
Thanks
Simon