ANI22 Command Strings

This document can also be found at: http://shure.custhelp.com/app/answers/detail/a_id/6368

The device is connected via Ethernet to a control system, such as AMX, Crestron or Extron.

Connection: Ethernet (TCP/IP; select “Client” in the AMX/Crestron program)

Port: 2202

Conventions

The device has 4 types of strings:

GET Finds the status of a parameter. After the AMX/Crestron sends a GET command, the ANI22 responds with a REPORT string
SET Changes the status of a parameter. After the AMX/Crestron sends a SET command, the ANI22 will respond with a REPORT string to indicate the new value of the parameter.
REP When the ANI22 receives a GET or SET command, it will reply with a REPORT command to indicate the status of the parameter. REPORT is also sent by the ANI22 when a parameter is changed on the ANI22 or through the GUI.
SAMPLE Used for metering audio levels.

All messages sent and received are ASCII. Note that the level indicators and gain indicators are also in ASCII

Most parameters will send a REPORT command when they change. Thus, it is not necessary to constantly query parameters. The ANI22 will send a REPORT command when any of these parameters change.

The character

“x”

in all of the following strings represents the channel of the ANI22 and can be ASCII numbers 0 through 4 as in the following table

00 All channels
01, 02 Analog Inputs
03, 04 Analog Outputs

Command Strings (Common)

Get All
Command String:

< GET xx ALL >

Where xx is ASCII channel number: 00 through 04. Use this command on first power on to update the status of all parameters.
ANI22 Response:

< REP ... >

The ANI22 responds with individual Report strings for all parameters.
Get Model Number
Command String:

< GET MODEL >

ANI22 Response:

< REP MODEL {yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy} >

Where yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy is 32 characters of the model number. The ANI22 always responds with a 32 character model number.
Get Serial Number
Command String:

< GET SERIAL_NUM >

ANI22 Response:

< REP SERIAL_NUM {yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy} >

Where yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy is 32 characters of the serial number. The ANI22 always responds with a 32 character serial number.
Get Channel Name
Command String:

< GET xx CHAN_NAME

Where xx is ASCII channel number: 00 through 04.
ANI22 Response:

< REP xx CHAN_NAME {yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy} >

Where yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy is 31 characters of the user name. The ANI22 always responds with a 31 character name.
Get Device ID
Command String:

< GET DEVICE_ID >

The Device ID command does not contain the x channel character, as it is for the entire ANI22.
ANI22 Response:

< REP DEVICE_ID {yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy} >

Where yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy is 31 characters of the device ID. The ANI22 always responds with a 31 character device ID.
Get Firmware Version
Command String:

< GET FW_VER >

ANI22 Response:

< REP FW_VER {yyyyyyyyyyyyyyyyyy} >

Where yyyyyyyyyyyyyyyyyy is 18 characters. The ANI22 always responds with 18 characters.
Get Preset
Command String:

< GET PRESET >

ANI22 Response:

< REP PRESET nn >

Where nn is the preset number 01-10.
Set Preset
Command String:

< SET PRESET nn >

Where nn is the preset number 1-10. (Leading zero is optional when using the SET command).
ANI22 Response:

< REP PRESET nn >

Where nn is the preset number 01-10.
Get Preset Name
Command String:

< GET PRESET1 >

< GET PRESET2 >

< GET PRESET3 >

etc

Send one of these commands to the ANI22
ANI22 Response:

< REP PRESET1 {yyyyyyyyyyyyyyyyyyyyyyyyy} >

< REP PRESET2 {yyyyyyyyyyyyyyyyyyyyyyyyy} >

< REP PRESET3 {yyyyyyyyyyyyyyyyyyyyyyyyy} >

etc

Whereyyyyyyyyyyyyyyyyyyyyyyyyy is 25 characters of the device ID. The ANI22 always responds with a 25 character device ID
Get Audio Gain
Command String:

< GET xx AUDIO_GAIN_HI_RES >

Where xx is ASCII channel number: 01 through 04.
ANI22 Response:

< REP xx AUDIO_GAIN_HI_RES yyyy >

Where yyyy takes on the ASCII values of 0000 to 1400. yyyy is in steps of one-tenth of a dB.
Set Audio Gain
Command String:

< SET xx AUDIO_GAIN_HI_RES yyyy >

Where yyyy takes on the ASCII values of 0000 to 1400. yyyy is in steps of one-tenth of a dB.
ANI22 Response:

< REP xx AUDIO_GAIN_HI_RES yyyy >

Where yyyy takes on the ASCII values of 0000 to 1400.
Increase Audio Gain by n dB
Command String:

< SET xx AUDIO_GAIN_HI_RES INC nn >

Where nn is the amount in one-tenth of a dB to increase the gain. nn can be single digit ( n ), double digit ( nn ), triple digit ( nnn ).
ANI22 Response:

< REP xx AUDIO_GAIN_HI_RES yyyy >

Where yyyy takes on the ASCII values of 0000 to 1400.
Decrease Audio Gain by n dB
Command String:

< SET xx AUDIO_GAIN_HI_RES DEC nn >

Where nn is the amount in one-tenth of a dB to decrease the gain. nn can be single digit ( n ), double digit ( nn ), triple digit ( nnn ).
ANI22 Response:

< REP xx AUDIO_GAIN_HI_RES yyyy >

Where yyyy takes on the ASCII values of 0000 to 1400.
Get Analog Audio Gain - Input
Command String:

< GET xx AUDIO_GAIN >

Where xx is ASCII channel number: 00 through 02.
ANI22 Response:

< REP xx AUDIO_GAIN yy >

Where yy takes on the ASCII values of 00 to 51. yy is in 3 dB steps.
Set Analog Audio Gain - Input
Command String:

< SET xx AUDIO_GAIN yy >

Where xx is ASCII channel number: 00 through 02.
ANI22 Response:

< REP xx AUDIO_GAIN yy >

Where yy takes on the ASCII values of 00 to 51. yy is in 3 dB steps.
Increment Analog Audio Gain - Input
Command String:

< GET xx AUDIO_GAIN INC n >

Where n is the amount in dB to increase the gain, in 3dB steps.
ANI22 Response:

< REP xx AUDIO_GAIN yy >

Where yy takes on the ASCII values of 00 to 51. yy is in 3 dB steps.
Decrement Analog Audio Gain - Input
Command String:

< GET xx AUDIO_GAIN DEC n >

Where n is the amount in dB to increase the gain, in 3dB steps.
ANI22 Response:

< REP xx AUDIO_GAIN yy >

Where yy takes on the ASCII values of 00 to 51. yy is in 3 dB steps.
Get Channel Audio Mute
Command String:

< GET xx AUDIO_MUTE >

Where x is ASCII channel number: 00 through 04.
ANI22 Response:

< REP xx AUDIO_MUTE ON >

< REP xx AUDIO_MUTE OFF >

The ANI22 will respond with one of these strings.
Mute Channel Audio
Command String:

< SET xx AUDIO_MUTE ON >

ANI22 Response:

< REP xx AUDIO_MUTE ON >

Unmute Channel Audio
Command String:

< SET xx AUDIO_MUTE OFF >

ANI22 Response:

< REP xx AUDIO_MUTE OFF >

Toggle Channel Audio Mute
Command String:

< SET xx AUDIO_MUTE TOGGLE >

ANI22 Response:

< REP xx AUDIO_MUTE ON >

< REP xx AUDIO_MUTE OFF >

The ANI22 will respond with one of these strings.
Get Device Audio Mute
Command String:

< GET DEVICE_AUDIO_MUTE >

ANI22 Response:

< REP DEVICE_AUDIO_MUTE ON >

< REP DEVICE_AUDIO_MUTE OFF >

The ANI22 will respond with one of these strings.
Set Device Audio Mute
Command String:

< SET DEVICE_AUDIO_MUTE ON >

< SET DEVICE_AUDIO_MUTE OFF >

< SET DEVICE_AUDIO_MUTE TOGGLE >

Send one of these commands to the ANI22.
ANI22 Response:

< REP DEVICE_AUDIO_MUTE ON >

< REP DEVICE_AUDIO_MUTE OFF >

The ANI22 will respond with one of these strings.
Get Analog Output Gain Switch
Command String:

< GET xx AUDIO_OUT_LVL_SWITCH >

Where xx is ASCII channel number: 00, 03, or 04.
ANI22 Response:

< REP xx AUDIO_OUT_LVL_SWITCH LINE_LVL >

< REP xx AUDIO_OUT_LVL_SWITCH AUX_LVL >

< REP xx AUDIO_OUT_LVL_SWITCH MIC_LVL >

The ANI22 will respond with one of these strings.
Set Analog Output Gain Switch
Command String:

< SET xx AUDIO_OUT_LVL_SWITCH LINE_LVL >

< SET xx AUDIO_OUT_LVL_SWITCH AUX_LVL >

< SET xx AUDIO_OUT_LVL_SWITCH MIC_LVL >

Where xx is ASCII channel number: 00, 03, or 04. Send one of these commands to the ANI22.
ANI22 Response:

< REP xx AUDIO_OUT_LVL_SWITCH LINE_LVL >

< REP xx AUDIO_OUT_LVL_SWITCH AUX_LVL >

< REP xx AUDIO_OUT_LVL_SWITCH MIC_LVL >

The ANI22 will respond with one of these strings.
Flash Lights on ANI22
Command String:

< SET FLASH ON >

< SET FLASH OFF >

Send one of these commands to the ANI22. The flash automatically turns off after 30 seconds.
ANI22 Response:

< REP FLASH ON >

< REP FLASH OFF >

The ANI22 will respond with one of these strings.
Turn Metering On
Command String:

< SET METER_RATE sssss >

Where sssss is the metering speed in milliseconds. Setting sssss=0 turns metering off. Minimum setting is 100 milliseconds. Metering is off by default.
ANI22 Response:

< REP METER_RATE sssss >

< SAMPLE aaa bbb ccc ddd >

Where aaa, bbb, etc is the value of the audio level received and is 000-060.

aaa= input 1

bbb= input 2

ccc= output 1

ddd= output 2

Stop Metering
Command String:

< SET METER_RATE 0 >

A value of 00000 is also acceptable.
ANI22 Response:

< REP METER_RATE 00000 >

Get LED Brightness
Command String:

< GET LED_BRIGHTNESS >

ANI22 Response:

< REP LED_BRIGHTNESS n >

Where n can take on the following values:

0 = LED disabled

1 = LED dim

2 = LED default

Set LED Brightness
Command String:

< SET LED_BRIGHTNESS n >

Where n can take on the following values:

0 = LED disabled

1 = LED dim

2 = LED default

ANI22 Response:

< REP LED_BRIGHTNESS n >

Get Audio Clip Indicator
Command String:

< GET xx AUDIO_OUT_CLIP_INDICATOR >

Where xx is ASCII channel number: 00 through 04.
ANI22 Response:

< REP xx AUDIO_OUT_CLIP_INDICATOR ON >

< REP xx AUDIO_OUT_CLIP_INDICATOR OFF >

The ANI22 will respond with one of these strings.
Get Audio IP Address
Command String:

< GET IP_ADDR_NET_AUDIO_PRIMARY >

ANI22 Response:

< REP IP_ADDR_NET_AUDIO_PRIMARY {yyyyyyyyyyyyyyy} >

Where yyyyyyyyyyyyyyy is a 15 digit IP address.
Get Audio Subnet Address
Command String:

< GET IP_SUBNET_NET_AUDIO_PRIMARY >

ANI22 Response:

< REP IP_SUBNET_NET_AUDIO_PRIMARY {yyyyyyyyyyyyyyy} >

Where yyyyyyyyyyyyyyy is a 15 digit subnet address.
Get Audio Gateway Address
Command String:

< GET IP_GATEWAY_NET_AUDIO_PRIMARY >

ANI22 Response:

< REP IP_GATEWAY_NET_AUDIO_PRIMARY {yyyyyyyyyyyyyyy} >

Where yyyyyyyyyyyyyyy is a 15 digit gateway address.
Get Limiter Status
Command String:

< GET LIMITER_ENGAGED >

Indicates if the limiter is currently reducing the signal level.
ANI22 Response:

< REP LIMITER_ENGAGED ON >

< REP LIMITER_ENGAGED OFF >

The ANI22 will respond with one of these strings.
Get Encryption Status
Command String:

< GET xx ENCRYPTION_CH >

ANI22 Response:

< REP xx ENCRYPTION_CH ON >

< REP xx ENCRYPTION_CH OFF >

The ANI22 will respond with one of these strings.
Get Phantom Power Status
Command String:

< GET xx PHANTOM_PWR_ENABLE >

ANI22 Response:

< REP xx PHANTOM_PWR_ENABLE ON >

< REP xx PHANTOM_PWR_ENABLE OFF >

The ANI22 will respond with one of these strings.
Turn Phantom Power On/Off
Command String:

< SET xx PHANTOM_PWR_ENABLE ON >

< SET xx PHANTOM_PWR_ENABLE OFF >

Send one of these commands to the ANI22.
ANI22 Response:

< REP xx PHANTOM_PWR_ENABLE ON >

< REP xx PHANTOM_PWR_ENABLE OFF >

The ANI22 will respond with one of these strings.
Reboot ANI22
Command String:

< SET REBOOT >

ANI22 Response:

< REP REBOOT >

Get Error Events
Command String:

< GET LAST_ERROR_EVENT >

Gets the last error that is loged on the ANI22.
ANI22 Response:

< REP LAST_ERROR_EVENT {yyyyyyyyyyyyyyy} >

Where yyyyyyyyyyyyyyy is up to 128 characters.
Get PEQ Filter Enable
Command String:

< GET xx PEQ yy >

Where xx is the PEQ block 01-04. Where yy is the PEQ filter 01-04 within the block. 00 can be used for all blocks or all filters.
ANI22 Response:

< REP xx PEQ yy ON >

< REP xx PEQ yy OFF >

Set PEQ Filter Enable
Command String:

< SET xx PEQ yy ON >

< SET xx PEQ yy OFF >

Send one of these commands to the ANI22.
ANI22 Response:

< REP xx PEQ yy ON >

< REP xx PEQ yy OFF >

Where xx is the PEQ block 01-04. Where yy is the PEQ filter 01-04 within the block. 00 can be used for all blocks or all filters.
Get Audio Summing Mode
Command String:

< GET AUDIO_SUMMING_MODE >

ANI22 Response:

< REP AUDIO_SUMMING_MODE OFF >

< REP AUDIO_SUMMING_MODE 1+2 >

< REP AUDIO_SUMMING_MODE 3+4 >

< REP AUDIO_SUMMING_MODE 1+2/3+4 >

The ANI22 will respond with one of these strings.
Set Audio Summing Mode
Command String:

< SET AUDIO_SUMMING_MODE OFF >

< SET AUDIO_SUMMING_MODE 1+2 >

< SET AUDIO_SUMMING_MODE 3+4 >

< SET AUDIO_SUMMING_MODE 1+2/3+4 >

Send one of these commands to the ANI22.
ANI22 Response:

< REP AUDIO_SUMMING_MODE OFF >

< REP AUDIO_SUMMING_MODE 1+2 >

< REP AUDIO_SUMMING_MODE 3+4 >

< REP AUDIO_SUMMING_MODE 1+2/3+4 >

The ANI22 will respond with one of these strings.
Get Mic Logic Switch Out
Command String:

< GET HW_GATING_LOGIC >

ANI22 Response:

< REP HW_GATING_LOGIC ON >

< REP HW_GATING_LOGIC OFF >

The ANI22 will respond with one of these strings.
Get Mic Logic LED In
Command String:

< GET CHAN_LED_IN_STATE >

ANI22 Response:

< REP CHAN_LED_IN_STATE ON >

< REP CHAN_LED_IN_STATE OFF >

The ANI22 will respond with one of these strings.
Set Mic Logic LED In
Command String:

< SET CHAN_LED_IN_STATE ON >

< SET CHAN_LED_IN_STATE OFF >

Send one of these commands to the ANI22.
ANI22 Response:

< REP CHAN_LED_IN_STATE ON >

< REP CHAN_LED_IN_STATE OFF >

The ANI22 will respond with one of these strings.
Get Input Meter Display Mode
Command String:

< GET INPUT_METER_MODE >

ANI22 Response:

< REP INPUT_METER_MODE PRE_FADER >

< REP INPUT_METER_MODE POST_FADER >

The ANI22 will respond with one of these strings.
Set Input Meter Display Mode
Command String:

< SET INPUT_METER_MODE PRE_FADER >

< SET INPUT_METER_MODE POST_FADER >

Send one of these commands to the ANI22.
ANI22 Response:

< REP INPUT_METER_MODE PRE_FADER >

< REP INPUT_METER_MODE POST_FADER >

The ANI22 will respond with one of these strings.