Myriad
Hardware Service v6.1.1
Peter Jarrett

Peter Jarrett

1 year ago

feature: Hardware Service v6.1.1

hardware-service6 hardware-service6-beta

This is the very first release of the brand new Broadcast Radio Hardware Service v6, and it contains all of the features of the older Hardware Service v5 product, including support for multiple difference hardware devices, virtual GPIO devices and the "Patch Bay" but adds in several key new features:

  • Scripting language
  • REST API

You can find download information at the bottom of this article.

Compatibility:

This version is compatible with:

  • Myriad Playout v6 ONLY
  • SmartSign v1, v2 and the forthcoming v3.
  • Requires Windows 10 or Windows Server 2016 or newer.

Important: If you are running Myriad Playout v5 (or earlier), or Myriad Logging v5 (or earlier), you must use Broadcast Radio Hardware Service v5 instead as they are not compatible with this newer version of the Hardware Service.

Scripting Language:

It's main new feature is an extremely powerful new built in command script language. This uses the same script language that is available in Myriad Playout v6 and allows you to build very complex switching systems using only a few easy to use script commands.

For example, the scripting language allows you to read and write the status of every line in the system, as well as calling remote web services using GET or POST methods. It also contains mathematical functions as well as date and time functions. You can also use block functions such as Do-While, If and Switch, and also create and call functions to simplify code layout.

We are working on some real world demonstration examples including a new improved CTP switcher "On Air Studio" switcher control system that adds "Offer and Accept" capability and will post these on the help pages at https://help.broadcastradio.com/hc/en-gb/sections/12345409820828 as soon as they are ready.

There are 3 separate scenarios that you can write scripts for:

  • Service Start: This script runs when the service has completed it's startup process, so is useful when you need to set an initial state for some lines -  for example, you might want to set a certain set of lines to be "on" at startup.
  • Global line change: This script runs whenever ANY line changes on ANY device that the Hardware Service is configured with. This can be useful if you need to use the same script on multiple lines but don't want to have to duplicate it onto each individual line.
  • Individual line change: This script is set per line, and is only run when that line changes. This can be very useful if you only need to run a script when a specific line is activated - for example when an external relay closes a contact you might need to call a web service and set some other line states.

REST API:

You can now directly control lines on the hardware service via an OpenAPI compatible REST API. For more information, open the Configuration application and click the "Display OpenAPI REST information" button.

For example, this GET command will turn on Line 1 on device 300:

http://127.0.0.1:9180/BrHardware/v6/api/Hardware/WriteLine?deviceIndex=300&lineNumber=1&lineState=Set&pulseDuration=1

Downloading the update:

You can download this release from the 'Related downloads' section of the Myriad Playout Support page: https://www.broadcastradio.com/myriad-6-playout-support#Related

Tell us what you think:

🎉 Thanks for your feedback!

Oops! Something went wrong.