25.6 Controlling Lua Execution With a Host Application
Host applications can easily be used to control multiple lua execution blocks through the use of USER_RAM registers and simple "if, else" statements in lua. Examples in multiple languages can be found below.
C -- see lua_execution_control.c under more\lua in the C/C++ for LJM examples package
Python -- see lua_execution_control.py under Examples\More\Lua in the Python for LJM package
LabVIEW -- see lua_exection_control.vi under Examples\More\Misc in the LabVIEW for LJM package