Facility Control

 View Only
  • 1.  Dashboard cotrol of Barco Imagepro 4K

    Posted 02-01-2020 17:49

    I'm very new to Dashboard as I just started this week with it.  We have an absen video wall running off a Novastar processor and ImagePro 4K.  I've gotten Ultrix routing running, simple HTTP commands for blackout/enable video for the Novastar, and TCP commands for switching various inputs on the ImagePro to work fairly easily.  However, the protocol for capturing a still or logo for the Imagepro 4K is giving me problems.  Non 4K models (the ImagePro II) have TCP command support (I've set up these through Medialon and Dashboard in another venue and they work fine), but the 4K model seems to use json scripts to do this.  I've confirmed the json command and have gotten it to work through the Barco webGUI, but haven't had any luck through Dashboard.  It accepts the following command on port 9999 though a browser:

    {"params":{"type":0 , "id":2}, "method":"takeStill", "id":"1234", "jsonrpc":"2.0"}

     

    Can anyone provide any assistance with how I could go about sending this in Dashboard?  Is there an API?  Thanks for any help.



  • 2.  RE: Dashboard cotrol of Barco Imagepro 4K

    Posted 02-03-2020 18:46

    Hi Jacob,

    You can try the ogScript.asyncHttp method to try and send this using DashBoard.

    ogscript.asyncHTTP(String urlStr, String method, String reqContentType, Object data, Function callback);

    Example below:

    ogscript.asyncHTTP('url', 'POST', 'application/json', '{"params":{"type":0 , "id":2}, "method":"takeStill", "id":"1234", "jsonrpc":"2.0"}', null);


    #DashBoard