Piced V4 Upgrade issue

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by Woody, Nov 11, 2007.

  1. Woody

    Woody

    Joined:
    Nov 19, 2006
    Messages:
    41
    Likes Received:
    0
    Location:
    Adelaide Hills
    Hi all,
    I have today upgraded Piced & a colour C-Touch to version 4. Nothing else changed in programing, just upgrading Piced & homegate on touchscreen. The screen when downloading the current project came up with error in logic then directed you to the logic Engine. I press OK & it returns to the main theme page. The CTouch then runs normally with no logic functions operating. I have checked & compiled all logic in piced v4 with no problems showing up. Reset colour ctouch to default project, then sent correct project through again. The same error message reappears.

    Any help :eek:

    Cheers Shane
     
    Woody, Nov 11, 2007
    #1
  2. Woody

    ICS-GS

    Joined:
    Nov 1, 2004
    Messages:
    347
    Likes Received:
    0
    Location:
    SE Melbourne
    case SenSitIve

    i had exactally the same experience. It appears that the logic engine (was not befoe or is now) case sensitive, check out you GA tage used in the code. I had to change quite a few of mine.

    I cant remember wether i may have typed some of the code (with incorrect case) directly or the old wizard did it for me, but once i fixed it it was all smooth sailing from there.

    Perhaps darren could shed some more light on this.

    good luck!

    Grant
     
    ICS-GS, Nov 11, 2007
    #2
  3. Woody

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    Can you open the logic editor and tell me what the error message is ? Without knowing that it is hard to say what the problem could be.
     
    Darren, Nov 15, 2007
    #3
  4. Woody

    filpee

    Joined:
    May 31, 2006
    Messages:
    204
    Likes Received:
    0
    Location:
    Western Australia
    I have what i think is the same problem.

    Compiles fine on my laptop but get a logic error message on the colour touch.

    Ran out of time to properly diagnose. Is there some sort of error log on the c-touch that i can look at?
     
    filpee, Nov 15, 2007
    #4
  5. Woody

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    The compiler errors do not go into the log.

    The only way to know what is going on is to open the logic engine to look at the error message. This requires a button on the tools page to open the logic editor.
     
    Darren, Nov 15, 2007
    #5
  6. Woody

    Woody

    Joined:
    Nov 19, 2006
    Messages:
    41
    Likes Received:
    0
    Location:
    Adelaide Hills
    Grant,
    Your on the money, Case sensitive on the screen, but not on the laptop. Changed bad lines & all back to normal.

    Cheers Shane

    :D
     
    Woody, Nov 18, 2007
    #6
  7. Woody

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    Can you provide some more specific details of the cause of the problem and the fix please ?
     
    Darren, Nov 19, 2007
    #7
  8. Woody

    ICS-GS

    Joined:
    Nov 1, 2004
    Messages:
    347
    Likes Received:
    0
    Location:
    SE Melbourne
    Darren,

    I cannot remember the exact error number on the c-touch unit. But it did give you the line numbers of the faulty code.

    Lets use GA / tag=BedRoom1_switch as an example

    In PICED if you manually enter some code (or maybe the old editor changed the case of the GA's - TBC).

    Say the existing code was something along the lines of:
    (i am not using the correct syntax as i do not have PICED on this PC)

    once get lighting state Bedroom1_switch = ON then set lighting state Bedroom light, ON

    This code seemed to compile and work ok on V3.9

    BUT when upgraded to V4.0, if the correct case is not used for the GA's then an error message is displayed and the logic does not seem to run. So the code above would have to be:

    once get lighting state BedRoom1_switch = ON then set lighting state Bedroom light, ON.

    And if this has been repeated many times in the code 9and for different GA's it is quite a painful task to go through and change.



    Maybe a nice right mouse click in the editor menu would be to "select c-bus GA" (or something to that effect) and lookup the GA names in the database rather than have to enter a c-bus command, select the correct GA to confirm exactally how the GA should be represented in the editor. This way we could highlight a GA in the code, right click, select new GA to replace old, and the code is updated with the correct tag.

    I hope this helps

    Cheers

    Grant
     
    ICS-GS, Nov 20, 2007
    #8
  9. Woody

    Lucky555

    Joined:
    Aug 13, 2007
    Messages:
    229
    Likes Received:
    0
    Darren

    It would be really handy if we could right mouse click and easily select a C-Bus GA from the tags availalable in the project.xml file in C-Gate :confused:
     

    Attached Files:

    Lucky555, Nov 20, 2007
    #9
  10. Woody

    ICS-GS

    Joined:
    Nov 1, 2004
    Messages:
    347
    Likes Received:
    0
    Location:
    SE Melbourne
    just wondering if this bug has been confirmed / rectified???
     
    ICS-GS, Jan 3, 2008
    #10
  11. Woody

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    The case sensitivity problem with C-Bus tags in the Colour C-Touch has been fixed in PICED V4.1 which can be obtained from the C-Bus Downloads Web Site.
     
    Darren, Jan 4, 2008
    #11
  12. Woody

    Christian

    Joined:
    Dec 20, 2004
    Messages:
    14
    Likes Received:
    0
    Not Fixed

    Darren

    Sorry to tell you this but i have just installed Piced V 4.1 from the website and am experiencing the exact same issue.
     
    Christian, Jan 8, 2008
    #12
  13. Woody

    Matty

    Joined:
    Oct 15, 2004
    Messages:
    131
    Likes Received:
    0
    I have tried a few combinations of upper and lower case tags in the logic engine. PICED v4.1 and the CTC package v4.1 both appear to be working as I would expect them to. This included randomly changing the case of characters throughout tags. Version 4.0 will raise a compiler error while version 4.1 happily runs the code.

    I'm curious if something may have gone wrong in the update of the CTC firmware from version 4.0 to 4.1. My other suspicion is that there may be a conflict of tags existing where a two tags exists one with lower case and one with upper case characters.

    Perhaps check the group lists in the toolkit database for any duplicates and check the firmware of the CTC has successfully updated to 4.1.

    Regards,

    Matty
     
    Matty, Jan 14, 2008
    #13
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.