Programming
Overview
This chapter defines all programming commands available for the NMX-ENC encoder.
SEND_COMMANDS
The commands listed in the following sections are for the switcher only. For generic NetLinx commands, see the
Integrated Controllers WebConsole and Programming Guide
The following table lists the port functionality mapping for the audio/video ports on the encoder:
Port Functionality Mapping
Port Number
1
1
1
1
1
1
Encoding Commands
The following table lists the encoding commands available for the encoder:
Encoding Commands
?AUDIN_FORMAT
Requests the format of the
audio input.
AUDIN_FORMAT
Sets the audio input format
for the port.
?AUDIN_SAMPLING
_RATE
Requests the current
sampling rate of the audio
input.
Instruction Manual - NMX-ENC H.264 Encoder
The commands derive their input/output port addressing from the target D:P:S.
Input and Output functional distinctions are disambiguated from the overlapped port numbers by combining
them with the command name.
Description
Multi-Format In
SDI In
Audio Input Line 1
HDMI Output 1
Relay Output 1
Keypad Output
Requests the currently selected audio input format.
Syntax:
SEND_COMMAND <DEV>, "'?AUDIN_FORMAT'"
Example:
SEND_COMMAND AUDIO_1, "'?AUDIN_FORMAT'"
Returns a COMMAND string of the form: AUDIN_FORMAT-<options>.
Specifies the audio input format for port addressed by the D:P:S.
Syntax:
SEND_COMMAND <DEV>, "'AUDIN_FORMAT-<options>'"
Variable:
option = Digital, Analog, No Audio
Example:
SEND_COMMAND AUDIO_1, "'AUDIN_FORMAT-Digital'"
Sets audio format for input port (#1 based on the D:P:S) to Digital.
Queries the current selected audio input sampling rate.
Syntax:
SEND_COMMAND <DEV>, "'?AUDIN_SAMPLING_RATE'"
Example:
SEND_COMMAND AUDIO_1, "'?AUDIN_SAMPLING_RATE'"
Returns a COMMAND string of the form: AUDIN_SAMPLING_RATE-<rate>.
available at www.amx.com.
Address
DevID:1:0
DevID:1:0
DevID:1:0
DevID:1:0
DevID:1:0
DevID:1:0
Programming
NetLinx
33