Facility Control

 View Only
  • 1.  Existing Macro Buttons Not Functioning Properly

    Posted 12-16-2016 20:31

    Since updating Dashboard to version 8.0.1 all of the macros we have built that include multiple routes will not work properly. In all cases we need to push the button numerous times to complete all routes. These buttons have been in use for about 2 years. I have attempted creating new macros from scratch since upgrading but the same problem exists. I also tried adding pauses between each route but randomly some destinations will not change. At first I thought maybe it was just the virtual crosspoints feeding out Carbonite switcher but that is not the case it's also happening on our physical crosspoints. We have a Carbonite Extreme frame we use as our router and a 24 input Carbonite switcher inside that frame. I have updated Dashboard to 8.1.2 hoping the problem would be resolved but it's still there. The Carbonite is running version 12.01 but I haven't had a opportunity to upgrade that but not sure if that would help resolve the issue. Below is the script any ideas?


    <button buttontype="push" height="106" left="1676" name="TEST MACRO" top="820" width="182">
    <task tasktype="nk">nk.doSwitch(147, 126, 1);</task>
    <task tasktype="pause">500</task>
    <task tasktype="nk">nk.doSwitch(148, 126, 1);</task>
    <task tasktype="pause">500</task>
    <task tasktype="nk">nk.doSwitch(149, 126, 1);</task>
    <task tasktype="pause">500</task>
    <task tasktype="nk">nk.doSwitch(150, 126, 1);</task>
    <task tasktype="pause">500</task>
    <task tasktype="nk">nk.doSwitch(151, 126, 1);</task>
    <task tasktype="pause">500</task>
    <task tasktype="nk">nk.doSwitch(152, 126, 1);</task>
    <task tasktype="pause">500</task>
    <task tasktype="nk">nk.doSwitch(153, 126, 1);</task>
    <task tasktype="pause">500</task>
    <task tasktype="nk">nk.doSwitch(154, 126, 1);</task>
    <task tasktype="pause">500</task>
    <task tasktype="nk">nk.doSwitch(155, 126, 1);</task>
    </button>


    Forgot to mention after the upgrading to version 8.0.1 on our sister site that is running a Carbonite Extreme frame with a Carbonite Black switcher we are not seeing the same issues with the macros.



  • 2.  RE: Existing Macro Buttons Not Functioning Properly

    Posted 12-16-2016 22:11

    Hi tmunro.
    We haven't had other reports of this happening. If similar panels are still working at your sister site with the same build of DashBoard, we'll need to do some debugging to see what is different in your setup.

    A few things to check:
    1. Try adding some debug output after each switch request to make sure they all are being called:

    Code:
    <button buttontype="push" height="106" left="1676" name="TEST MACRO" top="820" width="182">
    <task tasktype="nk">nk.doSwitch(147, 126, 1);ogscript.debug('switch 1');</task>
    <task tasktype="pause">500</task>
    <task tasktype="nk">nk.doSwitch(148, 126, 1);ogscript.debug('switch 1');</task>
    <task tasktype="pause">500</task>
    <task tasktype="nk">nk.doSwitch(149, 126, 1);ogscript.debug('switch 2');</task>
    <task tasktype="pause">500</task>
    <task tasktype="nk">nk.doSwitch(150, 126, 1);ogscript.debug('switch 3');</task>
    <task tasktype="pause">500</task>
    <task tasktype="nk">nk.doSwitch(151, 126, 1);ogscript.debug('switch 4');</task>
    <task tasktype="pause">500</task>
    <task tasktype="nk">nk.doSwitch(152, 126, 1);ogscript.debug('switch 5');</task>
    <task tasktype="pause">500</task>
    <task tasktype="nk">nk.doSwitch(153, 126, 1);ogscript.debug('switch 6');</task>
    <task tasktype="pause">500</task>
    <task tasktype="nk">nk.doSwitch(154, 126, 1);ogscript.debug('switch 7');</task>
    <task tasktype="pause">500</task>
    <task tasktype="nk">nk.doSwitch(155, 126, 1);ogscript.debug('switch 8');</task>
    </button>

    Run Dashboard with the -console argument (after DashBoard.exe) and you'll get a command prompt where these will be printed to.

    Another thing to verify is in the Switchboard configuration for your router. You'll want to verify that you have the correct settings for your input/output numbers and that you've got "Virtual Routing" set to the correct state for your configuration.


    #DashBoard


  • 3.  RE: Existing Macro Buttons Not Functioning Properly

    Posted 12-27-2016 15:35
    Okay so today I upgraded the Carbonite panel to version 12.1 and then tried the debug code and it works fine. I see the switches happening in order and I've tried it numerous times without error. Unfortunately I did the upgrade before testing the debug code so I can't confirm that the upgrade resolved the issue but production is now happy.

    Thanks very much for your help James.
    #DashBoard


  • 4.  RE: Existing Macro Buttons Not Functioning Properly

    Posted 01-03-2017 15:02
    Interesting. Glad you're back in business.
    Please let us know if anything else comes up!
    #DashBoard