Difference between revisions of "Server Trigger"
(Created the page) |
(Added more description) |
||
Line 1: | Line 1: | ||
A server trigger can be added to both Signal Reader and Softhub assignments. | A server trigger can be added to both Signal Reader and Softhub assignments. | ||
A server trigger consists of a label and a trigger expression. When a new result file is uploaded from the WCU for the given assignment, the trigger expression is evaluated on the measured signals and if the condition is met the label is added to the result file. | |||
Server triggers require that module names are included in the result files. | Server triggers require that module names are included in the result files. | ||
In order to add one or more server triggers to an assignment, follow these steps in new task: | |||
# Upload your assignment file. | |||
# If you are creating a softhub assignment, make sure you include module names in the result files by checking either of these checkboxes (they are by default): | |||
# Click the "Add server triggers button" | |||
# You are presented with a window with a small table, click "Add new" to add a new server trigger to the assginment. | |||
# You are automatically requested to name the label that the server trigger should apply to the result file when the trigger expression is reached. Click "Enter" or somehwere on the screen when done with the name. | |||
# Click "Edit trigger expression" to create the trigger expression for the server trigger. | |||
# When you are done, use the "Validate" button to validate that your expression is ok and click save. | |||
# The server trigger is now marked '''green''' to indicate that its trigger expression is valid. '''Yellow''' would mean it was unvalidated and '''red''' would mean it had a faulty trigger expression which will not be possible to evaluate. | |||
# Add additional server triggers that you want for the assignment and click "Save". | |||
To find the result files that the server triggers have triggered on, go to the Tasks panel, find the assignment and click "Get result files". Here you can now search for result files from this assignment using labels for result files. If you cannot find a label that you put on a server trigger, it means that the server trigger has not yet been triggered by a result file. |
Revision as of 16:37, 11 December 2018
A server trigger can be added to both Signal Reader and Softhub assignments.
A server trigger consists of a label and a trigger expression. When a new result file is uploaded from the WCU for the given assignment, the trigger expression is evaluated on the measured signals and if the condition is met the label is added to the result file.
Server triggers require that module names are included in the result files.
In order to add one or more server triggers to an assignment, follow these steps in new task:
- Upload your assignment file.
- If you are creating a softhub assignment, make sure you include module names in the result files by checking either of these checkboxes (they are by default):
- Click the "Add server triggers button"
- You are presented with a window with a small table, click "Add new" to add a new server trigger to the assginment.
- You are automatically requested to name the label that the server trigger should apply to the result file when the trigger expression is reached. Click "Enter" or somehwere on the screen when done with the name.
- Click "Edit trigger expression" to create the trigger expression for the server trigger.
- When you are done, use the "Validate" button to validate that your expression is ok and click save.
- The server trigger is now marked green to indicate that its trigger expression is valid. Yellow would mean it was unvalidated and red would mean it had a faulty trigger expression which will not be possible to evaluate.
- Add additional server triggers that you want for the assignment and click "Save".
To find the result files that the server triggers have triggered on, go to the Tasks panel, find the assignment and click "Get result files". Here you can now search for result files from this assignment using labels for result files. If you cannot find a label that you put on a server trigger, it means that the server trigger has not yet been triggered by a result file.