ABC Office MC-1, DC-2 manual Get System Parameter Values, Get Effect Definition by Id

Page 18

Lexicon, Inc.

 

DC-2/MC-1 Serial Communications Protocol

Printed on: 10/19/00

7.3.8 Get System Parameter Values

Request to DC-2/MC-1 for all current system parameter values. DC-2/MC-1 will respond with the “System Parameter Values Packet”.

7.3.8.1 Command Packet Description

Application Header:

 

Command

DC_CMD_GET_SYS_PARAM_VALUES

0x1A

Data Count

0

0x00

Application Data:

 

 

N/A

 

7.3.8.2 System Parameter Values Response Packet

Application Header:

 

 

Command

DC_RESP_SYS_PARAM_VALUES

0x84

Data Count

SYS_PARAM_COUNT

nn

Application Data:

 

 

Data[0]

sys_param_value[0]

nn

Data[1]

sys_param_value[1]

nn

Data[…]

sys_param_value[…]

nn

Data[SYS_PARAM_COUNT-1]

sys_param_value[SYS_PARAM_COUNT-1]

nn

7.3.8.3 Data Description

sys_param_value:

 

Data Type:

Unsigned 8 bit integer Array.

Max:

Dependent on the parameter definition.

7.3.9 Get Effect Definition by Id

Request to DC-2/MC-1 for an effect definition. DC-2/MC-1 will respond with “Effect Definition Packet”.

7.3.9.1 Command Packet Description

Application Header:

Command

DC_CMD_GET_EFFECT

0x1B

Data Count

1

0x01

Application Data:

 

Data[0]

EffectId

nn

7.3.9.2 Data Description

EffectId:

 

Data Type:

Unsigned 8 bit integer

Max:

Set by the Effect Count in the “Unit Configuration Packet”.

7.3.9.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.9.4 Effect Definition Response Packet

18 of 44

Image 18
Contents Serial Communications Protocol Definition Data Link Layer Internal Use Abbreviations DocumentsDefinitions General DescriptionDB-9 RS232 Connector Physical LayerSerial Port Driver DC-2/MC-1 Hardware Verification ErrorsDC-2/MC-1 Receive Buffer Data Link LayerWakeup Notification Application LayerDC-2/MC-1 Asynchronous Notification Packets Notification Packet DescriptionHost Response Expected Sleep NotificationFront Panel Display Buffer Data DescriptionHost Response Supported System ParametersAcknowledgment Packets AcknowledgeNo Acknowledge Restore Defaults Host Initiated Command PacketsReset Unit Send IR Command3.3 DC-2/MC-1 Response Get DC-2/MC-1 Unit Configuration4.2 DC-2/MC-1 Unit Configuration Response Packet Data ValidationTHX AC3 DTS Product IDSW Type SW LevelGet System Status System Status Response PacketDcrespsysstatus RATE96 Get Record/Zone 2 StatusRateunknown RATE44 RATE48 RATE88 INSTREAMAC351Record/Zone2 Status Response Packet Get System Parameter Definition by Id Command PacketGet System Parameter Definition DccmdgetrecstatusDccmdgetsysparambyname Get System Parameter Definition by Name Command PacketSystem Parameter Definition Response Packet DcrespsysparamdefSystem Parameter Values Response Packet Get System Parameter ValuesGet Effect Definition by Id Effect Definition Response PacketDcrespeffectdef Get Effect Parameter DefinitionEffect Parameter Definition Response Packet DccmdgeteffectparamdefEffect Parameter Values Response Packet Get Effect Parameter Values10.5 Data Description ApplicationHeaderGet Custom Name Get Input Name by IdData Description Custom Name Response Packet Get FPD Control Registers Input Name Response PacketFPD Control Register Response Packet 15.3 DC-2/MC-1 Response Set System Parameter ValuesSet Effect Parameter Values Dcrespfpdcontrol17.3 DC-2/MC-1 Response Set Effect Name by Effect Id16.3 DC-2/MC-1 Response Dccmdseteffectparamvalues18.3 DC-2/MC-1 Response Set System VolumeSet Main Balance 19.3 DC-2/MC-1 ResponsePacket Description Set Front/Back BalanceSet Active Effect by Id 20.3 DC-2/MC-1 Response22.3 DC-2/MC-1 Response Data Validation Set Record/Zone2 InputClear Record/Zone2 Input 23.3 DC-2/MC-1 Response Data ValidationSet Custom Name Set Zone2 VolumeSet Zone2 Left/Right Balance 24.3 DC-2/MC-1 Response27.3 DC-2/MC-1 Response Set Input Name by Id26.3 DC-2/MC-1 Response Dccmdsetcustname28.3 DC-2/MC-1 Response Set FPD Control RegistersHost Wakeup Data Description 29.3 DC-2/MC-1 ResponseGet Communication Configuration Host Sleep31.3 Data Description Set Mute Set Communication ConfigurationDccmdsetcomconfig 32.2 Data Description34.2 Data Description Set Output Level Adjustments33.3 DC-2/MC-1 Response Dccmdsetmute35.2 Data Description Send Display String Command34.3 DC-2/MC-1 Response 35.3 DC-2/MC-1 ResponseAppendix a Command Codes Peek CommandPoke Command Internal UseResponses AcknowledgmentsAppendix B Error Codes Error CodeHexAppendix C DC-2/MC-1 IR-Codes Hex Function Code Shift Functions Hex Code Rec FunctionInput Name Input Id Appendix D Input Id’sAppendix E Protocol Constants Constant ValueDecBox initializations Appendix F FPD Control RegistersApplication Notes and Examples 15.1.1 DC-2/MC-1Getting System Wide Status and Setup Downloading the System Setup to the DC-2/MC-1Simple System Control & System Status SOP DLL DC CMD Get Unit ConfigurationExamples DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7 DATA8Get Effect Definition 15.5.3 Set Input NameSend IR Command Example Cmd