Go to documentation repository
...
Playback the audio file when the camera stops recording:
| Code Block |
|---|
OnEvent("CAM",N,"REC_STOP")
{
DoReact("PLAYER","1","PLAY_WAV","file<C:\Program Files (x86)\Axxon PSIM\Wav\cam_alarm_"+N+".wav>","from_macro<1>");
} |
Stop playing back the audio file when the camera starts recording:
| Code Block |
|---|
OnEvent("CAM",N,"REC")
{
DoReact("PLAYER","1","STOP_WAV");
} |