Effect parameter definition response packet, Data description, Get effect parameter values – Lexicon DC-2 User Manual
Page 20: Command packet description, Data validation
![background image](/manuals/42416/20/background.png)
Lexicon, Inc.
DC-2/MC-1 Serial Communications Protocol
Printed on: 10/19/00
20 of 44
7.3.10.5 Data Description
EffectId:
Data Type:
Unsigned 8 bit integer.
Max:
Set by the Effect Count in the “Unit Configuration Packet”.
ParamId:
Data Type:
Unsigned 8 bit integer.
Max:
Set by the Parameter Count in the “Effect Definition Packet”.
MaxValue:
Maximum Value allowed for this parameter.
Data Type:
Unsigned 8 bit integer
Max:
255
Value:
The Current Value for this parameter.
Data Type:
Unsigned 8 bit integer
Max:
MaxValue(in this Packet)
7.3.11 Get Effect Parameter Values
Request to DC-2/MC-1 for an effect’s parameter values. DC-2/MC-1 will respond with “Effect Parameter
Values Packet”.
7.3.11.1 Command Packet Description
Application Header:
Command
DC_CMD_GET_EFFECT_PARAM_VALUES
0x1D
Data Count
1
0x01
Application Data:
Data[0]
EffectId
nn
7.3.11.2 Data Description
EffectId:
Data Type:
Unsigned 8 bit integer.
Max:
Set by the Effect Count in the “Unit Configuration Packet”.
7.3.11.3 Data Validation:
The EffectId 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.
7.3.11.4 Effect Parameter Values Response Packet
Application Header:
Command
DC_RESP_EFFECT_PARAM_DEF
0x86
Data Count
4
0x04
Application Data:
Data[0]
EffectId
nn
Data[1]
ParamId
nn
Data[2]
MaxValue
nn
Data[3]
Value
nn