Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Historian

InvokeEventAtTimeEx()

  • Last UpdatedMar 07, 2025
  • 1 minute read

Triggers the event at a specified date/time.

Method

InvokeEventAtTimeEx(string TagName, string EventDateTime)

Remarks

You can invoke an unlimited number of events after you initialize with an AVEVA Historian.

Parameter

TagName

Name of the event tag with which the ActiveEvent event detector is associated. ActiveEvent is used with an external type event detector.

EventDateTime

Date/time that you want the event triggered. This date is in local time for the Historian. The event date and time must be formatted as:

YYYY-MM-DD hh:mi:ss.mmm

Returns Value

0 = Success.

1 = Unknown failure.

2 = Unable to execute method because ActiveEvent is not initialized.

5 = Unable to perform date/time conversion due to invalid format.

6 = Date/time cannot be a future date.

7 = Remote function call failed.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in