Overview
Legend
- Upgrade Firmware Link
- Refresh Application List
- Add/Remove Application
- Save/Run/Download Application
- Name of application shown in editor
- Reset Lua Environment on run
- Settings Link
- Application List
- Application Editor
- Clear Console
- Console Status
- Reboot Screvle
- Console
Application Editor
The application editor is used to write Lua applications. Color-coding is provided to improve the user-experience.
Editing an application
Code Completion
Press CTRL+Space to show code-completion suggestions.
Saving the application
The application can be saved by pressing the Save button or by using the CTRL+S keyboard shortcut.
Downloading an application
The currently open application can be downloaded by pressing the Download button.
Running an application
The currently open application can be executed by pressing the Run button.
Reset Lua Environment on Run
Depending on the status of the "Reset Lua Environment on Run" switch, either of the following happens when running a Lua application.
Symbol | Status | Description |
---|---|---|
On | The Lua environment is reset before running the application. | |
Off | The Lua environment is not reset before running the application. |
When the Reset Lua Environment on Run switch is on (default behavior), the whole context of the Lua environment is cleared before running the application. This means no data from previously ran applications is accessible.
When the Reset Lua Environment on Run switch if off, the existing Lua environment is used to execute the application. This means data from previously ran application is accessible.
Console
The console of the Lua Development Environment provides valuable feedback for the developer.
Error Feedback
When running an application, errors in the Lua script are described.
Debug Output
Using the print function you can output text in the console.
Clearing the console
Content of the console can be cleared by pressing the "Clear Console Output" button:
Console Status
The Lua Development Environment needs to be connected to the Screvle device in order to receive data to show in the console. The Console Status indicator shows whether or not the console is ready to receive data.
Symbol | Status | Description |
---|---|---|
OK | The console is receiving information from Screvle. | |
Error | The console has lost connection with Screvle. |
When the console is not connected, no information can be received. The Lua Development Environment will automatically try to reconnect to Screvle.
Rebooting Screvle
Screvle can be rebooted remotely by pressing the reboot button.
Firmware Upgrade
See Upgrading Screvle Firmware
Settings Editor