Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 2 Current »

Canvas also includes an easy-to-use feature that allows the user to create lists of actions to be completed without the use of scripting. These action lists can be tied to the change in a tag value, opening and closing the page, and other actions similar to a script. The [Action Command Editor] can be accessed from the [Script Editor] window by pressing the (blue star) icon and selecting ‘Create New Action Commands’.

In the [Action Command Editor] the user can choose from a list of actions, and create a series of actions to be executed.

Action

Description

Open Page

Opens the selected page. Users can select the page by name or by its unique index.

Close Page

Closes the selected page. Users can select the page by name or by its unique index.

Set Tag Value

Sets the selected tag to a specified value. Users can select a constant value to write to the tag, or write another tag’s value to the selected tag.

Toggle Tag Value

Toggles the selected tags' value between 1 and 0. Only ‘BOOL’ type tags can be used with this action.

Enter Tag Value

Open a pop up keyboard that allows the user to enter a value to be written to the selected tag. Users can write numeric values or string values to a tag, though the tag must be the correct type to support the entered data. Ex: For a text entry, the tag must be a ‘STRING’ type.

Run Script

Runs the selected script in a new thread. This will not interrupt the operation of currently running scripts.

Import Script

Runs the selected script. This will interrupt any currently running scripts until the imported scripts has completed.

Enable/Disable Schedule

Enables or disables the selected schedule.

Save Alarm CSV

Saves the Alarm Summary to a CSV. Users can select to save the file locally on the Xpanel, to a USB, or to a SD card. Users can also delegate a specific alarm label to be saved in the CSV, all other labels will not be included in the CSV.

Save Data Log CSV

Saves the selected Data Log.

Start/Stop Data Log

Starts or stops the Data Loggers actions depending on the configuration of the action.

Add Row to Data Log

Adds a new entry to the Data Log.

Open Login Window

Opens the login window for the user.

Press Key

Enters the user specified keystroke. Function codes are used to enter specific key strokes, those key codes can be found at the following link: Qt Namespace | Qt Core 5.15.10

Send Screen Notification

Opens a notification window on the screen.

Exit Project

Exits the project and canvas runtime.

Open Config Menu

Opens the Xpanel Settings menu.

Set Translation Language

Sets the language according to the one specified in the Action List.

  • No labels