Basic control – Zektor ProAudio 16™ DSP Preamp Audio Matrix User Manual

Page 13

Advertising
background image

ClarityAudio Serial Protocol, Version 1.01, 11/8/12

11

Basic Control

If digital audio, and analog audio, from input ‘3’ are all mapped to zone ‘1’, then:

^SZ @1,?$

->

Query request sent to the A/V switch

would respond with:

^+$

<-

Indicates no errors in the command

^=SZ @001,003

<-

All audio channels are all mapped to input 3

If instead, zone ‘1’ had digital audio from input ‘3’ mapped to it, but had analog audio from input ‘4’
mapped to it, the response would have been:

^=SZ.004 @001,003

<-

Digital audio from input ‘3’ mapped to zone 1

^=SZ.002 @001,004

<-

Analog audio from input ‘4’ mapped to zone ‘1’

‘SZ’ Query Examples

To make parsing the response strings easier, only one response string is sent per zone. Or, in the case of
channel breakaways, only one response string per channel is returned. The response string is sent as a
fixed length string using leading zeroes.

You can request the mapping of multiple zones, with one command, and still only one response string
per zone will be returned, for instance:

^SZ @1,@3,@4,?

could return:

^+$

<-

Indicates no errors in the command

^=SZ @001,002$

<-

All channels of input ‘2’ mapped to zone ‘1’

^=SZ @003,001$

<-

All channels of input ‘1’ mapped to zone ‘3’

^=SZ.004 @004,007$

<-

Digital audio from input ‘7’ mapped to zone ‘4’

^=SZ.002 @004,005$

<-

Analog audio from input ‘5’ mapped to zone ‘4’

You can also request the mapping of channels, for instance:

^SZ.2 @2,?

could return:

^SZ.002 @002,006

<-

Analog audio from input ‘6’ mapped to zone 2

only the analog audio channel’s status is returned.

If you plan on using breakaway options consistently you, you can have the ClarityAudio always send
the channel with the response string. This keeps you from having to parse two different types of
strings.

Using the ‘XS’ command to set the ‘CHN’ bit, will cause the ClarityAudio to always include the chan-
nel number. The following example demonstrates this:

^XS +4$

->

Set the CHN bit

^+$

<-

Acknowledge ‘XS’ command

^=XS nnnnn$

<-

Indicates the new ‘XS’ settings

^SZ @1,?$

->

Request mappings for zone 1

^+$

<-

Acknowledge ‘SZ’ command

^=SZ.006 @1,4

<-

All channels of input ‘4’ mapped to zone ‘1’

By setting the ‘CHN’, even though all channels on zone ‘1’ are the same, the full channel bitmap is
still returned.

Advertising