I'm attempting to use the LUA console with the hornet and have been unable to have values returned from instruments.
Some commands I have tried:
return LoGetPilotName()
[string "1559784790775"]:1: attempt to call global 'LoGetPilotName' (a nil value)
return GetDevice(0):get_argument_value(12)
[string "1559785211764"]:1: attempt to call global 'GetDevice' (a nil value)
return list_indication(0)
[string "1559785366212"]:1: attempt to call global 'list_indication' (a nil value)
I've attempted using the mission environment as well as export as suggested here:
https://forums.eagle.ru/showthread.php?t=198213&highlight=witchcraft+LUA
Is there a possible reference somewhere I'm missing that the console can't find the functions I'm calling? I have been able to successfully run the template commands.