Trigger Overview. Pharos LPC X, DESIGNER, LPC 1/2/4, TPC, BPS, Rio
Hirdetés
Hirdetés
Pharos Designer User Manual
Trigger Overview
Keyboard Shortcuts
Ctrl+N Create a new trigger of the last created type
Ctrl+left-click on a trigger, condition or
Toggles its selection
action
Shift+left-click Select a range of triggers, conditions or actions
Ctrl+A
When nothing is selected, select all triggers; when a condition or action is selected, selects all conditions/actions of the parent trigger
Hold Ctrl while dropping a dragged
trigger
Hold Shift while dropping a dragged
condition or action
Create a copy of the trigger at the drop location
Move the condition or action to the trigger it is dropped on
Delete/Backspace
Up/Down
Shift + Up/Down
Ctrl + Up/Down
Left/Right
Space
Ctrl + Space
Ctrl+B in Script Editor
Delete selected triggers, conditions or actions
Move current row indicator up and down, and select the row
Move current row indicator up and down, and add the row to the selection
Move current row indicator up and down, but don't change the selection
Collapse/Expand current trigger
Select current row
Add current row to the selection
Compile script
The Trigger window is used to “connect” your timeline programming to the outside world:
- 210 -
Trigger Overview
Controllers support a range of interfaces which can be used to Trigger the playback engine including an internal realtime & astronomical clock. For example, digital input #1 (connected to a wall panel) could be set to start “Funky” timeline, “Advert” can be set to run on the hour every hour between sunrise and sunset and, at sunset, “Cleaning” would start.
This tab contains two sections. The main section in the middle is the Trigger management area
Creating A Trigger
To create a Trigger, click New Trigger in either the Trigger toolbar or the Configuration Pane. Select the required type from the dropdown menu, see
.
Configuring A Trigger
l l l l l l l l l
Type - the Trigger type
Number - the Trigger's unique number as used for
control purposes (can typically be left at the default value unless creating custom pages)
Name - an identifier for the Trigger used in the Trigger Management Area, Simulate and Web Interface
Description - a more detailed description for use in Reports.
Group - the group that the Trigger belongs to (defined by colour) e.g. Red = outside, Green = inside
Controller - the controller that will process the Trigger, note that Realtime, Astronomical and Ethernet Input
Triggers are processed by the
so the selection is limited to None or Time
Enabled - uncheck to prevent the Trigger from running
Absorb on match - uncheck to prevent the Trigger absorbing the match, see below
Parameters - the data required for each Trigger type, varies by type so refer to the appropriate Trigger descriptions
Inhibiting A Trigger
For testing purposes it is sometimes useful to inhibit one or more Triggers to examine more clearly the operation of others. A Trigger can be inhibited by unchecking the Enabled box in the Trigger configuration, the row details will be displayed in a grey .
Trigger Order & Matching
The order in which Triggers are displayed in the Trigger Management Area is the order in which they are tested by the system. Once a Trigger is successfully matched then,if "Absorb on match"is checked, no further Triggers are tested for that event; the event is absorbed.Thus this Trigger order is important, particularly when using
If you had two identical Triggers in your show then, assuming they had no Conditions, only the first one encountered would ever be matched. However, if you add a Condition to the first Trigger then it will only match when the
Condition is true, and when it is false the second Trigger will match instead.
The ability to have the same Trigger have different results based on a Condition is very powerful. For instance you might have a single digital input that starts one timeline during the day and another during the night.
Changing The Trigger Order
You can select and drag the Trigger up or down within the management area to redefine the order
- 211 -
Pharos Designer User Manual
Absorb On Match
In some cases it is useful for a matched Trigger not to absorb the event and thus allow Triggers further down the list, so there exists the option to disable the default behaviour (for Triggers other than Realtime & Astronomical clock which default to unchecked) by unchecking the "Absorb on match" box for each Trigger as required.
Conditions
If you wish to constrain the Trigger with a Condition then use the New Condition button in either the Trigger Toolbar or the Condition Configuration area. This will open a menu to select the required type, see
Up to 50 Conditions can be applied to each Trigger in this way and you can select each one for configuration from the
Trigger Management Area.
Configuring A Condition
l l l
Type - the Condition type
Negate - check to invert the operation of the Condition i.e. if the Condition does not match
Parameters - the data required for each Condition type, varies by type so refer to the appropriate Condition descriptions
Changing The Condition Order
To change the order in which Conditions are tested, select the Condition in the Trigger Management Area and drag it to the required location within the Trigger.
Actions
Every Trigger needs an Action, the thing to do, which you can add to a Trigger using the New Action button in either the Trigger Toolbar or the Action Configuration area. This will open a menu to select the required type, see
Up to 50 Actions can be applied to each Trigger in this way and you can select each one for configuration from the
Trigger Management Area.
Configuring An Action
l l l
Type - the Action type
Controller - the controller that will process the Action
Parameters - the data required for each Action type, varies by type so refer to the appropriate Action descriptions
Changing The Action Order
To change the order in which Actions are executed, select the Action in the Trigger Management Area and drag it to the required location within the Trigger.
Copying A Trigger, Condition Or Action
Select the Trigger, Condition or Action to be copied in the management area and use the Copy option in the appropriate section of the Trigger Toolbar or right-click > Duplicate [Trigger, Condition or Action] to create a duplicate
- 212 -
Trigger Overview immediately below the current selection. When you duplicate a Trigger, the Conditions and Actions for that Trigger are duplicated as well.
To create a copy of an Action in a different Trigger, you can select the Action in the Trigger Management Area and drag it into the destination Trigger.
Deleting A Trigger, Condition Or Action
Select the Trigger, Condition or Action to be deleted in the management area and use the Delete option in the appropriate section of the Trigger Toolbar or right-click > Delete [Trigger, Condition or Action] delete the current selection. When you delete a Trigger, the Conditions and Actions for that Trigger are deleted as well.
Trigger Filtering
To filter Triggers by their group, you can use the Filter... option in the Trigger Toolbar. The Filter toolbar will be shown:
You can filter Trigger by their Type or by their
.
You can disable filtering by Type and Group with the appropriate checkboxes.
Lua Script Editor
The Lua Script Editor allows you to edit scripts from Triggers, Conditions and Actions within Designer. The Script
Editor is launched by pressing the Script Editor button on the Trigger Toolbar:
The main area of the editor is the code editor where you enter the source code of the script. The code editor will colour the Lua syntax to aid readability. Standard clipboard shortcuts and undo/redo are supported.
To create a new script for use in Conditions or Actions click New Script.
on the Script Tab.
Scripts can be opened using the Open option and closed with the
To import a Lua script from an external file, use Import.
To save a Lua script to a file, use Export.
- 213 -
Pharos Designer User Manual
To compile the script and check for syntax errors, use Build. If there are errors in the script, they will be displayed at the bottom of the window.
Changes to scripts are saved automatically.
Find
Pressing Ctrl(Cmd) + F will open the find bar in the script editor.
This allows you to search for text within your script.
Aa If selected, the case must match
|Abc| If selected, the whole word must match
.* If selected, Regular Expressions can be used in the search box
- 214 -
Letöltés
Hirdetés