Facility Control

 View Only
  • 1.  Live Dashboard Button Images from Xpression

    Posted 02-12-2016 15:49
    I currently have a Dashboard that has a table of buttons. Each button uses the rosstalk command to trigger a TakeID in our Xpression: Studio system. Here's an example: rosstalk.sendMessage('192.168.xx.xxx', 7788, 'TAKE 2301:1:6');

    Anyway, my question is this; is it possible for Dashboard to retrieve a Thumbnail from Xpression? In other words, each button issues a specific Take ID in Xpression. It would be nice to have that button display a thumbnail image of what it's about to do. These images change daily in Xpression, otherwise I would just add a static image as the button background image. I was thinking that possibly Datalinq would be involved in this process, but I'm uncertain where to start. :eek:


  • 2.  RE: Live Dashboard Button Images from Xpression

    Posted 02-16-2016 20:01
    As an added item, is there a way to automatically refresh a Dashboard canvas like every 30 minutes or something? If not, what about mapping the Refresh command to a button? Like mapping f5 to a Dashboard button (or Command + R on MacOSX)? This particular Dashboard exists on a low profile tablet without an actual keyboard. There are thumbnail files that get replaced using Windows Explorer. Simply pressing f5 refreshes the canvas and displays the updated thumbnails, but f5 is difficult to press without a physical keyboard. An automatic refresh is the best option, but even adding a button at the top that actually sends the "f5" command would be helpful. Thanks in advance for any advice you can provide.
    #DashBoard


  • 3.  RE: Live Dashboard Button Images from Xpression

    Posted 02-22-2016 12:58
    You could try reset(); but this will reset your panel aswell as refresh it. However I don't think you can retrieve any thumbnails from XPression, but let me know if you find a way!
    #DashBoard


  • 4.  RE: Live Dashboard Button Images from Xpression

    Posted 02-22-2016 22:56
    Thank you so much for your response. I ended up putting the canvas into a tab and then used ogscript.reload(''); function. I mapped this task onto a "REFRESH" button at the top of the canvas and it appears to give the desired result. This makes it a little easier in that I can then just put the thumbnail buttons inside this tab without affecting anything else outside of the tab. I tried looking for the ogscript "reset" command but I couldn't find it in the pallette. Maybe this is the same thing or perhaps it's just not in the pallette? Anyway it seems to be doing what I needed it to do now with regards to the thumbnails.

    However, now I've come to a new thing. I'm trying to hide and reveal labels with certain button presses. The hide command only seems to work with 'Popup ID' rather than just standard 'ID' items. I haven't found anyway to make a label into a Popup ID rather than a standard ID. I'm trying to use the label as a button indicator and hiding it would work nicely. Maybe there's a something better to use in place of a label that uses the Popup ID instead?
    #DashBoard


  • 5.  RE: Live Dashboard Button Images from Xpression

    Posted 05-11-2016 17:22
    I'm new to Dashboard. How did you get thumbnails from the Xpression? I can do a static image, but haven't been able to figure out how to grab a thumbnail.

    Thanks in advance.
    Cam
    #DashBoard


  • 6.  RE: Live Dashboard Button Images from Xpression

    Posted 05-12-2016 16:52
    Thanks for your help. I was able to figure it out using the XPression generated thumbnails.
    #DashBoard