Assistance please Gurus..

Discussion in 'C-Bus Wiser 1 Controller' started by Roosta, Mar 5, 2012.

  1. Roosta

    Roosta

    Joined:
    Nov 22, 2011
    Messages:
    560
    Likes Received:
    1
    Location:
    Australia
    Hey Guys,

    Just tidying up and having a play in Wiser Logic..

    Trying to retrieve a DLT MRA 'label' from a Dynamic 2 assigned GA, and grab the 'text' form it, write it to a System IO, and display it on the wiser GUI..

    So far almost works..

    The theory behind it is to have a system IO showing current Radio Station or Dynamic 2 label in wiser.. In theory the Matrix switcher updates the Dynamic 2 and Next Source group addresses labels on a dlt so the info must be in cbusland somewhere to retrieve..

    I need some super guru's help..

    Below is my logic code so far, and a video of what it is currently doing on the wiser gui..

    Any help would be awesome!!! I am sure I wouldn't be the only person keen to have this working.. :-D


    --------------------------------
    begin
    GetStringIBSystemIO("Label Group Text","Network 254","Lighting","Conf Dynamic 2",0,Conf_Dyn2_Label1);
    SetStringSystemIO("Conf Dyn2 Label",Conf_Dyn2_Label1);
    end;
    -------------------------------

    [​IMG]


    Cheers,
    Nik
     
    Roosta, Mar 5, 2012
    #1
  2. Roosta

    >>aSh<<

    Joined:
    Apr 7, 2011
    Messages:
    25
    Likes Received:
    0
    Location:
    Australia
    Hi,

    what condition do you have to begin the logic is it if or once?

    reason I ask is cuz it looks like it stores the value for a bit and then moves on to store some junk.



    You can also try using Inbuilt Media Transport Control and use the values in there to store to your variable.

    something like this,

    GetStringIBSystemIO("Media Transport Control Track Name", 0, 0, temp_variable);

    SetStringSystemIO("Your_Variable", temp_variable);

    Where Your_variable is setup in Edit I/O section and temp_variable is declared within logic.

    Media link group is the one you have created in MARPA project.

    I know one of the IB I/Os is for station name, probably the one I used but I dont have the project with me now to verify.
     
    >>aSh<<, Mar 5, 2012
    #2
  3. Roosta

    Roosta

    Joined:
    Nov 22, 2011
    Messages:
    560
    Likes Received:
    1
    Location:
    Australia
    Hey Ash,

    Thanks for that..

    I am using no statement currently for changing the logic so it runs on every loop.. once i get the correct value up i plan on having it compare the System IO variable to the System IB io and if different to go through process of getting the data required to update..

    Reason i was trying to get away from using the "Media Transport" IO's is that for each location i would have to have 3 system IO, If i can just use the dynamic 2 label it updates per location dependant on the source selected..

    I will try with the media control though..

    Does anyone know how the matrix unit sends out this info at all? I have tried using diagnostics but no joy..

    Cheers,
    Nik
     
    Roosta, Mar 5, 2012
    #3
  4. Roosta

    NickD Moderator

    Joined:
    Nov 1, 2004
    Messages:
    1,427
    Likes Received:
    64
    Location:
    Adelaide
    The problem here is that labelling support in everything other than the Colour C-Touch is limited to sending labels.. you can't read them back.

    If you have a v3 (black) matrix switcher, then it sends out some of the same information on the Media Transport control application, but you need a little bit of logic to tie it all together.

    Nick
     
    NickD, Mar 6, 2012
    #4
  5. Roosta

    Roosta

    Joined:
    Nov 22, 2011
    Messages:
    560
    Likes Received:
    1
    Location:
    Australia
    Hey NickD,

    Thanks for that.. Doesn't help one this job but does confirm i am wasting my time with that bit of logic.. Any chance this is going to be something which can be done in the future?

    Could I do the logic in a colour touch and somehow system IO it across to the wiser?

    I have the deluxe matrix installed, any hints on the logic required to get it to work.. The below simple code didn't work.. :-(

    --------------------------------
    once (second=15)then

    GetStringIBSystemIO("Media Transport Control Track Name", 0, 0, Conf_Dyn2_Label2);
    SetStringSystemIO("Conf Dyn2 Label", Conf_Dyn2_Label2);
    end;
    --------------------------------

    I cant be the only one wishing to have this info displayed on the wiser...

    Cheers,
    Nik
     
    Roosta, Mar 6, 2012
    #5
  6. Roosta

    NickD Moderator

    Joined:
    Nov 1, 2004
    Messages:
    1,427
    Likes Received:
    64
    Location:
    Adelaide
    Hi Mark,

    I could tell you but I'd have to kill you...

    Seriously though, I can confirm that there is work underway to address this and I think you'll be pleasantly surprised.

    As always, I can't tell you when it will be released, as there are quite a few ducks to put in a row, however I can say that it's coded and working.

    Nick
     
    NickD, Mar 6, 2012
    #6
  7. Roosta

    Roosta

    Joined:
    Nov 22, 2011
    Messages:
    560
    Likes Received:
    1
    Location:
    Australia
    Thanks NickD..

    I'll give up for now and keep an eye out for the update..

    Cheers,
    Nik
     
    Roosta, Mar 6, 2012
    #7
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.