CimAlarmClass.AlarmHiWaveFile (property)

Gets and sets the alarm hi state wave file.
Syntax: String = object.AlarmHiWaveFile
object.AlarmHiWaveFile = String
Description: The AlarmHiWaveFile property gets and sets the alarm hi state wave file played.


Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "d:\classes\classes.gef"
Dim alarmClasses As CimAlarmClassList
Dim alarmClass As CimAlarmClass
Set alarmClasses = project.AlarmClasses
Set alarmClass = alarmClasses.Item("NCRIT")
alarmClass.AlarmHiWaveFile = "AlarmSound.wav"
alarmClass.Save False