Data validation, Set system volume, Command packet description – Lexicon DC-2 User Manual
Page 25: Data description, Dc-2/mc-1 response, Set main balance

Lexicon, Inc.
DC-2/MC-1 Serial Communications Protocol
Printed on: 10/19/00
25 of 44
The Effect Id must be a valid Effect Id. If it is not the DC-2/MC-1 will respond with a NAK packet and
error code DC_ERR_ INVALID_EFFECT_ID. If an invalid string is passed, DC-2/MC-1 will ignore the
command and transmit a DC_NAK command with an error code DC_ERR _INVALID_DATA.
7.3.18 Set System Volume
Commands DC-2/MC-1 to set the system volume with the value in this packet.
7.3.18.1 Command Packet Description
Application Header:
Command
DC_CMD_SET_SYS_VOLUME
0x21
Data Count
1
0x01
Application Data:
Data[0]
Value
nn
7.3.18.2 Data Description
Value:
Data Type:
Unsigned 8 bit integer.
Max:
92
Conversion:
0 = -80 dB
92 = +12 dB
7.3.18.3 DC-2/MC-1 Response
The DC-2/MC-1 will assign the value from the packet to the system volume.
7.3.18.4 Data Validation
If a value is passed that exceeds the maximum value of that parameter the DC-2/MC-1 will ignore the
command and transmit a DC_NAK command with an error code DC_ERR_INVALID_DATA.
7.3.19 Set Main Balance
Commands DC-2/MC-1 to set the system balance to the value in this packet.
7.3.19.1 Command Packet Description
Application Header:
Command
DC_CMD_SET_SYS_BALANCE
0x22
Data Count
1
0x01
Application Data:
Data[0]
Value
nn
7.3.19.2 Data Description
Value:
Data Type:
Unsigned 8 bit integer.
Maximum Value:
32
Conversion:
0 = Left
32 = Right
7.3.19.3 DC-2/MC-1 Response
The DC-2/MC-1 will assign the value from the packet to the system balance.
7.3.19.4 Data Validation