![background image](http://html1.mh-extra.com/html/amx/nmx-prs-n7142/nmx-prs-n7142_instruction-manual_2939079061.webp)
Appendix B: NetLinx Control
61
N7142 User Manual
Encoder/Decoder Commands
The following section provides information on native, string, IR, and serial commands for N-Series Encoders and Decoders as
related to NetLinx management. Commands are issued on the following ports:
• Port 1: Native and String Commands
• Port 2: IR Commands
• Port 3: Serial Commands
Native Commands Port 1
Command
Description
CO <stream>
Set the current Encoder stream number.
IMPORTANT:
This command must be sent to D:P:S port 1.
Syntax:
SEND_COMMAND <DEV>, ’CO <stream>’
Variables:
stream = The target stream number from 1 to 32767.
NOTE: Stream number MOD 256 must not equal 0 or 255.
Examples:
SEND_COMMAND 5002:1:0, ’CO 2’
Command the Encoder to transmit on stream 2.
CI <stream>
Set the current Decoder stream number.
IMPORTANT:
This command must be sent to D:P:S port 1.
Syntax:
SEND_COMMAND <DEV>, ’CI <stream>’
Variables:
stream = The target stream number from 0 to 32767.
NOTE: Stream number MOD 256 must not equal 0 or 255. The only exception to this
limitation is that the stream number can be 0 (no stream).
Examples:
SEND_COMMAND 5002:1:0, ’CI 2’
Command the Decoder to receive stream 2.
CA <stream>
Set the current Decoder Audio stream
number.
IMPORTANT:
This command must be sent to D:P:S port 1.
Syntax:
SEND_COMMAND <DEV>, ’CA <stream>’
Variables:
stream = The target stream number from 0 to 32767. Set to 0 for the audio stream
to follow the video stream.
Examples:
SEND_COMMAND 5002:1:0, ’CA 2’
Command the Decoder to receive audio stream 2.
AUDOUT_MUTE
Set the audio mute.
IMPORTANT:
This command must be sent to D:P:S port 1.
Syntax:
SEND_COMMAND <DEV>, ’AUDOUT_MUTE-<ENABLE|DISABLE>’
Variables:
ENABLE = Enables audio mute.
DISABLE = Disables audio mute.
Examples:
SEND_COMMAND 5002:1:0, ’AUDOUT_MUTE-ENABLE’
Enable audio mute.
VIDOUT_MUTE
Disable the Encoder/Decoder output
stream.
IMPORTANT:
This command must be sent to D:P:S port 1.
Syntax:
SEND_COMMAND <DEV>, ’VIDOUT_MUTE-<ENABLE|DISABLE>’
Variables:
ENABLE = Enables video mute.
DISABLE = Disables video mute.
Examples:
SEND_COMMAND 5002:1:0, ’VIDOUT_MUTE-ENABLE’
Enable video mute.
LIVE_PLAY
Set the device into live play mode.
IMPORTANT:
This command must be sent to D:P:S port 1.
Syntax:
SEND_COMMAND <DEV>, ’LIVE_PLAY’
Examples:
SEND_COMMAND 5002:1:0, ’LIVE_PLAY’
Enable live play.