I would like to create a custom function and access it from a live tuner panel. I have created a Lua file and can load it by identifying it as a <LoadStates> item in the ltp file. It initializes variables that I use in the live tuner panel and seems to work as expected. However, when I add a function definition to the Lua file the live tuner panel does not work as expected. A pointer or two would be greatly appreciated!