Facility Control

 View Only
  • 1.  [Dashboard] Calrec Brio control and CSCP

    Posted 02-16-2019 11:21
    Hi guys,

    I'd like to control a Calrec Brio from a Dashboard custom panel.

    I see that Overdrive can talk to Calrec devices using the Calrec Serial Control Protocol (CSCP) - http://calrec.com/wp-content/uploads/2014/05/CSCP-Generic.pdf

    Can this be done without Overdrive and just Dashboard? Is there any documentation available of use of the protocol with ross products?

    Cheers,

    Rosanna


  • 2.  RE: [Dashboard] Calrec Brio control and CSCP

    Posted 02-19-2019 19:52

    rosanna.prada While I cannot offer specific instructions for control over this device, if it is talking a serial protocol that is converted to TCP/IP or UDP, you should be able to send any set of bytes to the device using rosstalk.sendAsBytes('host', port, 'BYTES_ENCODED_AS_HEX_WITH_SPACES', callbackFunction); or use a Message Builder to build your message and use rosstalk.sendBytes('host', port, byteArray);

    function callback(success, sentData, resultBytes, exception)
    {

    }
    rosstalk.sendAsBytes('[host]', [port], '[bytes e.g. FF 00 AB CD]', callback);

    or

    var messageBuilder = ogscript.createMessageBuilder();
    /*
    * messageBuilder.writeByteArray(bytesArray);
    * messageBuilder.writeByteArray(bytesArray, offset, length);
    * messageBuilder.writeBoolean(boolVal);
    * messageBuilder.writeByte(byteVal);
    * messageBuilder.writeShort(shortVal);
    * messageBuilder.writeChar(charVal);
    * messageBuilder.writeInt(intVal);
    * messageBuilder.writeLong(longVal);
    * messageBuilder.writeFloat(floatVal);
    * messageBuilder.writeDouble(doubleVal);
    * messageBuilder.writeLine(strVal);
    * messageBuilder.writeString(strVal);
    * messageBuilder.writeUTF(strVal); //includes 2-byte length count
    */


    function callback(success, sentData, resultBytes, exception)
    {

    }
    rosstalk.sendBytes('host', port, messageBuilder.toByteArray(), callback);

    #DashBoard