Compile Error on C-Touch Unit.

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by Dave Byron, Mar 27, 2008.

  1. Dave Byron

    Dave Byron

    Joined:
    Aug 3, 2004
    Messages:
    835
    Likes Received:
    0
    Location:
    Casurina
    Needed to replace a unit that did not survive last nights storm with a new unit.

    When download the project to the C-touch unit get a "Compile logic error 14097"

    This project has not been changed for a long time so when first saved get the expected message about made with old version of Piced.

    Using Piced version 4.3.0.0

    In Piced compiles OK
    Error report show nothing ? just the usual warnings

    But when downloaded the C-Touch shows the error / warning ? the help file not sure if it a warning or error.

    Now the question is how do u fix when Pice says no errors.
    dave
     

    Attached Files:

    Dave Byron, Mar 27, 2008
    #1
  2. Dave Byron

    AliG

    Joined:
    Nov 10, 2004
    Messages:
    3
    Likes Received:
    0
    check the group description names. I had a similar problem and the software compiled ok but the screen didnt like it.

    Found that some of the tags had change from lower to upper case or vice versa.

    changed them to match toolkit and all was ok
     
    AliG, Mar 27, 2008
    #2
  3. Dave Byron

    Dave Byron

    Joined:
    Aug 3, 2004
    Messages:
    835
    Likes Received:
    0
    Location:
    Casurina
    You maybe on to something.
    Problem is I do not have a spare C-Touch unit to test with.

    In Piced logic there is
    if getTriggerLevel("Xtrig Page no") >0 then

    But the logic report shows
    Group Address 19 (Xtrig Page No) is controlled by :

    Which is the same as in Toolkit.

    Are the Piced and Homegate compilers not 100% compatible ??.

    dave
     
    Dave Byron, Mar 27, 2008
    #3
  4. Dave Byron

    ashleigh Moderator

    Joined:
    Aug 4, 2004
    Messages:
    2,392
    Likes Received:
    24
    Location:
    Adelaide, South Australia
    Should be compatible.
     
    ashleigh, Mar 27, 2008
    #4
  5. Dave Byron

    Dave Byron

    Joined:
    Aug 3, 2004
    Messages:
    835
    Likes Received:
    0
    Location:
    Casurina
    ashleigh,
    But are they.
    Be nice if the C-Touch Homegate gave a line number or something to track.
    A clue were to look would be nice.

    Be even nicer if good compile in Piced worked in a C-Touch unit.

    PS
    Sent all the files to Tech services for someone to have a look at.

    dave
     
    Dave Byron, Mar 27, 2008
    #5
  6. Dave Byron

    Matt

    Joined:
    Aug 3, 2004
    Messages:
    26
    Likes Received:
    2
    Location:
    Cairns North Queensland
    I Am Getting This Too.......

    I am getting this problem too i downloaded using the latest piced (4.3.0)

    is it possible that the group addresses are to long.... and that they are being shortend when they are downloaded and therefor are not matching up ???

    or is there somthing else at play here

    thanks
     
    Matt, Mar 29, 2008
    #6
  7. Dave Byron

    ICS-GS

    Joined:
    Nov 1, 2004
    Messages:
    347
    Likes Received:
    0
    Location:
    SE Melbourne
    ICS-GS, Mar 29, 2008
    #7
  8. Dave Byron

    Matt

    Joined:
    Aug 3, 2004
    Messages:
    26
    Likes Received:
    2
    Location:
    Cairns North Queensland
    Fixed it

    i have found the problem it seems that it was just a extra space at the end of the tag name that was doing it

    i had

    (GetLightingState ("Master Bedroom Light ") = OFF

    where as it should of been...

    (GetLightingState ("Master Bedroom Light") = OFF

    Strange that it would piced would let this through and let it compile

    oh well now i know to watch for that
     
    Matt, Apr 3, 2008
    #8
  9. Dave Byron

    Dave Byron

    Joined:
    Aug 3, 2004
    Messages:
    835
    Likes Received:
    0
    Location:
    Casurina
    The Clipsal TS black hole.

    It would be nice if the Clipsal TS section was not just a dead end email address, despite what we were assured in the last Adelaide meet.

    I sent an email to them on the 27/3/08 and as yet;
    • no acknowledge that the email received,
    • no report number
    • nothing says they working on it.


    Just dead silence
    dave
     

    Attached Files:

    Last edited by a moderator: Apr 3, 2008
    Dave Byron, Apr 3, 2008
    #9
  10. Dave Byron

    [IL]NewGen

    Joined:
    Aug 3, 2004
    Messages:
    121
    Likes Received:
    0
    Location:
    Melb, Australia
    hehehe, just a simple space can cause mismatch within the logic engine:D

    an alternate solution u can replace the tag description with the corrisonding group address; for example:
    Your:

    (GetLightingState ("Master Bedroom Light") = OFF)

    can also be written as:

    {Keep your descriptions there but comment them out to eliminate confusion or errors during your programming}
    (GetLightingState (130 {"Master Bedroom Light "}) = OFF)
     
    [IL]NewGen, Apr 4, 2008
    #10
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.