To create an event-based entry:
- Open the schedule that you want to add the event-based entry to by double-clicking it in the Schedules folder of the iFIX WorkSpace system tree, or create a new schedule by clicking the New Schedule button on the Standard Toolbar.
- Right-click a row in the schedule. From the pop-up menu, select Add New Event Entry. The Add Event Entry dialog box appears.
- Enter the data source that will trigger the event-based script for the entry, or click Browse to launch the Expression Builder dialog box. If you are using a tagname expression as a data source, click Quick Modify to modify the properties of a block directly without launching the Database Manager.
NOTE: The data source can be a process value, object property, VBA script, or mathematical expression.
- From the Event Type menu, select the condition for triggering action.
- If you selected While True or While False for the Event Type, enter an interval in the Interval field.
- If you selected a historical data source, complete the Historical Properties tab. To do so:
- From the Historical Mode list, select a mode.
- In the Update Rate area, select the hours, minutes, and seconds for the update rate. If you chose a historical mode other than Current Value, go to Step C. Otherwise, go to Step 7.
- In the Start Date area, choose whether to use a fixed date or a relative date, (Days Before Now). Depending on your selection, select either the date or the Days Before Now.
- In the Start Time area, choose whether to use a fixed time or a relative time, (Duration Before Now). Depending on your selection, select either the time, and optionally, Lock Time, or the hours, minutes, and seconds for the Duration Before Now.
- From the Time Zone list, choose a time zone.
- In the Duration Area, select the days, hours, minutes, and seconds for the duration.
- Click either Run Wizard or VB Editor to create a script for the event. Complete the actions as necessary.
- Click OK.