Set Input Name By Id - Lexicon DC-2 Protocol Manual

Serial communications protocol
Table of Contents

Advertisement

Lexicon, Inc.
DC-2/MC-1 Serial Communications Protocol
7.3.26.1 Packet Description
Application Header:
Command
Data Count
Application Data:
Data[0]
Data[1]-Data[DataCount-1]
7.3.26.2 Data Description
CustomNameEnable:
DataType:
TRUE:
FALSE:
CustomName:
Data Type:
Max Length:
7.3.26.3 DC-2/MC-1 Response
If the custom name enable is TRUE then the custom name banner is display on "power on". If the Custom
Name Enable is FASLE the custom name is not displayed. The CustomName string is copied to
Nonvolatile RAM. The DC-2/MC-1 will Ack when completed with this command.
7.3.26.4 Data Validation:
If an invalid string is passed, DC-2/MC-1 will ignore the command and transmit a DC_NAK command
with an error code DC_INVALID_DATA.

7.3.27 Set Input Name by Id

Sets an Input Name to the transmitted value for a given input.
7.3.27.1 Command Packet Description
Application Header:
Command
Data Count
Application Data:
Data[0]
Data[1]-Data[DataCount-1]
7.3.27.2 Data Description
InputId:
Data Type:
Max Value:
Conversion:
InputName:
Data Type:
Max Length:
7.3.27.3 DC-2/MC-1 Response
DC-2/MC-1 will copy the InputName to the given input.
7.3.27.4 Data Validation:
DC_CMD_SET_CUST_NAME
1 + strlen(CustomName) + 1
CustomNameEnable
CustomName
Enables/Disables the Custom Name Display.
Boolean
CustomName Enabled
CustomName Disabled
Null(0x00) terminated ASCII character string.
CUSTOM_NAME_LENGTH defined in Appendix E Protocol Constants.
DC_CMD_SET_INPUT_NAME
strlen(InputName) + 2
InputId
InputName
Unsigned 8 bit Integer
7
Input Id are defined in Appendix D Input Id's
Null(0x00) terminated ASCII character string.
INPUT_NAME_LENGTH defined in Appendix E Protocol Constants.
Printed on: 10/19/00
0x2C
nn
nn
ch ch ch ... 0x00
0x2E
nn
0 to 7
ch ch ch ... 0x00
29 of 44

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc-1

Table of Contents