Profile

Dave Sampson

Contact Details

My Content

1 to 20 of 42 total
Posted By Dave Sampson 10-29-2021 15:37
Found In Egroup: Facility Control
\ view thread
Hi Ding, The following example sends the ross talk command "TAKE 1:0:0" to an XPression located at IP address 192.168.1.30 on port 7788. Afterwards it will invoke the callback function. function callback()( ogscript.debug("callback function"); ) rosstalk.sendMessage('192.168.1.30', 7788, ...
Posted By Dave Sampson 10-29-2021 15:03
Found In Egroup: Facility Control
\ view thread
Hi Ding, Both the timer and listener are viable options however the timer is certainly easier to implement. If you want to use a listener, you would need to write your own HTTP headers to the listener's output stream on connection and parse the HTTP input on response. I would suggest using ...
Posted By Dave Sampson 10-28-2021 10:11
Found In Egroup: Facility Control
\ view thread
Hi Marty, I would start by checking the Switchboard settings within DashBoard and validating these are correct for the router. You can open the Switchboard by clicking the Switchboard button near the top of DashBoard. From this panel you will want to open the settings and then inspect the labels. ...
Posted By Dave Sampson 10-26-2021 17:16
Found In Egroup: Facility Control
\ view thread
Your packet sender and the rosstalk command must be doing something different from each other. The rosstalk.sendAsBytes will parse each ascii-encoded byte into its binary equivalent and send that byte array. Are you using an ascii protocol with your packet sender? ------------------------------ ...
Posted By Dave Sampson 10-20-2021 19:05
Found In Egroup: Facility Control
\ view thread
Hi Haoran, You can use the jsonport attribute within a custom panel to serve up the parameters like a device. This machine will act as your server. Remote instances of DashBoard can add this "device" and access/modify parameters. On the machine running DashBoard as a server, create a custom panel ...
Posted By Dave Sampson 10-20-2021 14:51
Found In Egroup: Facility Control
\ view thread
Hi Ding, If you are trying to download/parse/interact with a JSON based end-point you can use ogscript.asyncHTTP to get the data. There is nothing built-in to DashBoard to feed data to a 3rd-party system. Please let me know if you have any questions. ------------------------------ Dave Sampson ...
Posted By Dave Sampson 10-20-2021 14:39
Found In Egroup: Facility Control
\ view thread
Hi Chris, I do not see any issues with your code. It seems to create the payload you are expecting. The rosstalk.sendAsBytes will parse each ascii-encoded byte into its binary equivalent and send that byte array. So your code would send the binary byte array: [0x12, 0x00, 0x1f, 0x00, 0x00, 0x08, ...
Posted By Dave Sampson 09-09-2021 15:58
Found In Egroup: Facility Control
\ view thread
Hi Sam, I've made a number of changes to the panel and appended the source. I'll explain the major changes below. Functions no longer need to be passed XMLDoc as an argument This change doesn't change anything visually. It is a backend change in how the code is structured. I've made the parsed ...
Posted By Dave Sampson 09-01-2021 11:19
Found In Egroup: Facility Control
\ view thread
Hi Andy, One option that may help you here is to use the include tag coupled with ogscript.reload(). The include tag allows you to include xml elements that reside in external files. The ogscript.reload() does not refresh a panel as you discovered but it can reload an include tag. This means if ...
Posted By Dave Sampson 08-19-2021 10:19
Found In Egroup: Facility Control
\ view thread
In case you're curious, I was able to determine the issue by using the ogscript.debug() function. This function can print statements to the openGear Debug Information console. You can open this console by selecting Views > openGear Debug Information from DashBoard. It really is a great tool for troubleshooting ...
Posted By Dave Sampson 08-19-2021 09:45
Found In Egroup: Facility Control
\ view thread
Hi Sam, All of your new code for the match officials works perfectly fine. The only problem is that you aren't triggering the new function. You can see the same getTeamInfo(XMLDoc) function is triggered twice. You just need to change the second one to getMatchOfficialInfo(XMLDoc). //Grabbing ...
Posted By Dave Sampson 08-18-2021 16:57
Found In Egroup: Facility Control
\ view thread
Hi Sam, I spent some time making a custom panel which reads the XML file you provided. I had to make a number of assumptions on statistics and layout so hopefully this will get you on the right track. There are a few things worth mentioning to help you understand the design of the panel. ...
Posted By Dave Sampson 08-06-2021 17:14
Found In Egroup: Facility Control
\ view thread
I believe we only pause if the question mark is at the end of the message. Can you try using sendMessageWithResponse? It should allow you to pause and receive a response with a question mark in the middle. ------------------------------ Dave Sampson Ross Video ---------------------------- ...
Posted By Dave Sampson 08-06-2021 15:19
Found In Egroup: Facility Control
\ view thread
Hi Shawn, DashBoard cannot read information from DataLinq - it only sends it. If you want to use DataLinq to feed XPression from a particular scoreboard app/hardware, that would be outside of DashBoard's control. If you feed the scoreboard into DashBoard, you could then use DashBoard's DataLinq ...
Posted By Dave Sampson 08-05-2021 11:27
Found In Egroup: Facility Control
\ view thread
Hi Shawn, Unfortunately DashBoard does not presently support tif images and extracting the metadata would be a challenge. In theory you could use a MessageBuilder to get the raw data of the file and extract any specific info you like but this would be a large task. Please let me know if you ...
Posted By Dave Sampson 08-04-2021 16:03
Found In Egroup: Facility Control
\ view thread
Hi Markus, You can keep the most recent take ID in a parameter and increment the parameter value after each 'take' call. Below is the source to a custom panel that does this. This panel is just printing the RossTalk messages using ogscript.debug() to the debug console. You can open the debug console ...
Posted By Dave Sampson 08-04-2021 13:07
Found In Egroup: Facility Control
\ view thread
Hi Andy, Unfortunately the alterations performed by setXml() always produce dynamic content. There is no way to have these committed to the DOM. If you have constraint-controlled buttons and want to control the styling, you can include styling into the constraint. sample ...
Posted By Dave Sampson 08-03-2021 16:17
Found In Egroup: Facility Control
\ view thread
Hi Casey, Below is the source for a panel which should provide a working example for what you are trying to implement. The "params.array" is a string array which can be manipulated using the table. When the "Go!" button is clicked, the values of this string array are passed as an argument to create ...
Posted By Dave Sampson 07-27-2021 11:37
Found In Egroup: Facility Control
\ view thread
Hi Bryan, Someone else may be able to chime in with specific recommendations from experience but I will say that DashBoard is not very picky. Below are the minimum requirements for DashBoard running on Windows: Microsoft® Windows® 10, Windows® 8, or Windows® 7 Systems (64-Bit) The following are ...
Posted By Dave Sampson 07-14-2021 17:08
Found In Egroup: Facility Control
\ view thread
Hi Bruna, Great to hear from you again. You may recall that we had a RossTalk command being triggered when we clicked the TAKE button. In the source code, it looked something like this: rosstalk.sendMessage('192.168.1.30', 7788, 'TAKE '+value+':0:0');​ This sends a string message to IP ...