ABC Office DC-2, MC-1 manual Get Effect Definition, Set Input Name

Page 43

Lexicon, Inc.

 

DC-2/MC-1 Serial Communications Protocol

Printed on: 10/19/00

15.5.2 Get Effect Definition

Once we know how many effects the DC-2/MC-1 has resident we can then start to step through each effect for its definition. This is done by sending a GET_EFFECT command packet:

SOP

DLL DC

CMD

App DC

DATA0

EOP

 

 

 

 

EffectId

 

F1

04

1B

01

0F

F2

The DC-2/MC-1 responds with a DC_RESP_EFFECT_DEF packet:

SOP

 

DLL DC

 

CMD

 

App DC

DATA0

 

DATA1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Max

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

EffectId

 

Params

 

 

 

 

 

 

 

 

F1

 

13

 

 

85

 

 

10

 

0F

 

 

16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DATA2

 

DATA3

 

DATA4

 

DATA5

DATA6

DATA7

 

DATA8

DATA9

DATA10

DATA11

DATA12

DATA13

DATA14

DATA15

EOP

Effect

 

Effect

 

 

Effect

 

Effect

Effect

Effect

 

Effect

Effect

Effect

Effect

Effect

Effect

Effect

Effect

 

Name[0]

Name[1]

Name[2]

 

Name[3]

Name[4]

Name[5]

 

Name[6]

Name[7]

Name[8]

Name[9]

Name[10]

Name[11]

Name[12]

Name[13]

 

4C

 

4F

 

47

 

49

43

20

 

 

37

20

20

20

20

20

20

00

F2

L

 

O

 

 

G

 

 

I

 

C

(sp)

 

7

 

(sp)

(sp)

(sp)

(sp)

(sp)

(sp)

00

 

Here we can see that we requested effect number 16 and the DC-2/MC-1 responded with the effect number 16 definition. Effect 16 has 22 parameters and it is currently named “LOGIC 7”. Note there are trailing spaces.

15.5.3

Set Input Name

 

 

 

 

 

 

 

 

 

 

 

 

In order to change an Input name all we must do is send a DC_CMD_SET_INPUT_NAME packet:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SOP

 

DLL DC

CMD

 

App DC

DATA0

DATA1

DATA2

DATA3

DATA4

DATA5

DATA6

DATA7

DATA8

DATA9

EOP

 

 

 

 

 

 

 

Max

Input

Input

Input

Input

Input

Input

Input

Input

 

 

 

 

 

 

 

InputId

Params

Name[0]

Name[1]

Name[2]

Name[3]

Name[4]

Name[5]

Name[6]

Name[7]

 

F1

 

0D

2E

 

0A

03

4D

59

20

49

4E

50

55

54

00

F2

 

 

 

 

 

 

 

M

Y

(sp)

I

N

P

U

T

0

 

Here we see that we are telling the DC-2/MC-1 to change the AUX(3) input to be renamed as “MY INPUT”.

43 of 44

Image 43
Contents Serial Communications Protocol Definition Data Link Layer Internal Use General Description DocumentsDefinitions AbbreviationsPhysical Layer DB-9 RS232 ConnectorSerial Port Driver Data Link Layer ErrorsDC-2/MC-1 Receive Buffer DC-2/MC-1 Hardware VerificationNotification Packet Description Application LayerDC-2/MC-1 Asynchronous Notification Packets Wakeup NotificationData Description Sleep NotificationFront Panel Display Buffer Host Response ExpectedSupported System Parameters Host ResponseAcknowledge Acknowledgment PacketsNo Acknowledge Send IR Command Host Initiated Command PacketsReset Unit Restore DefaultsData Validation Get DC-2/MC-1 Unit Configuration4.2 DC-2/MC-1 Unit Configuration Response Packet 3.3 DC-2/MC-1 ResponseSW Level Product IDSW Type THX AC3 DTSSystem Status Response Packet Get System StatusDcrespsysstatus INSTREAMAC351 Get Record/Zone 2 StatusRateunknown RATE44 RATE48 RATE88 RATE96Dccmdgetrecstatus Get System Parameter Definition by Id Command PacketGet System Parameter Definition Record/Zone2 Status Response PacketDcrespsysparamdef Get System Parameter Definition by Name Command PacketSystem Parameter Definition Response Packet DccmdgetsysparambynameEffect Definition Response Packet Get System Parameter ValuesGet Effect Definition by Id System Parameter Values Response PacketDccmdgeteffectparamdef Get Effect Parameter DefinitionEffect Parameter Definition Response Packet DcrespeffectdefApplicationHeader Get Effect Parameter Values10.5 Data Description Effect Parameter Values Response PacketGet Input Name by Id Get Custom NameData Description Custom Name Response Packet Input Name Response Packet Get FPD Control RegistersFPD Control Register Response Packet Dcrespfpdcontrol Set System Parameter ValuesSet Effect Parameter Values 15.3 DC-2/MC-1 ResponseDccmdseteffectparamvalues Set Effect Name by Effect Id16.3 DC-2/MC-1 Response 17.3 DC-2/MC-1 Response19.3 DC-2/MC-1 Response Set System VolumeSet Main Balance 18.3 DC-2/MC-1 Response20.3 DC-2/MC-1 Response Set Front/Back BalanceSet Active Effect by Id Packet Description23.3 DC-2/MC-1 Response Data Validation Set Record/Zone2 InputClear Record/Zone2 Input 22.3 DC-2/MC-1 Response Data Validation24.3 DC-2/MC-1 Response Set Zone2 VolumeSet Zone2 Left/Right Balance Set Custom NameDccmdsetcustname Set Input Name by Id26.3 DC-2/MC-1 Response 27.3 DC-2/MC-1 ResponseData Description 29.3 DC-2/MC-1 Response Set FPD Control RegistersHost Wakeup 28.3 DC-2/MC-1 ResponseHost Sleep Get Communication Configuration31.3 Data Description 32.2 Data Description Set Communication ConfigurationDccmdsetcomconfig Set MuteDccmdsetmute Set Output Level Adjustments33.3 DC-2/MC-1 Response 34.2 Data Description35.3 DC-2/MC-1 Response Send Display String Command34.3 DC-2/MC-1 Response 35.2 Data DescriptionInternal Use Peek CommandPoke Command Appendix a Command CodesAcknowledgments ResponsesError CodeHex Appendix B Error CodesHex Function Code Shift Functions Hex Code Rec Function Appendix C DC-2/MC-1 IR-CodesConstant ValueDec Appendix D Input Id’sAppendix E Protocol Constants Input Name Input Id15.1.1 DC-2/MC-1 Appendix F FPD Control RegistersApplication Notes and Examples Box initializationsDownloading the System Setup to the DC-2/MC-1 Getting System Wide Status and SetupSimple System Control & System Status DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7 DATA8 Get Unit ConfigurationExamples SOP DLL DC CMD15.5.3 Set Input Name Get Effect DefinitionCmd Send IR Command Example