Lexicon MC-12 用户指南

下载
页码 106
Lexicon 
MC-12 Serial Communications Protocol 
 
Printed on: 07/13/05 
7.3.55  MC-12 Set Input Name by Id (MC-12) 
Sets an Input Name to the transmitted value for a given input. 
 
7.3.55.1  Command Packet Description 
  
  
Application Header: 
Command MC_CMD_SET_INPUT_NAME 0x48 
Number of characters in 
InputName + 2 
Data Count 
nn 
 
  
Application Data: 
Data[0] 
InputId 
0 to 7 
Data[1]-Data[DataCount-1] 
InputName 
ch ch ch ... 0x00 
 
7.3.55.2 Data Description 
InputId: 
 
Data Type: 
 
Unsigned 8 bit Integer 
Description/Conversion: 
 
InputName: 
Data Type: 
Null (0x00) terminated ASCII character string. 
Max Length: 
INPUT_NAME_LENGTH defined in 
7.3.55.3 MC-12 Response 
MC-12 will copy the InputName to the given input. 
7.3.55.4 Data Validation: 
The InputId must be a valid Input Id.  If it is not the MC-12 will respond with a NAK packet and error 
code DC_INVALID_INPUT.   If the InputName string exceeds the INPUT_NAME_LENGTH, the MC-12 
will truncate the string to the INPUT_NAME_LENGTH. 
 
© 2005 Harman Specialty Group All rights reserved. 
 
54 of 106