Go to documentation repository
Previous page Next page
The VNS object corresponds to the Voice notification service system object.
List of commands and parameters for the VNS object is presented in the table:
Command—command description | Parameters | Description |
"SETUP"—settings of the voice notification service | card<> | Name of audio device. Note. The card name must correspond to the name specified in the settings of the sound card of the Voice notification service |
level<> | Level of signal. The value of the parameter varies from 0 to 15. By default, it is 8 | |
channel<> | Set of audio channels. Possible values of the parameter: 0—no audio channel; 1—left playback channel; 2—right playback channel; 3—left and right playback channels (both channels) | |
flags<> | Flags | |
ip<> | IP address of network device | |
name<> | Object name | |
pass<> | Password | |
user<> | Username | |
"PLAY"—play audio file | file<> | Full path to the audio file in .wav format (indicating the name of the file being played. For example: C:\Program Files (x86)\PSIM\Wav\cam_alarm_1.wav). Note. If only the file name is specified, the default path to the file is taken from the InstallPath key in the section HKEY_LOCAL_MACHINE\SOFTWARE\AxxonSoft\PSIM (HKEY_LOCAL_MACHINE \Software\Wow6432Node\AxxonSoft\PSIM for 32-bit system), in the value of the InstallPath parameter. In this parameter, you can play several audio files using the "+" operation |
| "STOP"—stop playing audio file | - | - |
Properties of the VNS object are shown in the table.
Properties of the VNS object | Description of properties |
ID<> | Object ID |
PARENT_ID<> | Parent object ID |