beautypg.com

AMX Signature Series NetLinx Integrated Controller NI-3101-SIG User Manual

Page 151

background image

Programming

141

NI-3101-SIG Signature Series NetLinx Integrated Controller

IR/Serial Send_Commands (Cont.)

Command

Description

XCHM
Changes the IR output
pattern for the 'XCH' send
command.

Syntax:

SEND_COMMAND ,"'XCHM '"

Variable:

extended channel mode = 0 - 4.

Example:

SEND_COMMAND IR_1,"'XCHM 3'"

Sets the IR_1 device's extended channel command to mode 3.
Mode 0 Example (default): [x][x]

SEND_COMMAND IR_1,"'XCH 3'"

Transmits the IR code as 3-enter.

SEND_COMMAND IR_1,"'XCH 34'"

Transmits the IR code as 3-4-enter.

SEND_COMMAND IR_1,"'XCH 343'"

Transmits the IR code as 3-4-3-enter.

Mode 1 Example:

SEND_COMMAND IR_1,"'XCH 3'"

Transmits the IR code as 0-0-3-enter.

SEND_COMMAND IR_1,"'XCH 34'"

Transmits the IR code as 0-3-4-enter.

SEND_COMMAND IR_1,"'XCH 343'"

Transmits the IR code as 3-4-3-enter.

Mode 2 Example:

SEND_COMMAND IR_1,"'XCH 3'"

Transmits the IR code as 0-0-3.

SEND_COMMAND IR_1,"'XCH 34'"

Transmits the IR code as 0-3-4.

SEND_COMMAND IR_1,"'XCH 343'"

Transmits the IR code as 3-4-3.

Mode 3 Example: [[100][100]…]

SEND_COMMAND IR_1,"'XCH 3'"

Transmits the IR code as 0-3.

SEND_COMMAND IR_1,"'XCH 34'"

Transmits the IR code as 3-4.

SEND_COMMAND IR_1,"'XCH 343'"

Transmits the IR code as 100-100-100-4-3.

Mode 4:
Mode 4 sends the same sequences as the 'CH' command. Only use Mode 4
with channels 0 - 199.
Mode 5 Example:

SEND_COMMAND IR_1,"'XCH 3'"

Transmits the IR code as 0-0-0-3-enter.

SEND_COMMAND IR_1,"'XCH 34'"

Transmits the IR code as 0-0-3-4-enter.

SEND_COMMAND IR_1,"'XCH 343'"

Transmits the IR code as 0-3-4-3-enter.

SEND_COMMAND IR_1,"'XCH 1343'"

Transmits the IR code as 1-3-4-3-enter.