Logic Execute won't play a sound, but Special Function will

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by ssaunders, Jun 1, 2013.

  1. ssaunders

    ssaunders

    Joined:
    Dec 17, 2008
    Messages:
    242
    Likes Received:
    35
    Location:
    Melbourne
    On a 5080CTC2 I've got a situation I can't explain: Using a sound file with a 'Program, Run' special function results in my sound playing when the button is activated. All good. Then in the same project in logic, I use a statement to play exactly the same sound file:

    Code:
    Execute('notify.wav','');
    No sound. Nothing.

    Ive verified that the code is actually executing by intentionally getting the file name wrong in the execute statement. In that case, the touch pops up a message saying it can't find the file, which is as expected proving that the logic line is being reached.

    The logic also runs fine in PICED. Laptop dutifully plays the sound. Weird.

    PICED and loaded firmware are latest versions.
     
    ssaunders, Jun 1, 2013
    #1
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.