Adding an Event
- Updated2025-02-04
- 2 minute(s) read
Adding an Event
Use the Test Specification to create an event trigger to generate a response from your system.
This feature is available only as part of a complete FlexLogger
license. Refer to FlexLogger Editions for more information.
- In your Test Specification document, click Add Event to launch the Configure Event dialog.
-
Create the If condition that will trigger the event.
Table 41. Options for Event If Condition Option Description Channel value change - Click Select channel in the If condition section and map to a configured channel that the event will monitor for a value change.
- Specify the type of Value change the If condition will use to determine the event trigger.
- Specify the data Value that will trigger the event.
- For analog triggers, specify the Hysteresis for the If condition, which is the threshold relative to the Value, to prevent re-triggering of the event if the data varies due to noise or jitter in the signal.
Critical alarm on channel(s) Click Select channel in the If condition section and map to channel(s) that have configured Critical alarms. Warning alarm on channel(s) Click Select channel in the If condition section and map to channel(s) that have configured Warning alarms. Test time elapsed Specify the total duration time of the test. When the test duration is complete, the event will trigger the output action. Test stopped Select to trigger the output action when the test is manually or automatically stopped. Button pressed Click Select action button in the If condition section and choose an action button on the Screen document. Note Multiple events set to trigger on the same condition execute asynchronously and the order of execution cannot be controlled by the user. -
Create the Then condition that will determine the action
generated by the event.
Table 42. Options for Event Then Condition Option Description Set analog output - Click Select channel in the Then condition section and map to a configured channel that the event controls.
- Specify the Value to generate.
Set digital output - Click Select channel in the Then condition section and map to a configured channel that the event controls.
- Specify the Value to generate.
Reset output channels Click Select channel in the Then condition section and map to a channel with enabled reset values. -
Click OK to create the event.
The event appears and can be edited or deleted from the Test Specification document.
-
Click RUN to begin the test and enable the event.
You can disable or enable an event while running a test. To disable/enable the event during testing, hover over the event row and click Disable.
Notice If you set an output value
at the same time as an event sets a value, FlexLogger ignores one of the requests. This
makes the final set value unpredictable.