Creating Event-Based Entries

To create an event-based entry:

  1. 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.
  2. Right-click a row in the schedule. From the pop-up menu, select Add New Event Entry. The Add Event Entry dialog box appears.
  3. 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.

  1. From the Event Type menu, select the condition for triggering action.
  2. If you selected While True or While False for the Event Type, enter an interval in the Interval field.
  3. If you selected a historical data source, complete the Historical Properties tab. To do so:
    1. From the Historical Mode list, select a mode.
    2. 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.
    3. 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.
    4. 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.
    5. From the Time Zone list, choose a time zone.
    6. In the Duration Area, select the days, hours, minutes, and seconds for the duration.
  4. Click either Run Wizard or VB Editor to create a script for the event. Complete the actions as necessary.
  5. Click OK.

See Also