Even when starting AM the panel script is executed.
Code: Select all
2021-05-03 06:40:04 INFO AMBase - Initializing
2021-05-03 06:40:04 INFO AMBase - HW id = xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2021-05-03 06:40:06 ERROR InstrumentScanner - Instrument Switcher panel: Error loading instrument script: [string "logic.lua"]:186: attempt to call a nil value (field 'load_config')
2021-05-03 06:40:06 ERROR InstrumentScanner - Instrument Switcher panel: Error loading instrument script: [string "logic.lua"]:186: attempt to call a nil value (field 'load_config')
2021-05-03 06:40:06 ERROR InstrumentScanner - Instrument Switcher panel: Error loading instrument script: [string "logic.lua"]:186: attempt to call a nil value (field 'load_config')
Code: Select all
2021-05-03 06:45:08 ERROR InstrumentScanner - Instrument Switcher panel: Error loading instrument script: [string "config_loader.lua"]:150: bad argument #1 to 'for iterator' (table expected, got nil)
2021-05-03 06:45:08 ERROR InstrumentScanner - Instrument Switcher panel: Error loading instrument script: [string "config_loader.lua"]:150: bad argument #1 to 'for iterator' (table expected, got nil)
2021-05-03 06:45:08 ERROR InstrumentScanner - Instrument Switcher panel: Error loading instrument script: [string "config_loader.lua"]:150: bad argument #1 to 'for iterator' (table expected, got nil)
2021-05-03 06:45:08 ERROR InstrumentScanner - Instrument Switcher panel: Error loading instrument script: [string "config_loader.lua"]:150: bad argument #1 to 'for iterator' (table expected, got nil)
2021-05-03 06:45:08 ERROR InstrumentScanner - Instrument Switcher panel: Error loading instrument script: [string "config_loader.lua"]:150: bad argument #1 to 'for iterator' (table expected, got nil)
2021-05-03 06:45:08 ERROR InstrumentScanner - Instrument Switcher panel: Error loading instrument script: [string "config_loader.lua"]:150: bad argument #1 to 'for iterator' (table expected, got nil)
2021-05-03 06:45:08 INFO SiRunner - Instrument Switcher panel: logic.lua started
2021-05-03 06:45:08 INFO SiRunner - Instrument Switcher panel: PanelConfig.load called
I expect the panel script is executed only once after instrument loading when the panel is started. Perhaps these errors also causes user properties not to be visible which is another issue.