Scripting

Available only in the BSS Soundweb Contrio Server, the Harman HiQnet scripting engine is based on the Lua.org programming language with extensions that will allow a user to control Harman Professional hardware and software through HiQnet Server and Audio Architect. For more information regarding the Lua scripting language, please refer to the Lua 5.2 Reference manual.

 

A HiQnet Logic/System script will be written using the Audio Architect script editor to automatically accomplish tasks or create other control mechanisms by associating the script with controls and features within the venue file. The Logic/System Object component allows scripts to be executed to perform operations on values, positions, strings, colors and other metadata, and timing of controls in the venue.

 

It is assumed that the author of these scripts has sufficient knowledge in Lua scripting. Harman Corporation assumes no liability in errors made in the scripts.

 

The Scripting Objects are added by first adding and opening a BSS Soundweb Contrio Server device. Select Configure Logic in the Modes section of the Soundweb London ribbon, then open the Scripting Logic Object as shown below.

There are two Scripting objects, The Logic Script object will support Lua scripting and will execute its script on the logic simulation tick. The System Script objects also exist on the Logic Surface, but have registered callback functions that fire when specific conditions are met.

Logic Source Script

Properties

Show Type: When checked, shows the type of object

Show Name: When checked, shows the name of the object

Address: Indicates the node address

Name: The editable name of the object

HiQnet Address: The HiQnet Address of this object

Type: The type of object

Number of Inputs: The number of Logic Source Inputs (maximum 12)

Number of Outputs: The number of Logic Source Outputs (maximum 32)

Script: Brings up the Script Editor

 

System Source Script

Note: When a System Source Script is first added, no inputs or outputs are shown.

Properties

Show Type: When checked, shows the type of object

Show Name: When checked, shows the name of the object

Address: Indicates the node address

Name: The editable name of the object

HiQnet Address: The HiQnet Address of this object

Type: The type of object

Number of Inputs: The number of Logic Source Inputs (maximum 12)

Number of Outputs: The number of Logic Source Outputs (maximum 32)

Script: Brings up the Script Editor

Internal Parameters: Brings up the Internal Parameters Editor

Watched Parameters: Brings up the Watched Parameters Editor