--[[@title Stress Test--]]while (1) do start = get_tick_count() while (get_tick_count() < start + 10000) do endend
--[[@title Stress Test--]]while (1) do start = get_tick_count() while (get_tick_count() < start + 10000) do sleep(100) endend
--[[@title Stress Test--]]while (1) do start = get_tick_count() while (get_tick_count() < start + 10000) do print("test") endend
--[[@title LUA 4--]]while (1) do start = get_tick_count() i = 0 while (get_tick_count() < start + 60000) do print("test", i) i=i+1 sleep(500) endend
Code: [Select]--[[@title Stress Test--]]while (1) do start = get_tick_count() while (get_tick_count() < start + 10000) do print("test") endendPerhaps those that have had this error message can try the above scripts to help narrow down the problem.
SX30 - record mode, shuts down in ~ 20 seconds.SX30 - play mode, no problem.G12 - record mode, shuts down in ~ 1 minute.G12 - play mode, no problem.Could it be a memory problem in the LUA script system?
Why only in record mode?
Dumping the camera log after the crash gives: ASSERT!! FsIoNotify.c Line 457 Occured Time 2010:12:29 17:07:17 Task ID: 15073312 Task name: SpyTask
There is generally less free memory in rec mode, but the difference shouldn't be that big. More likely it relates to other tasks being more active somehow...
Wait, does it crash, or does the script just die and give you "press shutter to continue" ? Or sometimes one and sometimes the other ?
Started by waldo « 1 2 3 » General Discussion and Assistance
Started by mattkime LUA Scripting
Started by sgllama General Discussion and Assistance
Started by ShahJahan « 1 2 » Script Writing
Started by cdg General Discussion and Assistance