Facility Control

 View Only
  • 1.  Read parameter from Carbonite switcher

    Posted 12-29-2017 20:08
    Is there any way to read the parameter/variables/state of the carbonite switcher into DashBoard?

    Example in question is to read wether or not key 1 in currently active or not?
    I want a button to act one way IF key 1 is active, and another way if key 1 is not active...

    I know the dropdown list for the Carbonite in the visual logic interface is insanely long, but I cant find how to read these values (if possible). Any clues? :)


  • 2.  RE: Read parameter from Carbonite switcher

    Posted 12-31-2017 10:37
    I also know that by inserting a command (not just record) in the Custom Control macros, you can tell a key to specifically turn ON. I am missing this feature in DashBoard (or cannot find it).
    Sure I can check state of the button, and then run the specific CC based on the state of the button. Though I would much rather be able to read the state of the switcher, and react accordingly instead :)

    Any tips/clues?

    Ohhh, and Happy New Year!
    #DashBoard


  • 3.  RE: Read parameter from Carbonite switcher

    Posted 01-01-2018 17:53
    Hi Astalsberg,

    I looked quickly and didn't see an obvious way to do this, I'm going to pass this on to the switcher team to comment on.

    Happy New Year to you as well!

    Troy.
    #DashBoard


  • 4.  RE: Read parameter from Carbonite switcher

    Posted 01-01-2018 18:09
    Played with it a bit more.

    A quick helpful hint for you btw. If you hit 'CTRL-I' (Information) you can click on any variable in a panel such as the standard Carbonite Panel.
    By doing this you can find that the 'Cut' button for a keyer shows a state based on the current state of the keyer.

    You will find that '0x992' is the OID for example for Keyer 1, ME 1.
    '0x996' is for Keyer 2, ME 1.
    '0x9A2' is for Keyer 1, ME 1.

    In Visual logic, the quickest way to get those values is in the search in the 'Devices and Parameters' section type in 992 for that OID and you will find your value to use pretty quickly.


    I did create a script that looked at that value and made a decision based on it and it appeared to work.

    Now, a quick warning, I was just playing with it, I can't confirm 100% that this is going to work at all times, has no odd side effects etc.. right now.

    Troy.
    #DashBoard


  • 5.  RE: Read parameter from Carbonite switcher

    Posted 01-02-2018 12:05
    Thank you! Thanks to your leads here I found the different "key state" parameters for the different MEs and such.

    And no worries, playing with stuff like this is how you learn, so I am happy to keep playing! :D
    Thanks again!
    #DashBoard