Support Forums
Replaying Spoken Alarms

I'm currently building an alarm annunciator for speech to text alarms spread out over multiple areas and where there may be multiple alarms active at the same time. I was wondering if there was an option, or if it can be done through scripting, to replay the list of unacknowledged alarms after a set time out and then repeat the cycle until all the alarms have been acknowledged. This would be for audio output only, not text/email/sms notifications. I'm trying to learn as I go here so any help would be greatly appreciated.

I'm currently building an alarm annunciator for speech to text alarms spread out over multiple areas and where there may be multiple alarms active at the same time. I was wondering if there was an option, or if it can be done through scripting, to replay the list of unacknowledged alarms after a set time out and then repeat the cycle until all the alarms have been acknowledged. This would be for audio output only, not text/email/sms notifications. I'm trying to learn as I go here so any help would be greatly appreciated.

Hi and welcome to the support forum.

VTScada has a built in feature that already does a lot of what you're asking for, have a look at this help system article:

https://www.vtscada.com/help/Content/D_AlarmSystem/Dev_SpokenAlarms.htm

If the built in alarm speech isn't a close enough fit for your requirements then you'll need to consider writing a custom script to do what's needed. First steps are a full software level requirements capture from the VTScada perspective, including:

  • What PCs do the sounds play on - servers, clients (runtime and/or VIC and/or Anywhere?)
  • Are the same alarms annunciations played on all servers and/or clients?
    • Are there filters applied for different users types?
  • Redundancy requirements - do these only play on active servers, not backup servers?
  • Etc.

With these questions sorted, the next step will be to determine if the player needs to run in the user session (for thin clients) or as a service (servers and runtime clients).

And then on to creating a script to do the actual work. The script would take on something of the following (help links included):

  1. Setup the speech engine (https://www.vtscada.com/help/Content/Scripting/Tasks/pro_WorkWithSpeech.htm)
  2. Query alarm database for unack'ed alarms with filters as needed (https://www.vtscada.com/help/Content/D_LogAndReport/Dev_ODBCTableStructure.htm?tocpath=Use%20VTScada%7CLog%252C%20Note%252C%20and%20Report%7CSQL%20Queries%7C_____2#TableAlarms)
  3. Are there unack'ed alarms present - Yes, go to step #4, No, go to step #5.
  4. Play required portions of the alarm text through speech engine (https://www.vtscada.com/help/Content/Scripting/Tasks/pro_WorkWithSpeech.htm)
  5. Delay for appropriate amount of time (https://www.vtscada.com/help/Content/Pro_Functions/TimeOut.htm)
  6. Return to step #2 & repeat

Hope that helps.

Hi and welcome to the support forum. VTScada has a built in feature that already does a lot of what you're asking for, have a look at this help system article: https://www.vtscada.com/help/Content/D_AlarmSystem/Dev_SpokenAlarms.htm If the built in alarm speech isn't a close enough fit for your requirements then you'll need to consider writing a custom script to do what's needed. First steps are a full software level requirements capture from the VTScada perspective, including: - What PCs do the sounds play on - servers, clients (runtime and/or VIC and/or Anywhere?) - Are the same alarms annunciations played on all servers and/or clients? - Are there filters applied for different users types? - Redundancy requirements - do these only play on active servers, not backup servers? - Etc. With these questions sorted, the next step will be to determine if the player needs to run in the user session (for thin clients) or as a service (servers and runtime clients). And then on to creating a script to do the actual work. The script would take on something of the following (help links included): 1. Setup the speech engine (https://www.vtscada.com/help/Content/Scripting/Tasks/pro_WorkWithSpeech.htm) 2. Query alarm database for unack'ed alarms with filters as needed (https://www.vtscada.com/help/Content/D_LogAndReport/Dev_ODBCTableStructure.htm?tocpath=Use%20VTScada%7CLog%252C%20Note%252C%20and%20Report%7CSQL%20Queries%7C_____2#TableAlarms) 3. Are there unack'ed alarms present - Yes, go to step #4, No, go to step #5. 4. Play required portions of the alarm text through speech engine (https://www.vtscada.com/help/Content/Scripting/Tasks/pro_WorkWithSpeech.htm) 5. Delay for appropriate amount of time (https://www.vtscada.com/help/Content/Pro_Functions/TimeOut.htm) 6. Return to step #2 & repeat Hope that helps.

Lawrence MacNeil
Trihedral Engineering Limited

48
1
2
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