ABC Office MC-1 Digital Camera User Manual


 
Lexicon, Inc.
DC-2/MC-1 Serial Communications Protocol Printed on: 10/19/00
43 of 44
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
EffectId
Max
Params
F1 13 85 10 0F 16
DATA2 DATA3 DATA4 DATA5 DATA6 DATA7 DATA8 DATA9 DATA10 DATA11 DATA12 DATA13 DATA14 DATA15 EOP
Effect
Name[0]
Effect
Name[1]
Effect
Name[2]
Effect
Name[3]
Effect
Name[4]
Effect
Name[5]
Effect
Name[6]
Effect
Name[7]
Effect
Name[8]
Effect
Name[9]
Effect
Name[10]
Effect
Name[11]
Effect
Name[12]
Effect
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
InputId
Max
Params
Input
Name[0]
Input
Name[1]
Input
Name[2]
Input
Name[3]
Input
Name[4]
Input
Name[5]
Input
Name[6]
Input
Name[7]
F1 0D 2E 0A 03 4D 59 20 49 4E 50 55 54 00 F2
MY (sp)I NPUT 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”.