Toolkit shows wrong groups

Discussion in 'C-Bus Toolkit and C-Gate Software' started by Dave Byron, May 1, 2005.

  1. Dave Byron

    Dave Byron

    Joined:
    Aug 3, 2004
    Messages:
    835
    Likes Received:
    0
    Location:
    Casurina
    With switchs Toolkit can show in its summary line and documentation the wrong groups or the groups in the wrong order,
    see pic1 of switch setup, pic 2 what toolkit shows (wrong order) and pic3 block asssignments.
    Toolkit is using the PP GroupName and not looking at the block assignments.
    Even if you unassign all the keys toolkit still shows the block assignment data.

    dave
     

    Attached Files:

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

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia

    Hi Dave,

    This is correct, Toolkit shows the Groups assigned to the Blocks for Input Units, same as the V2 software.

    To change the software so that the columns in the Units View somehow reflected the Key To Block Mapping would require retrieving additional parameters and a slower scan speed would result.. Possible.. but I'd get caned by everyone who wants faster scan speeds :) I can see some value in the idea.. and will log it for consideration later, perhaps under user control as a preference..

    Thanks for the report.
     
    Duncan, May 1, 2005
    #2
  3. Dave Byron

    Dave Byron

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

    Duncan

    Think not true duncan you already have the memblock allocation picked up in scan and saved in the xml files,
    What you have to do is sort groups by that entry, I do it in my system and works fine.

    PP Name="BlockAllocation" Value="0x1 0x2 0x4 0x8 0x10 0x20 0x40 0x80"/
    PP Name="GroupAddress" Value="0x82 0x5b 0x25 0x55 0x4a 0x2e 0x4e 0x46 0xff"/

    How do you supply the user with a switch configuration layout that is not correct - what i get is a note from them says fix.

    Ps do you need the logic flowchart - just kiding

    dave
     
    Last edited by a moderator: May 1, 2005
    Dave Byron, May 1, 2005
    #3
  4. Dave Byron

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia
    Dave,

    The Columns in the Network and Database views need to be the same.. so whilst we could display a different columnar arrangement in the DB View that somehow attempts to add information about Key to Block mapping.. that would mean the Network and Database views would then be different..

    End-user documentation is a whole other thread and its something we're working on.
     
    Duncan, May 1, 2005
    #4
  5. Dave Byron

    Dave Byron

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

    so why not put the code in both views and documention

    dave
     
    Dave Byron, May 2, 2005
    #5
  6. Dave Byron

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia
    Dave,

    This means a SLOWER scan speed as we need to retrieve more parameters from each unit.. Given that this is the way it was in V2 without a great deal of complaint I need to hear from other users who would also prefer to see the columns display the key to block mapping AND who are going to be happier with the slower scan speed.
     
    Duncan, May 2, 2005
    #6
  7. Dave Byron

    Dave Byron

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

    Wrong
    the data is already in the scanned data so NO change to speed
    ie
    PP Name="BlockAllocation" Value="0x1 0x2 0x4 0x8 0x10 0x20 0x40 0x80"/

    this is what the unit display uses to show the correct layout
    Logic is
    if BlockAllocation data display in that order
    else display in groupaddress order



    and in v2 you could only first few groups and documentation was bad


    dave
     
    Last edited by a moderator: May 2, 2005
    Dave Byron, May 2, 2005
    #7
  8. Dave Byron

    ashleigh Moderator

    Joined:
    Aug 4, 2004
    Messages:
    2,397
    Likes Received:
    26
    Location:
    Adelaide, South Australia
    What you see is a line in an XML file, which represents the database view. This is not neccessarily what is stored in the unit.

    The unit stores a lot of information in a form that is useable by the built-in firmware. By neccessity the storage format is determined by whats needed to get the firmware size small and executing fast. It is not optimised for retreival by Tookit (and this represents another one of those nasty trade offs where there is no simple "correct" answer).

    Duncan is quite correct when he says that for network scan, extra information would need to be retreived from the unit (though not from the database if it is already there.) Consequently this will reduce the network scan speed.

    Please - can this be the last word on this matter?
     
    ashleigh, May 2, 2005
    #8
  9. Dave Byron

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia

    Dave,

    It IS possible in the DB view as you suggested.. but that parameter is NOT retrieved during the Network Scan that is conducted to fill the Network Units View.

    At this point. We are NOT prepared to have DB and Network views that don't match. We already have some small inconsistencies between the two that we're are looking to resolve in the next release.

    Please trust me when I say that to change the Network Units View to dispay anything about Key To Block Mappings will necessitate the retrieval of additional parameters during the Network Scan. Resulting in a slower scan speed.

    We're happy to consider this functionality, perhaps under the control of a User Preference... but it WILL result in a slower scan speed.
     
    Duncan, May 2, 2005
    #9
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.