alarm

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by new123, Nov 23, 2011.

  1. new123

    new123

    Joined:
    Nov 23, 2011
    Messages:
    35
    Likes Received:
    0
    Location:
    kuwait
    Hi.
    I am using a magnetic door contact. I want an alarm to ring when the door is opened. I wrote the logic for the lights to be on when the door is opened.

    but i want an alarm from touch screen..is it possible??
     
    new123, Nov 23, 2011
    #1
  2. new123

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    What type of touch screen is it?

    What type of alarm did you have in mind? Are you wanting the touch screen make a sound?
     
    Darren, Nov 23, 2011
    #2
  3. new123

    new123

    Joined:
    Nov 23, 2011
    Messages:
    35
    Likes Received:
    0
    Location:
    kuwait
    yes i want it to make a sound..the touch screen is 5080..
     
    new123, Nov 24, 2011
    #3
  4. new123

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    1. Get a wav file with the sound you require and put it in your project folder
    2. This logic code will play the sound:
    Execute('alarm.wav', '');
    3. When transferring the project, make sure the alarm file is included with the "additional files"
     
    Darren, Nov 27, 2011
    #4
  5. new123

    new123

    Joined:
    Nov 23, 2011
    Messages:
    35
    Likes Received:
    0
    Location:
    kuwait
    thanks

    Thank you Darren
     
    new123, Nov 28, 2011
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.