Facility Control

 View Only
  • 1.  LAN IP of Dashboard Panel

    Posted 08-10-2018 03:56
    Is there a way to get the LAN IP and/or computer name of the current panel with ogscript or a macro expansion?

    Thanks!


  • 2.  RE: LAN IP of Dashboard Panel

    Posted 08-10-2018 12:36
    I take it you aren't talking about simply localhost or 127.0.0.1?
    We do not presently have a mechanism for this built into ogScript - it would not likely be a macro expansion as many machines have multiple active IPs at the same time (think wired and wireless ethernet).

    We can add it to our feature request database but, for now, possibly help you find a workaround. What are you trying to achieve?

    James
    #DashBoard


  • 3.  RE: LAN IP of Dashboard Panel

    Posted 08-10-2018 22:44
    Thanks for chiming in James. I've probably read most of your posts on this forum looking for hints on all the less documented ogscript commands around...

    So, I have two Dashboard panels, one runs the bug and the other is interacting with inception. All Scoreboard data, Statcrew XML, and Inception XML runs through the 2 dashboards and on to Xpression for rendering. All the logic happens in dashboard and the xpression scene is able to be "dumb".... So I am trying to essentially establish an auto connect between these two dashboard panels. They will run in trucks, random control rooms, and other unknown environments, often on rented machines. So, I was hoping I could essentially setup a UDP Broadcast of the machines IP address so they could find each other and then transmit json snippets back and forth. I want the actual IP address so I can send RossTalk Commands as well. Generally, these machines are only on one network. There will always be the ability to manually specify IP's, but last year "Find my Scoreboard" has been a really well received feature to locate the IP of the serial to ethernet converter automagically. (It sends out a UDP broadcast with its IP).

    Thanks for any ideas! Also, is there any further documentation on the Inception API and or a list of all the ogscript.xxx commands that are not posted on your website anywhere?


    #DashBoard


  • 4.  RE: LAN IP of Dashboard Panel

    Posted 08-17-2018 13:46
    We are in the process of updating/revising our documentation and expect to see an updated ogScript guide with a more-complete list of functions in the near future (though I don't have an exact timeline for you).

    For the moment, an automatic discovery from DashBoard to DashBoard is not something that can easily be achieved - I can let you know if that changes but, at the moment, I don't have any options beyond the one you already mentioned (manually-entering the IP in a parameter).

    James
    #DashBoard


  • 5.  RE: LAN IP of Dashboard Panel

    Posted 08-17-2018 16:22
    Thanks James! I've been reading up on some ways to get the IP from javascript, but I don't know if its going to work without the document object available. If I come up with a solution, I'l share it here.

    I look forward to that documentation. I'm always interested in creative ways to accomplish things, and I feel like there might be some method calls that would help that I don't know about.
    #DashBoard