General Discussions
Get Alarm List

Good afternoon, I am looking to be able to make a query to VTScada using a DSN connection and return a list of all the active alarms in a vtscada application. Maybe with the ability to filter by area. Currently I can query tag data/values with great success.
For example, one query I have setup is the number of active alarms at a site. I do this by creating a calculation tag for a site (context tag) that uses the expression \FunctionLib.GetAlarmStat([Station1]\Root, "ActiveCount" ). I then use an ODBC connection to retrieve that tags value. Lets say it came back with a value greater than zero, indicating an alarm(s) is active, how could I retrieve the names of the active alarms within that area?

Thank you

Good afternoon, I am looking to be able to make a query to VTScada using a DSN connection and return a list of all the active alarms in a vtscada application. Maybe with the ability to filter by area. Currently I can query tag data/values with great success. For example, one query I have setup is the number of active alarms at a site. I do this by creating a calculation tag for a site (context tag) that uses the expression \FunctionLib.GetAlarmStat([Station1]\Root, "ActiveCount" ). I then use an ODBC connection to retrieve that tags value. Lets say it came back with a value greater than zero, indicating an alarm(s) is active, how could I retrieve the names of the active alarms within that area? Thank you
15
1
1
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft