Piced 3.5 Warning

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by Dave Byron, May 3, 2006.

  1. Dave Byron

    Dave Byron

    Joined:
    Aug 3, 2004
    Messages:
    835
    Likes Received:
    0
    Location:
    Casurina
    Since upgrading to above and opening an operational project I now get lots of the following warning;

    Warning W003 at line 45:40 - Level tag has been used in more than one group address.

    From logic line ;

    SetTriggerLevel("XTrig Blind B1 East", "East Stop");

    attached Toolkit pic

    Is it really saying the same level tag cannot be used on multiple groups ??
    Things like fans have high.med,low.stop many many times in them.


    dave
     

    Attached Files:

    Last edited by a moderator: May 3, 2006
    Dave Byron, May 3, 2006
    #1
  2. Dave Byron

    Mr Mark

    Joined:
    Jan 27, 2006
    Messages:
    322
    Likes Received:
    5
    Location:
    FNQ
    Level Tag Woes

    Dave,
    We found on previous projects this was all OK with the 'older' software.
    The only time it was a hassle was when you had the same tag levels for different groups on the same page. i.e 'Bed 1 Fan' and 'Bed 2 Fan'.
    You couldn't have "HIGH', "MEDIUM", "LOW" and "OFF" for both. One would be OK with the other showing " HIGH 02", "MEDIUM 02" etc...

    This new feature will make it harder when you have a project with say ten fans.
    Is there a possible work around for this apart from labelling tags as "HIGH", ".HIGH", "HIGH.", ".HIGH." for example.

    Oh, and any chance of a custom button in PICED?

    Mark
     
    Mr Mark, May 3, 2006
    #2
  3. Dave Byron

    Dave Byron

    Joined:
    Aug 3, 2004
    Messages:
    835
    Likes Received:
    0
    Location:
    Casurina
    mark,
    U can have the same tag name on different groups on the same page, do it all the time, see attached pic all have high,medium,low and off as tags.
    Is this what u meant ??

    dave
     

    Attached Files:

    • fans.jpg
      fans.jpg
      File size:
      17.1 KB
      Views:
      409
    Last edited by a moderator: May 4, 2006
    Dave Byron, May 4, 2006
    #3
  4. Dave Byron

    Dave Byron

    Joined:
    Aug 3, 2004
    Messages:
    835
    Likes Received:
    0
    Location:
    Casurina
    Have found that "off" works,
    SetCBusState("Local", "Trigger Control", "XTrig Blind B1 East", OFF);
    and percent works
    SetTriggerLevel("XTrig Blind B1 East", 0%);
    but not a tag

    dave
     
    Dave Byron, May 4, 2006
    #4
  5. Dave Byron

    Mr Mark

    Joined:
    Jan 27, 2006
    Messages:
    322
    Likes Received:
    5
    Location:
    FNQ
    Dave,
    Sorry for the confusion. We normally set up one button the control the fan speed, with a label underneath to reflect the set speed. First press sets the speed to high, next press to medium etc...

    Hopefully I've attached a picture showing two such buttons and their labels below.

    Mark
     
    Last edited by a moderator: Jul 1, 2008
    Mr Mark, May 4, 2006
    #5
  6. Dave Byron

    Dave Byron

    Joined:
    Aug 3, 2004
    Messages:
    835
    Likes Received:
    0
    Location:
    Casurina
    Maybe my problem can be fixed before re release or i have to go back to prevoius version.

    dave
     
    Dave Byron, May 4, 2006
    #6
  7. Dave Byron

    Richo

    Joined:
    Jul 26, 2004
    Messages:
    1,257
    Likes Received:
    0
    Location:
    Adelaide
    I'll have to get back to you on that question. Obviously we want to make the minimum number of changes possible. The relevant people are researching the problem and likely impact.
     
    Last edited by a moderator: May 4, 2006
    Richo, May 4, 2006
    #7
  8. Dave Byron

    Matty

    Joined:
    Oct 15, 2004
    Messages:
    131
    Likes Received:
    0
    Hi all,

    The problem lies in the fact that the touch screen uses the V2 Cbus tag format. C-Bus v2 file format only allows level tags to be applied to applications and not to GA's. Toolkit allows level tags to applied to GA's individually.

    Toolkit therefore allows you to create multiple level tags with the same name on differnet GA's. When these are added to logic code for the ctc it doesn't actually know which one it should be using. This warning is saying that each level tag must have a different name for logic to work.

    If it has worked in the past it is only because the same name happened to have the same value.

    It appears that this will cause upgrade problems. This is currently being researched further.

    Regards,

    Matty
     
    Matty, May 4, 2006
    #8
  9. Dave Byron

    Dave Byron

    Joined:
    Aug 3, 2004
    Messages:
    835
    Likes Received:
    0
    Location:
    Casurina



    Worked well on prior version of piced.
    Your keys now have to include network,app,group,level to be unique, then the level tag can be used on all groups.
    But watch the top of the tree as you will have trouble with level 0 being the same as the group.


    dave
     
    Dave Byron, May 4, 2006
    #9
  10. Dave Byron

    ashleigh Moderator

    Joined:
    Aug 4, 2004
    Messages:
    2,391
    Likes Received:
    24
    Location:
    Adelaide, South Australia
    Sorry chaps. Any re-release will concentrate on only 2 issues:

    - upgrade installer

    - sliders not dragging

    To get this out early next week (allowing for testing and the various other QA processes) will be a gut-busting effort.

    Adding any other changes will delay release, possibly for weeks. That won't be permitted to happen.
     
    ashleigh, May 4, 2006
    #10
  11. Dave Byron

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    We found that using the same level tag on multiple groups was causing a crash. For this reason, we added a check to warn that this was going to be a problem. We will look into this further, but I would be surprised if a project using duplicate level tags has ever worked :confused:
     
    Darren, May 4, 2006
    #11
  12. Dave Byron

    Richo

    Joined:
    Jul 26, 2004
    Messages:
    1,257
    Likes Received:
    0
    Location:
    Adelaide
    I think it works if each of the duplicates is on the same level value. E.G a level tag of "halfway" used on the value of 50% on multiple groups. This might explain why some people have no problems. This is ofcourse currently under investigation.
     
    Richo, May 4, 2006
    #12
  13. Dave Byron

    Dave Byron

    Joined:
    Aug 3, 2004
    Messages:
    835
    Likes Received:
    0
    Location:
    Casurina

    Richo
    Your correct had a look, all the levels with same name have same levels, like fans have levels high,med,low and off with same level value. I just copied the first into the others so have 15 fans all with same level settings.
    Have a look at files i send Matty - rodwell project.


    dave
     
    Dave Byron, May 4, 2006
    #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.