CimTable.SetDataLogPtAlarmTrig (method)

Sets the alarm trigger point and associated states for a specific point in a data table.
Syntax: object.SetDataLogPtAlarmTrig pointID, triggerID, state
Parameters:
pointID As String - The name of the point whose alarm trigger is to be set
triggerID As String - The name of the alarm trigger
state As cimAlarmStateEnum - The corresponding alarm state
Description: The CimTable.SetDataLogPtAlarmTrig method sets the alarm trigger point and state for a specific point in a data table.

Note: This method is only valid for data tables.

Example

alarm_code = cimWarningHigh Or cimWarningLow
dataTable.SetDataLogPtAlarmTrig "POINT_A", "GENERATOR_FAIL", alarm_code