Longer than 8 char project names

Discussion in 'C-Bus Toolkit and C-Gate Software' started by grasshopper, Jul 15, 2014.

  1. grasshopper

    grasshopper

    Joined:
    Sep 18, 2009
    Messages:
    37
    Likes Received:
    0
    Location:
    australia
    Hi there,

    This may well be a basic C-Bus 101 must know, but the answer eludes me.

    I was wondering if there was any way to circumvent the 8 character limitation on Project names, in toolkit. This can be restrictive and forces me to use unintuitive naming conventions. I'm pretty sure I've seen this done previously but can't work out where the preferences setting for something like this may be.

    Thanks in advance..

    ---------------------
    Ok, so I've tried to edit the .xml filename and all appears to still be working fine even with a much longer name than the 8char limit imposed by Toolkit.
    Can someone confirm if this has the potential of corrupting anything down the track?
     
    Last edited by a moderator: Jul 15, 2014
    grasshopper, Jul 15, 2014
    #1
  2. grasshopper

    daniel C-Busser Moderator

    Joined:
    Jul 26, 2004
    Messages:
    770
    Likes Received:
    21
    Location:
    Adelaide
    Hi grasshopper,

    The units themselves only have 8 characters to store the project name in them, so that's where the original limit came from.

    This is how the "Find C-Bus Networks" feature works; it retrieves a project name from the interface unit and prompts you to create a new project (or use an existing project) with that name. So you might see odd behaviours if you depended on that feature, but you can bypass that by creating projects and networks yourself in the Toolkit UI.

    Honestly? I think it's been years since anyone tried to test what happens if you make the filenames longer. It sounds like the software is truncating the filenames internally so maybe it will "mostly" work but I can't give you any guarantees. All it takes is one hard-coded length check buried somewhere in C-Gate, Toolkit, PICED, Schedule Plus or any other client application - and pickles will hit the fan.

    Assuming there are no length checks, one thing you can do to mitigate the truncation effect is to make sure the first 8 characters are still unique across all project files.

    I only ask that if you ever need to contact Tech Support in the future, first rule this out (revert to an 8 char project) or let them know this may be a factor.
     
    Last edited by a moderator: Jul 16, 2014
    daniel, Jul 16, 2014
    #2
  3. grasshopper

    grasshopper

    Joined:
    Sep 18, 2009
    Messages:
    37
    Likes Received:
    0
    Location:
    australia
    Thanks for your in-depth response Daniel.
     
    grasshopper, Jul 19, 2014
    #3
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.