hexagon logo

sound for when the program is finished

how can I get a sound to go off when the program is finished? using 2015.1
Parents
  • Attached are 2 files, CMM_PlayFile.bat and CMM_PlayAudio.bat (as .txt files to upload to the forum).
    Change their extensions and place them in the same folder. Have some code in your PC-DMIS program to run an external program ponting to the batch file. I can't remember if you have to set it to a loop or not.
    Have a file name CMM_Alarm.wav in the same folder and it will run it. (I have one but I can't upload it for 20kb limit)
Reply
  • Attached are 2 files, CMM_PlayFile.bat and CMM_PlayAudio.bat (as .txt files to upload to the forum).
    Change their extensions and place them in the same folder. Have some code in your PC-DMIS program to run an external program ponting to the batch file. I can't remember if you have to set it to a loop or not.
    Have a file name CMM_Alarm.wav in the same folder and it will run it. (I have one but I can't upload it for 20kb limit)
Children
No Data