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):
- Setup the speech engine (https://www.vtscada.com/help/Content/Scripting/Tasks/pro_WorkWithSpeech.htm)
- 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)
- Are there unack'ed alarms present - Yes, go to step #4, No, go to step #5.
- Play required portions of the alarm text through speech engine (https://www.vtscada.com/help/Content/Scripting/Tasks/pro_WorkWithSpeech.htm)
- Delay for appropriate amount of time (https://www.vtscada.com/help/Content/Pro_Functions/TimeOut.htm)
- 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