NX Series - Webconsole ProgrammingGuide
NX Series - Webconsole ProgrammingGuide
N X - S E R I ES C O N T RO L LE RS
E N OVA ® DVX A L L - I N - O N E P RES E N T AT I O N SW I TC H E RS
E N OVA ® D GX DI G I T A L M EDIA SW I TC H E RS
M ASS I O ™ C O N T RO LPAD S
NX -1 20 0, N X- 220 0, N X- 320 0, N X-4 200
DVX-3250HD-SP , DVX-3250HD-T, DVX-3255HD-SP , DVX-3255HD-T, DVX-3256HD-SP, DVX-3256HD-T
DVX-2250HD-SP , DVX-2250HD-T, DVX-2255HD-SP , DVX-2255HD-T, DVX-2210HD-SP, DVX-2210HD-T
DGX8-ENC, DGX16-ENC, DGX32- EN C- A, DGX64-ENC
MCP- 10 6, MCP- 10 8
IMPORTANT SAFETY INSTRUCTIONS
1. READ these instructions.
2. KEEP these instructions.
3. HEED all warnings.
4. FOLLOW all instructions.
5. DO NOT use this apparatus near water.
6. CLEAN ONLY with dry cloth.
7. DO NOT block any ventilation openings. Install in accordance with the manufacturer's instructions.
8. DO NOT install near any heat sources such as radiators, heat registers, stoves, or other apparatus (including amplifiers) that
produce heat.
9. DO NOT defeat the safety purpose of the polarized or grounding type plug. A polarized plug has two blades with one wider than the
other. A grounding type plug has two blades and a third grounding prong. The wider blade or the third prong are provided for your
safety. If the provided plug does not fit into your outlet, consult an electrician for replacement of the obsolete outlet.
10. PROTECT the power cord from being walked on or pinched, particularly at plugs, convenience receptacles, and the point where
they exit from the apparatus.
11. ONLY USE attachments/accessories specified by the manufacturer.
12. USE ONLY with a cart, stand, tripod, bracket, or table specified by the manufacturer, or sold with the apparatus. When a cart is
used, use caution when moving the cart/apparatus combination to avoid injury from tip-over.
13. UNPLUG this apparatus during lightning storms or when unused for long periods of time.
14. REFER all servicing to qualified service personnel. Servicing is required when the apparatus has been damaged in any way, such as
power-supply cord or plug is damaged, liquid has been spilled or objects have fallen into the apparatus, the apparatus has been
exposed to rain or moisture, does not operate normally, or has been dropped.
15. DO NOT expose this apparatus to dripping or splashing and ensure that no objects filled with liquids, such as vases, are placed on
the apparatus.
16. To completely disconnect this apparatus from the AC Mains, disconnect the power supply cord plug from the AC receptacle.
17. Where the mains plug or an appliance coupler is used as the disconnect device, the disconnect device shall remain readily operable.
18. DO NOT overload wall outlets or extension cords beyond their rated capacity as this can cause electric shock or fire.
The exclamation point, within an equilateral triangle, is intended to alert the user to the presence of important operating and maintenance
(servicing) instructions in the literature accompanying the product.
The lightning flash with arrowhead symbol within an equilateral triangle is intended to alert the user to the presence of uninsulated "dangerous
voltage" within the product's enclosure that may be of sufficient magnitude to constitute a risk of electrical shock to persons.
ESD Warning: The icon to the left indicates text regarding potential danger associated with the discharge of static electricity from an outside
source (such as human hands) into an integrated circuit, often resulting in damage to the circuit.
WARNING: To reduce the risk of fire or electrical shock, do not expose this apparatus to rain or moisture.
WARNING: No naked flame sources - such as candles - should be placed on the product.
WARNING: Equipment shall be connected to a MAINS socket outlet with a protective earthing connection.
WARNING: To reduce the risk of electric shock, grounding of the center pin of this plug must be maintained.
COPYRIGHT NOTICE
AMX© 2015, all rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any
means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of AMX. Copyright protection claimed
extends to AMX hardware and software and includes all forms and matters copyrightable material and information now allowed by statutory or judicial
law or herein after granted, including without limitation, material generated from the software programs which are displayed on the screen such as
icons, screen display looks, etc. Reproduction or disassembly of embodied computer programs or algorithms is expressly prohibited.
LIABILITY NOTICE
No patent liability is assumed with respect to the use of information contained herein. While every precaution has been taken in the preparation of this
publication, AMX assumes no responsibility for error or omissions. No liability is assumed for damages resulting from the use of the information
contained herein. Further, this publication and features described herein are subject to change without notice.
Table of Contents
Overview ..........................................................................................................13
NetLinx NX Integrated Controllers................................................................................. 13
Enova DVX All-in-One Presentation Switchers ............................................................... 13
Enova DVX-22xxHD & DVX-325xHD ...................................................................................................... 13
Enova DGX Digital Media Switchers................................................................................ 14
Massio™ ControlPads ..................................................................................................... 14
About This Document ..................................................................................................... 14
Differences in DEFINE_PROGRAM Program Execution................................................... 14
CPU Usage ............................................................................................................................................ 15
Quick Setup and Configuration Overview....................................................................... 17
Installation Procedures ........................................................................................................................ 17
Configuration and Communication ...................................................................................................... 17
Update the On-board Master and Controller Firmware........................................................................ 17
Configure NetLinx Security on the NX Controller ................................................................................. 17
Using Zero Configuration ............................................................................................... 17
Bonjour (Zero-Configuration) Client .................................................................................................... 17
Connecting to a Network with a DHCP Server ...................................................................................... 17
Initial Configuration ........................................................................................19
Overview ......................................................................................................................... 19
Before You Start ............................................................................................................. 19
Preparing the Master for USB Communication .............................................................. 19
Configuring the NX Controller for LAN Communication................................................. 21
Obtaining the NX Controller’s IP Address (using DHCP) ................................................ 23
Assigning a Static IP to the NX Controller ..................................................................... 24
Communicating via IP Address ....................................................................................... 25
Upgrading Firmware .......................................................................................28
Overview .......................................................................................................................... 28
NX Controllers - Firmware Files ............................................................................................................ 28
NX Master Firmware ............................................................................................................................................................... 28
Device Controller Firmware.................................................................................................................................................... 28
Enova DVX ............................................................................................................................................. 28
Before You Start .............................................................................................................. 29
Verifying the Current Firmware Version ......................................................................... 29
Downloading the Latest Firmware Files from www.amx.com ......................................... 29
NetLinx Integrated Controllers ............................................................................................................ 29
Master and Device Firmware Kit Files for NX-Series Controllers ....................................................................... 29
Downloading NX-Series Controller Firmware Files on www.amx.com............................................................... 30
Enova DVX All-In-One Presentation Switchers..................................................................................... 30
Master, Switcher and Device Firmware Files for Enova DVX All-In-One Presentation Switchers ...................... 30
Switch Mode.......................................................................................................................................... 69
Configuring/Switching the Downmix Signal ........................................................................................ 70
Designating an Input for Downmixing (from Configuration page) ...................................................... 70
Configuration Page......................................................................................................... 71
Configuration Components .................................................................................................................. 71
Video Settings....................................................................................................................................... 73
Inputs Only ......................................................................................................................................................... 73
Outputs Only ....................................................................................................................................................... 73
DXLink Video Settings........................................................................................................................... 75
DXLink (Twisted Pair or Fiber) Transmitters (for selected video input) ............................................................ 75
DXLink (Twisted Pair or Fiber) Receivers (for selected video output)............................................................... 75
Audio Settings ...................................................................................................................................... 76
Inputs Only ......................................................................................................................................................... 76
Outputs Only ....................................................................................................................................................... 77
DXLink Audio Settings .......................................................................................................................... 78
DXLink (Twisted Pair or Fiber) Transmitter (for selected audio input) ............................................................. 78
DXLink (Twisted Pair or Fiber) Receivers (for selected audio output)............................................................... 79
EDID Configuration ............................................................................................................................... 79
Setting an EDID for an Input:................................................................................................................ 79
Setting an EDID for an Output:.............................................................................................................. 79
Setting the EDID Mode for an Audio Input: .......................................................................................... 79
Loading and Saving EDIDs .................................................................................................................... 79
Status Page..................................................................................................................... 80
System Configuration Interface Tips ................................................................................................................. 81
CHARD..................................................................................................................................................................................... 88
CHARDM.................................................................................................................................................................................. 88
CLEAR FAULT .......................................................................................................................................................................... 88
CTSPSH ................................................................................................................................................................................... 88
CTSPSH OFF ............................................................................................................................................................................ 88
GET BAUD ............................................................................................................................................................................... 89
GET FAULT .............................................................................................................................................................................. 89
GET STATUS............................................................................................................................................................................ 89
HSOFF ..................................................................................................................................................................................... 89
HSON....................................................................................................................................................................................... 89
RXCLR ..................................................................................................................................................................................... 89
RXOFF ..................................................................................................................................................................................... 89
RXON ....................................................................................................................................................................................... 89
SET BAUD............................................................................................................................................................................... 90
SET FAULT DETECT OFF ......................................................................................................................................................... 90
SET FAULT DETECT ON........................................................................................................................................................... 90
TSET BAUD............................................................................................................................................................................. 90
TXCLR .................................................................................................................................................................................... 91
XOFF....................................................................................................................................................................................... 91
XON ........................................................................................................................................................................................ 91
RS-232/422/485 SEND_STRING Escape Sequences...................................................... 92
27,17,<time> ......................................................................................................................................................................... 92
27,18,0 ................................................................................................................................................................................... 92
27,18,1 ................................................................................................................................................................................... 92
27,19,<time> ......................................................................................................................................................................... 92
27,20,0 ................................................................................................................................................................................... 92
27,20,1 ................................................................................................................................................................................... 92
ESCSEQOFF ............................................................................................................................................................................. 92
ESCSEQON .............................................................................................................................................................................. 92
IR/Serial Ports Channels................................................................................................. 93
IRRX Port Channels ......................................................................................................... 93
IR/Serial SEND_COMMANDs............................................................................................ 93
CAROFF ................................................................................................................................................................................... 93
CARON .................................................................................................................................................................................... 93
CH ........................................................................................................................................................................................... 93
CLEAR FAULT .......................................................................................................................................................................... 93
CP........................................................................................................................................................................................... 94
CTOF ...................................................................................................................................................................................... 94
CTON ...................................................................................................................................................................................... 94
GET BAUD .............................................................................................................................................................................. 94
GET FAULT ............................................................................................................................................................................. 94
GET MODE .............................................................................................................................................................................. 94
GET STATUS........................................................................................................................................................................... 94
IROFF ...................................................................................................................................................................................... 95
POD ......................................................................................................................................................................................... 95
POF.......................................................................................................................................................................................... 95
PON ......................................................................................................................................................................................... 95
PTOF........................................................................................................................................................................................ 95
PTON ....................................................................................................................................................................................... 95
SET BAUD................................................................................................................................................................................ 96
SET FAULT DETECT OFF .......................................................................................................................................................... 96
SET FAULT DETECT ON............................................................................................................................................................ 96
SET IO LINK ............................................................................................................................................................................ 96
SET MODE............................................................................................................................................................................... 97
SP........................................................................................................................................................................................... 97
XCH ........................................................................................................................................................................................ 97
XCHM ...................................................................................................................................................................................... 98
Input/Output SEND_COMMANDs..................................................................................... 99
GET DBT .................................................................................................................................................................................. 99
SET DBT .................................................................................................................................................................................. 99
GET INPUT .............................................................................................................................................................................. 99
SET INPUT .............................................................................................................................................................................. 99
Overview
NetLinx NX Integrated Controllers
NetLinx NX Integrated Controllers (Masters) can be programmed to control RS-232/422/485, Relay, IR/Serial, and Input/Output
devices using the NetLinx Studio application (version 4.0 or higher).
NetLinx NX Integrated Controllers
Name Description
NX-1200 NetLinx NX Integrated Controller
NX-2200 NetLinx NX Integrated Controller
NX-3200 NetLinx NX Integrated Controller
NX-4200 NetLinx NX Integrated Controller
NOTE: Refer to the Products > Central Controllers > NetLinx NX Integrated Controllers page at www.amx.com for details and
variations available for these products.
NX controllers feature an on-board Web Console which allows you to connect to the NX controller via a web browser and make
various configuration and security settings. The WebConsole is described in this document (starting with the On-Board WebConsole
User Interface section on page 34).
NX controllers are Duet-compatible and can be upgraded via firmware. Duet is a dual-interpreter firmware platform from AMX which
combines the proven reliability and power of NetLinx with the extensive capabilities of the Java® MicroEdition (Java Standard
Edition Embedded) platform. Duet simplifies the programming of a system that includes the NX controller and other third party
devices by standardizing device and function definitions, defaulting touch panel button assignments, and controlling feedback
methods.
Dynamic Device Discovery makes integration even easier by automatically identifying and communicating with devices which
support this beaconing technology.
NOTE: Refer to the Products > All-in-One Presentation Switchers page at www.amx.com for details and variations available for these
products.
Enova DVX-22xxHD & DVX-325xHD
Enova DVX-22xxHD All-in-One Presentation Switchers utilize an NX-2200 Controller, therefore all controller-related information
that applies to the NX-2200 is fully applicable to DVX-22xxHD products.
Enova DVX-325xHD All-in-One Presentation Switchers utilize an NX-3200 Controller, therefore all controller-related information
that applies to the NX-3200 is fully applicable to DVX-325xHD products.
Enova DVX All-In-One Presentation Switchers features many functions that do not apply to NX-series Controllers, most of
which relate directly to the Audio/Video capabilities of the DVX.
Refer to the Enova DVX-325xHD/22xxHD All-in-One Presentation Switchers Instruction Manual for information specific to
Enova DVX products.
NOTE: Refer to the Products > Digital Media Switchers page at www.amx.com for details and variations available for these products.
Massio™ ControlPads
Massio ControlPads
Name Description
MCP-106 6-Button Massio ControlPad
MCP-108 8-Button Massio ControlPad
NOTE: Refer to the Products > ControlPads page at www.amx.com for details and variations available for these products.
The Initial Conf iguration and Firmware Upgrade section on page 5 describes upgrading the firmware on NX controllers.
The NetLinx Programming section on page 82 lists and defines the NetLinx send commands that are supported by the NX
controllers.
The Terminal (Program Port/Telnet) Commands section on page 104 describes the commands and options available via a
Telnet terminal session with the NX controller.
The code in PRGM EX. 1 would be better implemented using a timeline, as illustrated in PRGM EX. 2:
DEFINE_CONSTANTS
LONG FEEDBACK_TIMES[1] = {500}
INTEGER FEEDBACK_TIMELINE = 1
DEFINE_START
TIMELINE_CREATE(FEEDBACK_TIMELINE, FEEDBACK_TIMES, 1, TIMELINE_RELATIVE, TIMELINE_REPEAT)
DEFINE_EVENT
TIMELINE_EVENT[FEEDBACK_TIMELINE]
{
[dvTP,1] = [dvDev,1]
[dvTP,2] = value1
[dvTP,3] = ![dvTP,3]
}
PRGM EX. 2 Using feedback statements in a timeline
The code in PRGM EX. 2 evaluates the feedback statements every half second regardless of other program activity. If a shorter
feedback refresh is needed, you can specify a smaller constant in the FEEDBACK_TIMES constant. Even a time of 100ms executes
far less frequently than a DEFINE_PROGRAM section stuck in an infinite execution loop due to a global variable change.
By moving all code out of the DEFINE_PROGRAM section, you ensure your NetLinx application is executing only when needed, and
therefore not expending unnecessary CPU cycles.
If you choose to continue to use the DEFINE_PROGRAM section, it is critical that you ensure that you are not modifying a variable
within the section. Any variable change will force a repeated execution of the section, thereby creating an infinite execution loop.
Variables should never fall on the left-hand side of an evaluation statement, as in PRGM EX. 3.
DEFINE_PROGRAM
Var1 = !Var1
PRGM EX. 3 Variable declared within the DEFINE_PROGRAM section
You must also take care to not inadvertently change a variable. For example, if a function is called within DEFINE_PROGRAM, then
that function must likewise not change a global variable. Additionally, accessing global “values” such as TIME and DATE constitute
a variable change. Take for example the code in PRGM EX. 4:
IF (TIME = ’22:00:00’)
{…}
PRGM EX. 4 Time check
At first glance, this code does not appear to change a variable. It is simply checking to see if the current time is equal to 22:00:00.
However, this code effectively changes the TIME variable by retrieving the current system time and assigning it to the TIME variable.
If this code were present in a DEFINE_PROGRAM section, it would infinitely re-execute the DEFINE_PROGRAM section. You should
place evaluations such as this in a TIMELINE_EVENT similar to the feedback timeline described earlier.
CPU Usage
The new NX masters provide several diagnostics that can be used to determine if your program is overloading the CPU and, if so,
what might be causing its excessive use. All of these commands are accessible through a Telnet or USB terminal connection with
the master.
>cpu usage
Gathering CPU usage over a 10 second period. Please wait ...
CPU usage = 2.10% over a 10 second period.
An idle application normally runs below 5% of the CPU. If your idle application shows more usage than this, then it is probable that
your application is experiencing excessive execution of the DEFINE_PROGRAM section.
You can use the following diagnostic to diagnose executions of the DEFINE_PROGRAM section:
>superuser 10
>enable interp stats
>show interp stats
These statistics indicate how many times mainline has been executed and why it has been executed. Repeatedly executing “show
interp stats” will give you an idea which code construct is causing mainline to execute. For example, if a variable is being changed,
you will see the “Variable Change” count increasing. If a timeline is firing quickly, you will see the TIMELINE_EXPIRATION count
increasing. A normal idle application that is executing DEFINE_PROGRAM every half second will only see the “Periodic Mainline”
count increasing.
For example, consider this diagnostic output from a NetLinx application that is changing a variable in DEFINE_PROGRAM:
>show interp stats
3. In the Workspace area, right-click and select Refresh Zero Conf ig List. The controller appears in the list of devices as shown in
FIG. 2:
FIG. 3 NetLinx Studio menu bar - Settings > Workspace Communication Settings
2. This opens the Workspace Communication Settings dialog (FIG. 4).
3. Click the System Settings button to open the Communications Settings dialog (FIG. 5). If there is no system selected, click the
Default Settings button to open the dialog.
9. Right-click the Online Tree tab entry and select Refresh System: the Controller should appear in the Device Tree (FIG. 7):
3. Click Get IP Information to enable the fields for editing (FIG. 9):
7. Repeat steps 1 - 5 from the previous section, but rather than selecting the USB tab, select Network and edit the settings to
match the IP address you are using (Static or Dynamic).
8. If you want the Master to require authentication for access, enter a User Name and Password in the provided fields to secure
the Master.
9. Click the OK to close all dialogs and return to the main application.
7. Click OK to save your newly entered information and close the Communication Settings dialog and return to the
Communication Settings dialog. Note the selected IP address is indicated in the Conf iguration field (FIG. 20):
FIG. 20 NetLinx Studio - Communication Settings dialog (Current Master Connection field indicating the selected IP address)
8. Click OK to begin the communication process to your Master (and close the dialog).
If you are currently connected to a Master, a pop-up asks whether you would want to stop communication to the current
Master and apply the new settings.
Click Yes to interrupt the current communication from the Master and apply the new settings.
NOTE: On the front panel of the NetLinx Master, the STATUS and OUTPUT LEDs should begin to alternately blink during the
incorporation. Wait until the STATUS LED is the only LED to blink.
9. Click the OnLine Tree tab in the Workspace window to view the devices on the System. The default System value is one (1).
10. Right-click the associated System number and select Refresh System. This establishes a new connection to the specified
System and populates the list with devices on that system. The communication method is then highlighted in green on the
bottom of the NetLinx Studio window.
NOTE: If the connection fails to establish, a Connection Failed dialog appears. Try selecting a different IP address if communication
fails. Press the Retry button to reconnect using the same communication parameters. Press the Change button to alter your
communication parameters and repeat the steps above.
Upgrading Firmware
Overview
The basic process of upgrading firmware on NX-series controllers involves downloading the latest firmware files from
www.amx.com and using NetLinx Studio to transfer the files to a target NX controller.
Use the OnLine Device tree in NetLinx Studio to view the firmware files currently loaded on the Central Controller. FIG. 21 shows an
example OnLine Tree indicating an NX-3200:
Enova DVX
Enova DVX All-In-One Presentation Switchers contain three devices (NX Master, Device Controller, and A/V Switcher/ Scaler), each
of which require a separate Kit file. These three devices must be kept at compatible firmware versions for proper operation.
Therefore, all three files should be used when upgrading any firmware associated with the Enova DVX All-In-One Presentation
Switchers.
DVX Controllers - Firmware Files
NX Master Firmware The on-board NX Master is listed first in the Online Tree as
"00000 NX Master (<f irmware version>)"
• "00000" represents Device ID 0, which is reserved for the Master
• The number in parenthesis is the current Master firmware version.
Device Controller Firmware The Device Controller is listed next as
"05001 NX-XXXX (<f irmware version>)"
• "05001" represents Device ID 5001, which is reserved for the Device Control ports.
• The number in parenthesis is the current Device Controller firmware version.
A/V Switcher/Scaler Firmware The A/V Switcher/Scaler is listed third as
"05002 NX-XXXX (<f irmware version>)"
• "05002" represents Device ID 5002, which is reserved for the A/V Switcher/Scaler.
• The number in parenthesis is the current Device Controller firmware version.
NOTE: The HTTP f irmware kit enables you to upgrade f irmware via an HTTP server. Follow the same steps in NetLinx Studio as you
would with a typical f irmware upgrade. Upgrading f irmware via HTTP server is typically much faster than upgrading with the standard
f irmware kit f iles. See the Upgrading Firmware via NetLinx Studio section on page 31 for more information.
NOTE: The HTTP f irmware kit enables you to upgrade f irmware via an HTTP server. Follow the same steps in NetLinx Studio as you
would with a typical f irmware upgrade. Upgrading f irmware via HTTP server is typically much faster than upgrading with the standard
f irmware kit f iles. See the Upgrading Firmware via NetLinx Studio section on page 31 for more information.
Downloading Enova DVX Firmware Files on www.amx.com
Visit the appropriate product page on www.amx.com for the latest NX Master, Device Controller, and A/V Switcher/Scaler firmware
(*.kit) files for your Enova DVX All-In-One Presentation Switcher. Firmware file links are available along the right-side of the catalog
page (FIG. 23):
NOTE: The HTTP f irmware kit enables you to upgrade f irmware via an HTTP server. Upgrading a Massio ControlPad to f irmware
version 1.4 or higher requires the current f irmware version on the ControlPad to be version 1.3.106 or higher. Follow the same steps
in NetLinx Studio as you would with a typical f irmware upgrade. Upgrading f irmware via HTTP server is typically much faster than
upgrading with the standard f irmware kit f iles. See the Upgrading Firmware via NetLinx Studio section on page 31 for more
information.
FIG. 24 NetLinx Studio - Tools > Firmware Transfers > Send to NetLinx Device
This step opens the Send to NetLinx Device dialog.
5. Click the Browse button (...) to locate and select the firmware (*.kit) file that will be transferred, in the Browse for Folders
dialog (FIG. 25):
FIG. 26 Send to NetLinx Device dialog (showing on-board NX Master firmware update)
7. Click Send to begin the transfer. The file transfer progress is indicated in the Progress section of the dialog. The Master
reboots when the file transfer is complete.
8. Click Close once the Master is finished rebooting.
9. In the OnLine Tree, right-click on the Master and select Refresh System. This establishes a new connection and refreshes the
device list and their firmware versions in your system.
Once the process is complete, you can upgrade the remaining firmware files. All device files must be kept at compatible firmware
versions for proper operation. Therefore, all files should be used when upgrading any firmware associated with the Integrated
Controllers.
Be sure to follow the required order for installing firmware files. See the Required Order of Firmware Updates section on page 31 for
more information.
IPv4 Options
The IPv4 options are described in the following table:
IPv4 Options
Option Description
IP Address: This section enables you to set IP information for the Master’s network.
IP Hostname Enter the IP host name in this field.
DHCP/Specific IP Use the buttons to select a DHCP or static IP address. Additional options in this area become available if you select
Address Specific IP Address.
IP Address Enter the IPv4 address in this field. This field is only available if you select Specific IP Address.
Subnet Mask Enter the IPv4 subnet mask in this field. This field is only available if you select Specific IP Address.
Gateway Enter the gateway IPv4 address in this field. This field is only available if you select Specific IP Address.
DNS Address: This section enables you to set DNS information for the Master’s network.
Domain Enter the domain name of the DNS server in this field.
DNS IP Enter up to three DNS server addresses in the provided fields.
Zero-Config Use the buttons to activate zero-config networking functionality on the Master’s network. Zero-config networking
Networking provides the ability to automatically discover devices that are present on the LAN. By default, zeroconf is enabled
(On option selected). With zeroconf enabled, the Master's web interface will be registered via zeroconf and can be
viewed through a zeroconf browser plug-in such as Bonjour for IE.
NetLinx Discovery Use the buttons to indicate whether you want the Master to search for any NDP-capable devices currently
Protocol (NDP) connected to the Master.
Network - Date/Time
Click the Date/Time link (on the Network page) to access the Date/Time page (FIG. 33). The options on this page allow you to
enable/disable using a network time source and provide access to Daylight Saving configuration and which NIST servers to use as
a reference.
Security - General
The General Security Settings page provides global permissions for various options that may be individually selected and applied to
all users. The Master provides 3 levels of security settings presets: Low, Medium, and High. The levels are simply presets of various
security settings. When a preset is selected, the settings are not applied until you click Accept. You can customize any settings as
needed on the security preset before accepting and applying the settings. The default for the settings will match the Low presets.
System Level Security - System Security Settings
Click the System Security Settings link to access the System Security Details page (FIG. 38). The options in this page allow you to
establish whether the Master will require a valid user name and password be entered prior to gaining access to the configuration
options.
Security Presets
The Master provides three levels of security setting presets: Low, Medium, and High. Each level is a preset of various security
settings. The following table describes each of the Security Presets presented on the General section of the Security page:
Security Presets
Preset Low Medium High
Audit Log Off On On
Banner Display Off On On
USB Host Port Enabled Enabled Disabled
Authentication On Server Ports Required Required Required
Inactivity Timeout Off On On
Password Expiration Disabled Enabled Enabled
Cryptography Strength Low Low High
Password Complexity Low Medium High
Lockout Access Off On On
FTP Access Both enabled Disabled/Enabled Disabled/Disabled
HTTP/HTTPS Both enabled Disabled/Enabled Disabled/Disabled
Telnet/SSH/SSH FTP Access Both enabled Disabled/Enabled Disabled/Disabled
Authenticate AMX Devices on Not required Required Required
ICSLAN Ports
ICSLAN AMX Device Connection ICSPS enabled, ICSP enabled - ICSPS enabled, ICSP enabled - ICSPS enabled, ICSP disabled
without encryption with encryption
Authenticate AMX Devices on Not required Required Required
LAN Ports
LAN AMX Device Connection ICSPS enabled, ICSP enabled - ICSPS enabled, ICSP enabled - ICSPS enabled, ICSP disabled
without encryption with encryption
Once any of the settings have been modified, press the Accept button to save these changes to the Master. Once these changes are
saved, the following message appears: "Device must be rebooted for the setting to take effect. To reboot, go to the System Devices
page." A link appears which you can click to jump to the System Devices page (see the System - Devices section on page 58 for
more information.) Click the Reboot button to remotely reboot the target Master.
Audit Logs
An audit log includes the date/time of the event, the event type, the software or hardware component where the event occurred,
the source of the event, the subject identity, and the outcome of the event. For events related to a remote device, the audit log
includes the source and destination network addresses and ports or protocol identifiers.
The Master generates an audit record for the following events:
Each successful or unsuccessful attempt to access security files
Alerts and errors
Starting/Shutting down audit logging
Any blocking (including the reason) of access based on a UID, terminal, or access port
Any configuration change. The record includes the source and destination network addresses and ports or protocol
identifiers.
Denial of access due to excessive login attempts
Each log off
Each successful or unsuccessful attempt to log on to the application
Successfully or unsuccessfully loading and starting a Duet module
Modification of permissions associated with roles
Connection and loss of connection to an NTP server. (Loss of connection is defined as three successive failed polls. A single
successful poll constitutes a re-connection.
System reboot
Software or firmware updates
Creation, modification, and deletion of user accounts
NOTE: The Master retains audit log records for 30 days (or less depending on available space), after which they are automatically
purged.
Banners
Banners enable you to display pre- and post-login text in the WebConsole and terminal interfaces. Banner files are text files
containing up to 500 characters in each file. (Any additional characters are discarded.)
NOTE: Banner f iles are user-provided and optional. If no f iles are found, no banner appears.
The following special characters are allowed for use in banner text messages:
!”#$%&’()*+,-./:;<=>?@[\]^_`{|}~
Also allowed are any printable ASCII characters (including "space"): A-Z, a-z, 0-9.
Pre-login banners must be named "banner.txt" and stored in the /user directory on the Master. Post-login banners are obtained
from one or more files in the /user directory. Post-login banner text is a concatenation of the allroles_banner.txt file, followed by all
of the applicable <role>_banner.txt files, where <role> is the name of a defined Role in the system. The applicable files are those
that match the Roles assigned to the user that logged in. If a Role is currently locked, its banner file is not included.
NOTE: If you load a new "banner.txt" f ile with new content to the Master, you must reboot the Master to display the new f ile.
Security - Roles
A Role is a set of privileges or permissions assigned to one or more users. The privileges and permissions can involve various
functions or allow access to specific ports. Any privileges or permissions set for a role are inherited by all users sharing that role.
Multiple roles can be assigned to a user, but at the same time, roles are not required for users. A user can have zero roles assigned
to it.
NOTE: You cannot assign a permission directly to a user. All user permissions are determined by the Role assigned to the user.
NOTE: If you have a remote directory such as LDAP enabled, the common name of the LDAP group on the LDAP server must match the
name of the Role assigned to the user on the Master.
Select the Roles option of the Security Page to access the Role Security Details page (FIG. 39).
Role Permissions
The following table lists the permissions available for Roles:
Role Permissions
Option Description
Audit Log Select to allow the role to view and configure the audit log.
Device Select to allow the role to modify the configuration of NetLinx and 3rd party devices including the following:
Configuration • System number
• Device number
• Integrated device settings
• Switcher device settings (DVX or DGX)
• Reboot
NOTE: This permission is not required to view the information, only to change it.
Firmware/Software Select to allow the role to update firmware and software. This setting allows Device access via ICSP with user
Update credentials.
NOTE: This permission also includes the right to reboot the Master after the update. It does not include the
right to reboot the Master outside of this context or to reboot any other devices.
FTP/SFTP Access Select to allow the role to have FTP and SFTP access.
General Select to allow the role to modify general configuration including access to WebControl for RMS and RPM
Configuration configuration, importing and exporting configuration files, and the following parameters:
• Auto-locate enable/disable
• Device Holdoff setting
• Duet memory allocation
• ICSP TCP timeout
• Master-to-master route mode
• Message log length
• Message thresholds for threads
• Queue sizes for threads
• UDP broadcast rate
NOTE: This permission also includes the right to reboot the Master after the conf iguration change. It does not
include the right to reboot the Master outside of this context or to reboot any other devices.
NOTE: This permission is not required to view the information, only to change it.
HTTP/HTTPS Select to allow the role to have HTTP and HTTPS access through the web interface.
Network Select to allow the role to modify network configuration including the following:
Configuration • Clock Manager settings
• DHCP/Static setting (Gateway IPv4 address, IPv4 address, IPv4 subnet mask (if static selected))
• DNS server addresses
• Domain name
• Hostname
• zeroconfig enable/disable
NOTE: This permission also includes the right to reboot the Master after the conf iguration change. It does not
include the right to reboot the Master outside of this context or to reboot any other devices.
NOTE: This permission is not required to view the information, only to change it.
Program Port Select to allow the role to have terminal access via the Program Port.
Access
Security Control Select to allow the role to view and configure security including the following:
• Audit log enable • HTTP/HTTPS enable
• Authentication on server ports enable • Inactivity timeout enable
• Authentication on ICSP LAN ports enable • ICSP options on ICSLAN
• Authentication on ICSP ICSLAN ports enable • ICSP options on LAN
• Banner display enable • Password complexity
• Cryptographic options • Password expiration enable
• Lockout on failed logins enable • Telnet/SSH enable
• FTP/SFTP enable • USB Host port disable
NOTE: This permission also includes the right to reboot the Master after the conf iguration change. It does not
include the right to reboot the Master outside of this context or to reboot any other devices.
NOTE: This permission is not required to view the information, only to change it.
Telnet/SSH Access Select to allow the role to have Telnet and SSH access.
Touch Panel Select to allow the Master to access a touch panel’s settings page.
Administration
Lock button
Click to expand
Edit button
Security - Users
Select the Users option on the Security Page to access the User Security Details page (FIG. 42). The options on this page allow
authorized users to add/delete/lock User accounts and configure User’s access rights. Locking a user account disables the
account without deleting it.
Edit button
click to expand
Lock button
LDAP Options
All parameters are case sensitive and must be entered exactly as they are entered into the LDAP database. You can also perform
LDAP Client Configuration via terminal commands to the NetLinx Master’s Program Port - see the Enabling LDAP via the Program
Port section on page 123 for details.
See Appendix A: LDAP Implementation Details on page 127 for additional information on implementing LDAP on the NetLinx Master.
The LDAP options are described in the following table:
LDAP Options
Option Description
LDAP Enabled: This parameter enables the LDAP configuration parameters described below.
NOTE: When LDAP is enabled, you can only create device users. If the administrator user has been
deleted, you must perform a factory reset of the Master via pushbutton to restore the administrator
user.
LDAP URI This parameter has the syntax ldap[s]://hostname:port.
• The ldap:// URL is used to connect to LDAP servers over unsecured connections.
• The ldaps:// URL is used to connect to LDAP server over Secure Sockets Layer (SSL) connections.
• The hostname parameter is the name or IP address, in dotted format, of the LDAP server (for example,
LDAPServer01 or 192.202.185.90).
• The port parameter is the port number of the LDAP server (for example, 696).
NOTE: The standard unsecured port number is 389 and the standard secured port number is 636.
LDAP BASE DN This parameter specifies the Distinguished Name (DN) of an entry in the directory. It identifies the entry
that is the starting point of the user search.
BIND DN This parameter specifies the Distinguished Name (DN) to use to bind to the LDAP server for the initial
search for the user's DN.
User Query Attr This LDAP attribute is used for the AMX equipment user search (for example, UID).
NOTE: This attribute MUST be unique in the context of the LDAP BASEDN or the search will fail.
Search Password This is the password used for the initial bind to the LDAP server - it is the password associated with BIND
DN.
Click the LDAP enabled check box to make the LDAP options available for selection.
When LDAP is enabled, users are authenticated using the configuration set up on the LDAP server.
The "administrator" user is handled by the local NetLinx Master, and does not connect to the LDAP server for user
verification.
If an administrator password change is desired, LDAP must be disabled, the password changed and saved and then LDAP re-
enabled.
Users may not be added or deleted via the web pages when LDAP is enabled.
User access privileges cannot be changed via the web pages.
As users log onto a NetLinx Master, their user name and access privileges are displayed on the User Security Details page
(see Security - Users section on page 51). This information is stored in the master's RAM but is not written to non-
volatile memory, and is lost after rebooting the Master.
If a user is removed from the LDAP directory tree, access is denied, and if that user name is on the master's User Security
Details web page it is removed.
Accepting Changes
Click the Accept/Test button to save changes on this page. Accepting changes is instantaneous and does not require rebooting the
Master.
Testing the Connection to the LDAP Server
After entering and accepting the parameters, the Accept/Test button can be used to test the connection to the LDAP server. This
test does a bind to the BIND DN using the Search Password entered.
If the bind is successful, the message Connection successful is displayed.
If the server could not be reached or the bind is unsuccessful, the message Could not connect to server -- Please check
LDAP URI, BIND DN and Search Password settings is displayed.
Refer to Appendix A: LDAP Implementation Details on page 127 for additional information.
IMPORTANT: For the NX-series Masters to work with LDAP over SSL (LDAPS), you must upload a CA server certif icate in .pem format
to the Master’s FTP server. The certif icate’s f ile name must be "ldap_ad.pem" and the f ile must be saved in a folder named "certs".
Once the f ile is uploaded, you must reboot the Master for the certif icate f ile to be read and employed by the system. LDAPS requires
Master Firmware version 1.3.78 or greater.
Wired 802.1X support
IEEE 802.1X is an IEEE Standard for Port-based Network Access Control (PNAC). PNAC provides the ability to grant or deny
network access to devices wishing to attach to a LAN based on credentials tied to the device rather than to a user. Until the device
has been verified and permitted access, no network traffic is passed through the connected port, effectively keeping the device
disconnected from the network.
The NX-Series controller acts as a supplicant (client device) to a wired 802.1X enabled network and presents customer-provided
X.509 certificates to be allowed access to protected networks. The following EAP Encryption Methods are supported.
PEAPv0/MSCHAPv2
TTLS/MSCHAPv2
TTLS/PAP
MD5
Customer provided X.509 certificates are uploaded to the NX-Series controller using NetLinx Studio, and 802.1x is configured via
the Command Line Interface and the syntax:
DOT1X[status|enable|disable]
Once you add the certificate file to your workspace, NetLinx Studio transfers the file to the appropriate directory on the controller.
1. Click to select (highlight) a System (in the Workspace tab of the Workspace Bar).
2. Right-click on the Other folder to access the Other File Folder context menu, and select Add Existing Other File.
3. In the Add Existing Other File dialog, locate and select the certificate file (.crt) that you want to add to the selected System.
Change the Files of Type option to All Files (*.*) to look for other file types, if necessary.
4. Click Open to access the File Properties dialog, where you can view/edit general file information for the selected file.
5. Click OK to add the file to the selected System. The file should now appear in the Other folder under the selected System.
System - Info
The Info page (FIG. 48) enables you to view a detailed list of the properties of the Master. The properties include the Model ID and
serial number of the Master, network addresses, and firmware versions. This information is view-only. See the WebConsole -
Network Options section on page 36 for information on changing the network address of the Master.
System - Devices
The Devices page (FIG. 49) contains information about the Master and any connected devices. Select a device from the Device List
and its information appears in the Device Information area. The information in this area is view-only, unless the device allows a
change to its device number. If so, you can change the device number on this page (see Changing the Device Number on a Device
below for more information.) Masters also include a system number which a user can change with proper access (see Changing the
System Number on the Master below for more information.)
Modules - Bindings
Click Bindings to access the Device Bindings page (FIG. 51). Use the options on this page to configure application-defined Duet
virtual devices with discovered physical devices.
DEFINE_CONSTANT
DEFINE_TYPE
DEFINE_VARIABLE
DEFINE_START
DYNAMIC_POLLED_PORT(COM2)
DYNAMIC_APPLICATION_DEVICE(dvVideoProjector, DUET_DEV_TYPE_VIDEO_PROJECTOR,
'statbcc Serial Projector')
(***********************************************************)
(* THE EVENTS GO BELOW *)
(***********************************************************)
DEFINE_EVENT
DATA_EVENT [dvVideoProjector]
{
// Duet Virtual device data events go here
}
You can find this example code within the DEFINE_START section of your code. This code is reflected in the first two entries listed in
FIG. 51. The code gives the Master a “heads-up” notification to look for those devices meeting the criteria outlined within the code.
Release to force the associated Duet module to be destroyed. The firmware then returns to detecting any physical
devices attached to the port.
Dynamic application devices either display a Bind or Unbind button:
Dynamic application devices that have been bound display an Unbind button. When you select Unbind, any associated
Duet module is destroyed and the "link" between the application device and the physical device is broken.
Dynamic application devices that have not been bound to a physical device display a Bind button. When this button is
selected, a secondary display appears with a listing of all available unbound physical devices that match the application
device's Device SDK class type.
NOTE: If a currently bound device needs to be replaced or a Duet Module needs to be swapped out, the device should be unbound and
the new module/driver should then be bound.
The administrator/user can select one of the available physical devices to bind with the associated application device. When you
click Accept, the binding is created and the target Master attempts to locate the appropriate Duet Module driver. Once the Master
locates a driver, the Duet Module started and becomes associated with the specified application device (Duet virtual device). If the
you click Cancel button, the binding activity aborts.
NOTE: If the manufacturer device does not support Dynamic Device Discovery (DDD) beaconing, you must use the Add Device page to
both create and manage those values necessary to add a dynamic physical device. This process is described in detail in the Modules -
User-Def ined Devices section on page 64.
Viewing Physical Device Properties
Hold the mouse cursor over the Physical Device entry in the table to display detailed device properties for that device in a pop-up
window (FIG. 52). You can only view the device properties for bound devices.
3. When you are finished with creating the profile for the new device, click the Add Property button to access the Name and
Value fields property information for association with the new User Defined Device. This information appears in the Physical
Device Properties for each device. See the Viewing Physical Device Properties section on page 66 for more information.
4. Click the Accept button. The new device is indicated in the list of discovered physical devices (in the User-Def ined Devices
page).
A B
C
E
G
FIG. 57 Switching page allows routing of inputs to outputs during system setup
Title bar
NOTE: If the enclosure does not include a full set of input/output boards, input and output buttons for connectors that are not
available display with a gray Title bar (i.e., No Card).
B Switch Mode buttons – click the A/V (default), Video, or Audio button to select the type of signal to be switched. These buttons
correspond to the available video and audio Virtual Matrices (VMs) in the system. For additional information on the Switch Mode,
see page 69.
C Inputs section – this section contains buttons for each of the available input signals (per selected Switch Mode) in the system.
Click the input button that needs to be switched. Scroll bars on the right-hand side provide access to any inputs on large systems
which are not currently visible.
Downmix button – the Audio Switch Mode must be selected before the Downmix button displays. The input source used for the
downmix signal is selected on the Configuration page.
D Outputs section – this section contains buttons for each of the available output signals in the system. Click the output button(s)
that needs to receive the signal from the currently selected input button. Note that when the currently selected button is an output,
it also appears in the Configuration page with signal details (for button/signal details, click the Legend button). Scroll bars on the
right-hand side provide access to any outputs on large systems which are not currently visible.
Select All and Deselect All buttons – these buttons appear only after an input is selected. Click as necessary to select or deselect all
output buttons.
E Clear button – click to deselect all inputs and outputs (if selected, the Auto Take button state persists) and clear routing status in
the Configuration pane. Note that the Clear button does not disconnect switches. After the Clear button is selected and the input or
one of the outputs already routed is selected, the buttons turn blue to indicate current status. Selecting an output will show status
for the input routed to it, not the other outputs also routed from the same input.
Take button – click to execute the switch for the selected input and output(s). After the switch is made, the current content in the
Switching and Configuration pages persists until further action is taken. Note that the Take button is grayed out until one input and
one or more outputs have been selected for routing; once these conditions are met, the Take button becomes active. After the Take
button is clicked, all of the buttons clear their status.
F Selected status bar (non-editable) – this status bar provides quick visual confirmation of input and output selections and their
status (blue = currently routed; yellow = ready to route, waiting further action; blue outline = currently routed, but deselected in
preparation to disconnect).
G Switcher Setup button options are available on both the Switching page and the Configuration page.
Save and Load buttons – after a system has been set up per the installation’s requirements, the configuration values for the entire
switcher’s state (i.e., currently routed switches, video settings, and audio settings) can be saved and reloaded onto another
system(s) or backup system(s) for reuse. The file type is .xdg with XML content. When the Save button is clicked, the file is saved as
a managed content (non-editable text) file.
Group Restore to Default button – click to open the Warning dialog box below, which requires you to select an A/V Group and an
I/O Group to restore to their factory default settings.
Switch Mode
The Switch Mode buttons allow you to choose between switching Audio follow Video (A/V), Video (with embedded audio), or Audio
only.
IMPORTANT: Support for the Audio Switch Mode (VM 2) requires Audio Switching Boards in the enclosure.
A/V and Video input and output ranges cover the basic switching size of the system:
8x8, 16x16, 32x32, or 64x64
Audio only input and output ranges cover the embedded audio as part of the basic switching size of the system, plus the
audio available on the Audio Switching Boards (ASB) in the expansion slots, plus the assignment of one input as a
downmixed audio channel:
Enova DGX 800: 1-8 embedded audio, 9-16 audio only, 17 downmix audio only
Enova DGX 1600: 1-16 embedded audio, 17-24 audio only, 25 downmix audio only
Enova DGX 3200: 1-32 embedded audio, 33-40 audio only, 41 downmix audio only
Enova DGX 6400: 1-64 embedded audio, 65-80 audio only, 81 downmix audio only
To execute a switch, click the Switch Mode button (otherwise the switch will default to A/V), an Input button, an Output button(s),
and the Take button. (This is called input-oriented switching, also known as one-to-many switching.)
NOTE: If you select an output button f irst (output-oriented switching, which can only be one-to-one switching), you must select an
input button next followed by the Take button, i.e., you cannot select additional outputs before you select the input. If you select an
output button f irst and then the input button, the only way to select multiple outputs is to click the Clear button and click the input
button followed by the output buttons.
To deselect (clear status) of an input button that has already been selected, click another input button or click Clear.
To deselect (clear status) of a single output button that has already been selected (before an input button), click another output
button or Click Clear.
To clear status of an input and any or all output buttons, click Clear.
To disconnect all currently selected outputs for an input, click the Deselect All button followed by clicking Take.
To execute a switch with a downmixed signal,* the Audio Switch Mode must be selected and the input used for the Downmix signal
must be selected on the Configuration page. Click the Downmix button, click the output(s), and click Take.
* Audio Switching Boards must be present for this functionality to work.
NOTE: The table above also applies to Enova 8/16/32/64 enclosures that have been upgraded with an Enova DGX 100 Series CPU
and that contain Audio Switching Boards.
From the Configuration page – to designate which source will be routed on the Downmix Input, click the Downmix button in the
Switching pane on the left and then select the input from the Downmix Source drop-down list in the Configuration pane on the
right.
Switch Mode must be set to Audio
Downmix Source
routes the selected
input (Input 1 in the
example)
D
C E
F
G
Input Name or Output Name field – use to label the buttons in the Switching pane (and on the Switching page).
Type the name in the field and press Enter on the keyboard.
Restore to Default (red) button – click to open the Warning dialog box below, which requires you to select the Yes button to restore
D the currently selected input or output to its factory default settings.
E Video Details or Audio Details button – click to display additional video or audio details for inputs or outputs, depending on current
selection (video: colorSpace, flags, pixelclock, etc.; audio: CTS Value, N Value, Audio Mute State, etc.). Examples of both Video Input
and Output Details are shown below. Audio details are similar.
F Video, DXLink, and Audio settings – the settings section of the Configuration page changes depending on the type of signal,
whether it is an input or an output, and whether a DXLink unit is attached. A variety of interface controls are used to change the
settings (e.g., buttons, sliders, drop-down lists) depending on the values involved. Details for these settings follow this section.
G Switcher Setup button options are available on both the Switching and the Configuration pages.
Save and Load buttons – after a system has been set up per the installation’s requirements, the configuration values for the entire
switcher’s state (i.e., currently routed switches, video settings, and audio settings) can be saved and reloaded onto another
system(s) or backup system(s) for reuse. The file type is .xdg with XML content. When the Save button is clicked, the file is saved as
a non-editable text file.
Group Restore to Default button – click to open the Warning dialog box below, which requires you to select an A/V Group and an
I/O Group to restore to their factory default settings.
IMPORTANT: When selecting a signal to conf igure, the Conf ig Viewer button selection, Inputs Only or Outputs Only, must correspond
to the input or output button selected.
Video Settings
Video settings display when the Switch Mode is A/V or Video, the Video tabbed view is selected, and a specific input or output is
selected.
Inputs Only
General:
Save EDID button – use to save (persist them in memory) the EDID settings for the currently selected input
Load EDID button – use to load the EDID settings for the currently selected input to other inputs.
HDCP Setting:
HDCP Compliance – if desired, click the check box to enable HDCP compliance.
NOTE: When EDID Mode/All Resolutions is selected, the Preferred EDID drop-down list includes both standard EDIDs and Video
Information Code (VIC) EDIDs (denoted by either a “p” or an “i”). For a complete list of VIC EDIDs for your input boards see the “EDID
Resolutions Supported through Local DDC” section of the applicable board chapter.
Outputs Only
General:
Scaling (Mode) – click the button for the mode (Auto, Manual, or Bypass)
Resolution – in the drop-down list, select the resolution/refresh rate; select the “Show only EDID Display Supported
(DS)” check box if desired.
Aspect Ratio – click either Maintain or Stretch (Zoom and Anamorphic are also available for DXLink outputs).
Save EDID – click this button to save the EDID setting for the currently selected output.
Display Settings:
Screen Sleep – click the check box to place the display in sleep mode; in the Sleep Delay (ms) box, set the delay time in
milliseconds.
On-Screen Display:
Image Adjustments:
TX Settings:
DXLink Quality – green = good; red = poor; number
indicates degree or lack of quality
Firmware Version – current version
Friendly Name – current name
IP Address – for auto-setup, displays integrated
Master’s IP address
Subnet Mask – current setting
D. P. S. – current setting
MAC Address – current setting
Auto-Setup – Status (Enable/Disable) and Force to
Auto-setup button
DIP Settings – indicates settings on DIP switch
Reboot button – reboots TX
Refresh button – updates status of TX settings
VGA Settings (DXLink Twisted Pair only) – use sliders to adjust Phase, Horizontal Shift, and Vertical Shift settings.
IMPORTANT: The DXLink settings are not asynchronous. To obtain the latest information, the Refresh button in the dialog box that
opens when the DXLink Details button is clicked must be clicked.
DXLink (Twisted Pair or Fiber) Receivers (for selected video output)
DXLink Details button – click to display additional settings for the DXLink Receiver.
RX Settings:
DXLink Quality – green = good; red = poor; number
indicates degree or lack of quality
Firmware Version – current version
Friendly Name – current name
IP Address – for auto-setup, displays integrated
Master’s IP address
Subnet Mask – current setting
D. P. S. – current setting
MAC Address – current setting
Auto-Setup – Status (Enable/Disable) and Force to
Auto-setup button
DIP Settings – indicates settings on DIP switch
Reboot button – reboots RX
Refresh button – updates status of RX settings
Audio Settings
Audio settings display when the Switch Mode is A/V or Audio (for details, see page 69), the Audio tabbed view is selected, and a
specific input or output is selected. The audio settings can be used to configure any digital signal processing required for the audio
signal that is selected in the Switching view.
Inputs Only
General:
EDID Mode – from the drop-down list, select the mode (Basic, PCM 2-Channel, PCM Multi-Channel, Dolby Digital,
Dolby Digital + DTS, Dolby Digital + MPEG, Dolby Digital + AAC, Dolby TrueHD, or DTS HD Master).
Compression:
NOTE: When in Low, Medium, or High, changes to any of the other Compression settings will automatically change the Compressor
mode to Custom.
* Setting this option to “Mono” audio on the input results in the left channel being sent to both the left and right output channels.
Outputs Only
General settings:
Test Tone Generator – from the drop-down list, select Off, 60Hz, 250Hz, 400Hz, 1kHz, 3kHz, 5kHz, 10kHz, Pink Noise, or
White Noise.
Audio Routing – click Embedded or Switched.**
* Setting this option to “Mono” audio on the output results in the left and right channels being combined and sent to both the left
and right output channels equally.
** With Audio Switching Boards in the system, Audio Routing defaults to Switched.
Levels & Delay:
*** Changing the volume level will not un-mute the signal; however, the new volume level is saved and when the Mute button is
deselected, the volume returns at the new level.
10-Band Parametric Equalizer:
Enabled – this check box must be selected before the Equalizer options are available.*
Tone Adjust – use the drop-down box to select: Off, Voice, Music, or Movie (Tone Adjust is applied on top of any
equalizer adjustments).
Reset EQ – click this button to reset the all of the Equalizer values.
Blue Handles – use the sliders (blue handles) to adjust Equalizer values.
The following drop-down lists can also be used to adjust Equalizer values.
Band – numbered from 1 to 10.
Filter – the options are Bell, Band Pass, Band Stop, High Pass, Low Pass, Treble Shelf, and Bass Shelf.
Bell = 0.1 to 20
Band Pass = 0.1 to 20
Band Stop = 0.1 to 20
High Pass = 0.5 to 1.4
Low Pass = 0.5 to 1.4
Treble Shelf = 0.5 to 1
Bass Shelf = 0.5 to 1
* On reboot, the Enabled box always returns to the checked (default) state. To disable the Equalizer options over a reboot, set the
“y” (vertical) vertex to 0 (zero).
DXLink Audio Settings
DXLink specific audio settings display when a DXLink Twisted Pair or DXLink Fiber Transmitter or Receiver (or other DXLink
equipment) is connected to the selected input or output. These settings display in addition to the normal audio settings for the
input or output described in the previous section. The Audio tabbed view must be selected.
DXLink (Twisted Pair or Fiber) Transmitter (for selected audio input)
TX Settings:
DXLink Quality – green = good; red = poor; number
indicates degree or lack of quality
Firmware Version – current version
Friendly Name – current name
IP Address – for auto-setup, displays integrated
Master’s IP address
Subnet Mask – current setting
D. P. S. – current setting
MAC Address – current setting
Auto-Setup – Status (Enable/Disable) and Force
to Auto-setup button
DIP Settings – indicates settings on DIP switch
Reboot button – reboots TX
Refresh button – updates status of TX settings
RX Settings:
DXLink Quality – green = good; red = poor; number
indicates degree or lack of quality
Firmware Version – current version
Friendly Name – current name
IP Address – for auto-setup, displays integrated
Master’s IP address
Subnet Mask – current setting
D. P. S. – current setting
MAC Address – current setting
Auto-Setup – Status (Enable/Disable) and Force to
Auto-Setup button
DIP Settings – indicates settings on DIP switch
Reboot button – reboots RX
Refresh button – updates status of RX settings
Status Page
The Status page is used to check a number of the switcher’s components and their states. The components (from top to bottom of
page) display status for Alarms, the Chassis, the Master CPU Board, Input and Output Boards, and Input and Output Expansion
Audio Boards. A quick glance at this page will indicate whether the system is running okay (green text will state OK) or if any thing
is failing (red text will state FAIL.)
IMPORTANT: The Status page settings are not asynchronous. To obtain the latest information, the Refresh button must be clicked.
The example provided in the figure below is based on an Enova DGX 3200 Switcher with two each standard Input and Output
Boards, as well as two Expansion Audio Boards.
G
F
System Auto-Setup check box – select to place the system in auto-setup mode (i.e., the mode wherein the system requires only a
A single IP address for the integrated Master, and each endpoint is automatically configured for communication via a private LAN
hosted by the integrated Master).
The following must be adhered to when using auto-setup mode (default):
Endpoints must be set to DHCP Mode (default)
Endpoints must use NDP Master connection mode (default)
Endpoints must not be currently bound (traditional NetLinx binding) to a Master
Endpoints DIP switch setting for Toggle #3 (network connectivity) is ignored while in auto-setup mode
NOTE: Some devices run on a secured f ile-system. As such, f ile-system operations (e.g., Load and Save operations) may not be
supported by the device’s default capabilities and may require downloading a f ile manager application.
Alarms – if any are red, consult the individual Fan, Power, and Temperature components on the page to help pinpoint the location of
the problem.
Refresh button – if necessary, use the Refresh button to view system status changes.
B Chassis f ield – this field contains readouts for individual fan speeds, individual power supply status, and the current temperature of
the chassis (shown in degrees Celsius). Each readout displays in a color to convey statuses of OK, Fail, or no problems detected
(black). Fan speed information is displayed by individual fans (Fan #) and the fan assembly where each fan is located (FAN ASM #).
Power supply and temperature information is available in each switcher’s General Specifications table in the “Product Overview and
General Specifications” chapter.
Master CPU (MCPU) Board f ield – this field displays information for Status, Model number of the integrated Master, FG (part)
C number, Version, Temperature (actual degrees in Celsius with OK or FAIL status), and Power (OK or FAIL status).
Input and Output Board f ields – these fields give detailed information for each input or output board in the enclosure: Slot, Status,
D Type, FG (part) number, Version, Temperature (actual degrees in Celsius with OK or FAIL status), and Power (OK or FAIL status). A
red Reboot button at the right cycles power to the individual board.
Input and Output Audio Expansion Boards f ields – these fields give detailed information for each expansion input or output board
E in the enclosure: Slot, Status, Type, FG (part) number, Version, Temperature (actual degrees in Celsius with OK or FAIL status), and
Power (OK or FAIL status). A red Reboot button at the right cycles power to the individual board.
Switcher Setup (Save, Load, and Group Restore to Default) buttons – after a system has been set up per the installation’s
F
requirements, the configuration can be saved and reloaded onto another system(s) or backup system(s) for reuse. The Group
Restore to Default button returns the system to its last previously saved state. This button will restore control values to default
(initial) values. (This Restore button performs the same function for the entire system as the Configuration page’s Restore to
Default button does for individual inputs or outputs.)
G Refresh button – if necessary, use the Refresh button to view system status changes.
NetLinx Programming
Overview
This section describes the Send_Commands, Send_Strings, and Channel commands you can use to program the Master. The
examples in this section require a declaration in the DEFINE_DEVICE section of your program to work correctly.
Refer to the NetLinx Programming Language instruction manual for specifics about declarations and DEFINE_DEVICE information.
NOTE: All f ile names on the X-Series controllers are case sensitive. This includes all user f iles created or used within NetLinx or Java
code. If you have legacy code that uses f iles, it is important that you verify that every reference to each f ile is consistent with regard
to case. If your legacy code generates an error when accessing a f ile, it is likely due to inconsistent use of case in the f ilename.
Master SEND_COMMANDs
These commands are specific to the Master and not the Controller. These commands are sent to the DPS 0:1:0 (the Master you are
connected to).
A device (<DEV>) must first be defined in the NetLinx programming language with values for the Device: Port: System (<D:P:S>).
Master SEND_COMMANDs
Command Description
CLOCK Set the date and time on the Master. The date and time settings are propagated over the local bus.
Syntax:
SEND_COMMAND <DEV>,"'CLOCK <mm-dd-yyyy> <hh:mm:ss>'"
Variables:
mm-dd-yyyy = Month, day, and year. Month and day have 2 significant digits. Year has 4 significant digits.
hh-mm-ss = Hour, minute, and seconds. Each using only 2 significant digits.
Example:
SEND_COMMAND 0,"'CLOCK 04-12-2005 09:45:31'"
Sets the Master's date to April 12, 2005 with a time of 9:45 am.
G4WC Add G4 Web Control devices to Web control list displayed by the Web server in a browser. The internal G4WC
Send command (to Master 0:1:0) has been revised to add G4 Web Control devices to Web control list displayed
in the browser.
Syntax:
SEND_COMMAND <D:P:S>,"'G4WC "Name/Description",IP Address/URL,IP Port,Enabled'"
Variables:
• Name/Description = A string, enclosed in double quotes, that is the description of the G4 Web Control
instance. It is displayed in the browser.
• IP Address/URL = A string containing the IP Address of the G4 Web Control server, or a URL to the G4 Web
Control server.
• IP Port = A string containing the IP Port of the G4 Web Control Server.
• Enabled = 1 or 0. If it is a 1 then the link is displayed. If it is a 0 then the link is disabled.
The combination of Name/Description, IP Address/URL, and IP Port are used to determine each unique
listing.
Example:
SEND_COMMAND 0:1:0,"'G4WC "Bedroom",192.168.1.2,5900,1'"
Adds the BEDROOM control device using the IP Address of 192.168.1.2.
~IGNOREEXTERNAL Set the Master so that it cannot have it’s time set by another device which generates a ‘CLOCK’ command.
CLOCKCOMMANDS Syntax:
SEND_COMMAND <D:P:S>,"'~IGNOREEXTERNALCLOCKCOMMANDS'"
Example:
SEND_COMMAND 0:1:0,"'~IGNOREEXTERNALCLOCKCOMMANDS'"
SSH SEND_COMMANDs
These command open or close SSH communication with a server:
SSH SEND_COMMANDs
SSH_CLIENT_CLOSE Closes an open SSH communication port with a server.
Syntax:
SEND_COMMAND <DEV>,"'SSH_CLIENT_CLOSE(LocalPort)'
Parameters:
• LocalPort - A user-defined (non-zero) integer value representing the local port on the client machine to use for
this conversation. This local port number must be passed to SSH_CLIENT_OPEN to open the conversation.
Returns:
This function always returns 0. Errors are returned via the DATA_EVENT ONERROR method. The following errors
may be returned from the call:
2 - General failure (out of memory)
4 - Unknown host
6 - Connection refused
7 - Connection timed out
8 - Unknown connection error
9 - Already closed
14 - Local port already used
16 - Too many open sockets
Example:
SEND_COMMAND <DEV>,"'SSH_CLIENT_CLOSE(5000)'"
SSH_CLIENT_OPEN Opens a port for SSH communication with a server.
Syntax:
SEND_COMMAND <DEV>,"'SSH_CLIENT_OPEN(LocalPort, ServerAddress, remotePort, username,
password, privateKeyPathname, privateKeyPassphrase)'"
Parameters:
• LocalPort- A user-defined (non-zero) integer value representing the local port on the client machine to use for
this conversation. This local port number must be passed to SSH_CLIENT_CLOSE to close the conversation.
• ServerAddress - A string containing either the IP address (in dotted-quad-notation) or the domain name of the
server to which you want to connect.
• remotePort - The port number on the server that identifies the program or service that the client is requesting,
typically 22
• username - Login user name
• password - Password for the user name, null if using PKI
• privateKeyPathname - Path to private key
• privateKeyPassphrase - Password for private key.
Returns:
This function always returns 0. Errors are returned via the DATA_EVENT ONERROR method. The following errors
may be returned from the call:
2 - General failure (out of memory)
4 - Unknown host
6 - Connection refused
7 - Connection timed out
8 - Unknown connection error
9 - Already closed
14 - Local port already used
16 - Too many open sockets
Example:
SEND_COMMAND <DEV>,"'SSH_CLIENT_OPEN(5000, '192.168.0.1', 22, 'user1', 'password', '/
certs/id_rsa', '')'"
LED SEND_COMMANDs
NOTE: The following sections only apply to the integrated controller component of the NX-series controllers.
The following commands enable or disable the LEDs on the Controller.
In the examples: <DEV> = Port 1 of the device. Sending to port 1 of the controller affects all ports.
LED SEND_COMMANDs
Command Description
LED-DIS Disable all LEDs (on 32 LED hardware) for a port. Regardless of whether or not the port is active, the LED will not be
lit.
Issue this command to port 1 to disable all the LEDs on the Controller.
When activity occurs on a port(s) or Controller, the LEDs will not illuminate.
Syntax:
SEND_COMMAND <DEV>,"'LED-DIS'"
Example:
SEND_COMMAND Port_1,"'LED-DIS'"
Disables all the LEDs on Port 1 of the Controller.
LED-EN Enable the LED (on 32 LED hardware) for a port. When the port is active, the LED is lit. When the port is not active,
the LED is not lit.
Issue the command to port 1 to enable the LEDs on the Controller (default setting). When activity occurs on a
port(s) or Controller, the LEDs illuminate.
Syntax:
SEND_COMMAND <DEV>,'LED-EN'
Example:
SEND_COMMAND System_1,'LED-EN'
Enables the System_1 Controller's LEDs.
NOTE: Massio ControlPads do not support RS-422 or RS-485 communications to other devices.
RS-232/422/485 SEND_COMMANDs
RS-232/422/485 SEND_COMMANDs
Command Description
B9MOFF Disables 9-bit in 232/422/455 mode. By default, this returns the communication settings on the serial port to the last
programmed parameters. This command works in conjunction with the 'B9MON' command.
Syntax:
SEND_COMMAND <DEV>,"'B9MOFF'"
Example:
SEND_COMMAND RS232_1,"'B9MOFF'"
Sets the RS-232 port settings to match the port's configuration settings.
B9MON Override and set the current communication settings and parameters on the RS-232 serial port to 9 data bits with one
stop bit. This command works in conjunction with the 'B9MOFF' command.
Syntax:
SEND_COMMAND <DEV>,"'B9MON'"
Example:
SEND_COMMAND RS232_1,"'B9MON'"
Resets the RS-232 port's communication parameters to nine data bits, one stop bit, and locks-in the baud rate.
CHARD Set the delay time between all transmitted characters to the value specified (in 100 Microsecond increments).
Syntax:
SEND_COMMAND <DEV>,"'CHARD-<time>'"
Variable:
time = 0 - 255. Measured in 100 microsecond increments.
Example:
SEND_COMMAND RS232_1,"'CHARD-10'"
Sets a 1-millisecond delay between all transmitted characters.
CHARDM Set the delay time between all transmitted characters to the value specified (in 1-Millisecond increments).
Syntax:
SEND_COMMAND <DEV>,"'CHARDM-<time>'"
Variable:
time = 0 - 255. Measured in 1 millisecond increments.
Example:
SEND_COMMAND RS232_1,"'CHARDM-10'"
Sets a 10-millisecond delay between all transmitted characters.
CLEAR FAULT Forces a reset back to normal status.
Syntax:
SEND_COMMAND <DEV>, "'CLEAR FAULT'"
Example:
SEND_COMMAND RS232_1,"'CLEAR FAULT'"
CTSPSH Enable Pushes, Releases, and Status information to be reported via channel 255 using the CTS hardware handshake
input. This command turns On (enables) channel tracking of the handshaking pins.
If Clear To Send (CTS) is set high, then channel 255 is On.
Syntax:
SEND_COMMAND <DEV>,"'CTSPSH'"
Example:
SEND_COMMAND RS232_1,"'CTSPSH'"
Sets the RS232_1 port to detect changes on the CTS input.
CTSPSH OFF Disable Pushes, Releases, and Status information to be reported via channel 255. This command disables tracking. Turns
CTSPSH Off.
Syntax:
SEND_COMMAND <DEV>,"'CTSPSH OFF'"
Example:
SEND_COMMAND RS232_1,"'CTSPSH OFF'"
Turns off CTSPSH for the specified device.
IR/Serial SEND_COMMANDs
The following IR and IR/Serial Send_Commands generate control signals for external equipment. In these examples: <DEV> =
device.
IR/Serial SEND_COMMANDs
Command Description
CAROFF Disable the IR carrier signal until a 'CARON' command is received.
Syntax:
SEND_COMMAND <DEV>,"'CAROFF'"
Example:
SEND_COMMAND IR_1,"'CAROFF'"
Stops transmitting IR carrier signals to the IR_1 port.
CARON Enable the IR carrier signals (default).
Syntax:
SEND_COMMAND <DEV>,"'CARON'"
Example:
SEND_COMMAND IR_1,"'CARON'"
Starts transmitting IR carrier signals to the IR_1 port.
CH Send IR pulses for the selected channel. All channels below 100 are transmitted as two digits.
• If the IR code for ENTER (function #21) is loaded, an Enter will follow the number.
• If the channel is greater than or equal to (>=) 100, then IR function 127 or 20 (whichever exists) is generated for the
one hundred digit.
• Uses 'CTON' and 'CTOF' times for pulse times.
Syntax:
SEND_COMMAND <DEV>,"'CH',<channel number>"
Variable:
channel number = 0 - 199.
Example:
SEND_COMMAND IR_1,"'CH',18"
This device performs the following:
• Transmits IR signals for 1 (IR code 11). The transmit time is set with the CTON command.
• Waits until the time set with the CTOF command elapses.
• Transmits IR signals for 8 (IR code 18).
• Waits for the time set with the CTOF command elapses. If the IR code for Enter (IR code 21) is programmed, the
Controller performs the following steps.
1) Transmits IR signals for Enter (IR code 21).
2) Waits for the time set with the CTOF command elapses.
CLEAR FAULT Forces a reset back to normal status.
Syntax:
SEND_COMMAND <DEV>, "'CLEAR FAULT'"
Example:
SEND_COMMAND IR_1,"'CLEAR FAULT'"
Input/Output SEND_COMMANDs
The I/O port is port 22 on the NX-series controllers and the MCP-108 Massio ControlPad.
The following SEND_COMMANDs program the I/O ports on the Integrated Controller.
I/O SEND_COMMANDs
Command Description
GET DBT Get Debounce Time
Syntax:
GET DBT <n>
Variable:
n = the channel number of the I/O input port
Example:
SEND_COMMAND 5001:22:0,'GET DBT 1'
Retrieves the Debounce time channel 1 on the I/O port.
Response:
DBT 1 50
Responds with the channel number and the Debounce time in milliseconds (ms).
SET DBT Set Debounce Time
Syntax:
SET DBT <n><v>
Variables:
n = the channel number of the I/O input port
v = Value 1-50 which sets the debounce time in increments of 5ms
Example:
SEND_COMMAND 5001:22:0,'SET DBT 1 10'
Sets channel 1 on the I/O port to 50ms Debounce time.
GET INPUT Get the active state for the selected channels. An active state can be high (logic high) or low (logic low or contact closure).
Channel changes, Pushes, and Releases generate reports based on their active state. The port responds with either 'HIGH'
or 'LOW'.
Syntax:
SEND_COMMAND <DEV>,"'GET INPUT <channel>'"
Variable:
channel = Input channel 1 - 8.
Example:
SEND_COMMAND IO,"'GET INPUT 1'"
Gets the I/O port's active state.
The system could respond with:
INPUT1 ACTIVE HIGH
SET INPUT Set the input channel's active state. An active state can be high (logic high) or low (logic low or contact closure). Channel
changes, Pushes, and Releases generate reports based on their active state. Setting an input to ACTIVE HIGH will disable
the ability to use that channel as an output.
Syntax:
SEND_COMMAND <DEV>,"'SET INPUT <channel> <state>'"
Variable:
channel = Input channel 1 - 8.
state = Active state HIGH or LOW (default).
Example:
SEND_COMMAND IO,"'SET INPUT 1 HIGH'"
Sets the I/O channel to detect a high state change, and disables output on the channel.
PoE SEND_COMMANDs
The NX-4200 has 4 ICSLAN ports, each of which feature Power-over-Ethernet (PoE). The ports are numbered 1-4. The following
PoE SEND_COMMANDs program the ICSLAN ports on the controller.
NOTE: Note: These commands are not compatible with Massio ControlPads.
PoE SEND_COMMANDs
Command Description
GET CLASS Retrieve the class type of the device connected via PoE. This command receives a COMMAND event of ’DISABLED’, ’NO
DEVICE’, or ’CLASS x DEVICE’, with x being a value from 0 to 4.
Syntax:
SEND_COMMAND <DEV>,"'GET CLASS'"
Example:
SEND_COMMAND PoE_24,"'GET CLASS'"
GET Retrieve the current of the device connected via PoE. This command receives a COMMAND event with the number in
CURRENT milliamps (mA).
Syntax:
SEND_COMMAND <DEV>,"'GET CURRENT'"
Example:
SEND_COMMAND PoE_24,"'GET CURRENT'"
GET FAULT Retrieve the type of fault on the PoE port. This command receives a COMMAND event of ’DISABLED’, ’NONE’, ’UNDER-
VOLTAGE / OVER-VOLTAGE’, ’CURRENT OVERLOAD’, ’LOAD DISCONNECT’, MAX POWER EXCEEDED,’ or ’POE NOT
AVAILABLE’.
Syntax:
SEND_COMMAND <DEV>,"'GET FAULT'"
Example:
SEND_COMMAND PoE_24,"'GET FAULT'"
GET STATUS Retrieve the status of the PoE port. This command receives a COMMAND event of ’STATUS: NORMAL’ or, ’STATUS: FAULT’.
Syntax:
SEND_COMMAND <DEV>,"'GET STATUS'"
Example:
SEND_COMMAND PoE_24,"'GET STATUS'"
GET Retrieve the current draw on the PoE port. This command receives a COMMAND event with the number in volts.
VOLTAGE Syntax:
SEND_COMMAND <DEV>,"'GET VOLTAGE'"
Example:
SEND_COMMAND PoE_24,"'GET VOLTAGE'"
SET FAULT Disables fault detection on the PoE port. Fault detection is turned on by default.
DETECT OFF Syntax:
SEND_COMMAND <DEV>,"'SET FAULT DETECT OFF'"
Example:
SEND_COMMAND PoE_24,"'SET FAULT DETECT OFF'"
SET FAULT Enables fault detection on the PoE port. Fault detection is turned on by default.
DETECT ON Syntax:
SEND_COMMAND <DEV>,"'SET FAULT DETECT ON'"
Example:
SEND_COMMAND PoE_24,"'SET FAULT DETECT ON'"
SET POWER Disables PoE to the port. PoE is turned on by default.
OFF Syntax:
SEND_COMMAND <DEV>,"'SET POWER OFF'"
Example:
SEND_COMMAND PoE_24,"'SET POWER OFF'"
SET POWER Enables PoE to the port. PoE is turned on by default.
ON Syntax:
SEND_COMMAND <DEV>,"'SET POWER ON'"
Example:
SEND_COMMAND PoE_24,"'SET POWER ON'"
AxLink SEND_COMMANDs
The following commands program the AxLink ports on the NX controller.
NOTE: These commands are not compatible with Massio ControlPads.
AxLink SEND_COMMANDs
Command Description
AXPWROFF Powers off the specified AxLink port.
Syntax:
SEND_COMMAND <DEV>,"'AXPWROFF <UPPER|LOWER>'"
Variable:
UPPER|LOWER = Specifies the AxLink port on the controller
Example:
SEND_COMMAND 5001:1:0,"'AXPWROFF UPPER'"
Powers off the upper AxLink port on the controller.
AXPWRON Powers on the specified AxLink port.
Syntax:
SEND_COMMAND <DEV>,"'AXPWRON <UPPER|LOWER>'"
Variable:
UPPER|LOWER = Specifies the AxLink port on the controller
Example:
SEND_COMMAND 5001:1:0,"'AXPWRON LOWER'"
Powers on the lower AxLink port on the controller.
GET AX FAULT Retrieve the AxLink port which currently has a fault.
Syntax:
SEND_COMMAND <DEV>,"'GET AX FAULT'"
Example:
SEND_COMMAND 5001:1:0,"'GET AX FAULT'"
Responds with the COMMAND event: ’AX FAULT: UPPER/LOWER’ or ’NONE’.
Authentication
The NetLinx.axi file that ships with NetLinx Studio includes the following types/constants for authentication:
(*------------------------------------------------------------------------------------------------*)
(* Added v1.56 *)
(*------------------------------------------------------------------------------------------------*)
STRUCTURE LAST_LOGIN_INFO
{
INTEGER failedLoginCount
CHAR lastSuccessfulLoginDate[MAX_LAST_LOGIN_INFO_LENGTH]
CHAR lastSuccessfulLoginIp[MAX_LAST_LOGIN_INFO_LENGTH]
CHAR lastFaileLoginDate[MAX_LAST_LOGIN_INFO_LENGTH]
CHAR lastFailedLoginIp[MAX_LAST_LOGIN_INFO_LENGTH]
}
Library Calls
The NetLinx.axi file that ships with NetLinx Studio includes the following Authentication-specific library calls:
NetLinx.axi - Library Calls
TLS_CLIENT_CLOSE Closes an open TLS communication port with a remote device. Typically, the remote host closes the
connection and you do not need to send this command.
Syntax:
integer TLS_CLIENT_CLOSE(LocalPort)
Parameters:
• LocalPort - A user-defined (non-zero) integer value representing the local port on the client
machine to use for this conversation. This local port number must be passed to TLS_CLIENT_OPEN
to open the conversation.
Returns:
0 - Success
1 - Error
Example:
TLS_CLIENT_CLOSE(5000)
TLS_CLIENT_OPEN Opens a port for TLS communication with a remote device.
Syntax:
integer TLS_CLIENT_OPEN(LocalPort, hostname, port, mode)
Parameters:
• LocalPort- A user-defined (non-zero) integer value representing the local port on the client machine
to use for this conversation. This local port number must be passed to TLS_CLIENT_CLOSE to close
the conversation.
• hostname - The host name or IP address of the remote host.
• port - The connecting port on the remote host, usually port 443 for standard HTTPS connections.
• mode - 0: TLS_VALIDATE_CERTIFICATE (perform certificate validation), 1:
TLS_IGNORE_CERTIFICATE_ERRORS (connect to the remote site while ignoring certificate errors or
mismatches)
Returns:
This function returns 0 is all parameters are accepted, or a positive value indicating the offending
parameter if there is an error.
Example:
TLS_CLIENT_OPEN(5000, '192.168.0.1', 443, 0)
To restrict access to the Master via terminal connection, enable Telnet/SSH on the Master via the Telnet/SSH option on the
Security page - see the Security Options Menu section on page 124 for details). With Configuration Security enabled, a
valid user with Configuration Security access will have to login before being able to execute Telnet commands. If security
is not enabled, these commands are available to all.
If a connection is opened, but a valid username / password combination is not entered (i.e. just sitting at a login prompt),
the connection will be closed after one minute.
Terminal Commands
The Terminal commands listed in the following table can be sent directly to the Master via either a Program Port or a Telnet terminal
session (with the exception of the "Help Security" and "Resetadminpassword" commands, which are only available to a Program
Port (RS232) connection.
In your terminal program, type "Help" or a question mark ("?") and <Enter> to access the Help Menu, and display the Program
port commands described below:
Terminal Commands
Command Description
----- Help ----- <D:P:S> (Extended diag messages are OFF)
<D:P:S>: Device:Port:System. If omitted, assumes Master.
? or Help Displays this list of commands.
ADD AUDIT SERVER [D:P:P] Adds a remote syslog server for audit messages.
- D: IP address or host name of the remote server
- P: Port number
- P: Protocol (UDP, TCP, or RELP)
Example:
>ADD AUDIT SERVER REMOTESVR:514:UDP
AUTO LOCATE Enables/Disables/queries the auto locate feature on the Master.
(ENABLE|DISABLE|STATUS) Auto locate adds additional broadcast information for use by AMX Touch Panel devices configured
in Auto connect mode.
BOOT STATUS Returns the current boot state of the master.
Response is either "Boot in progress." or "Boot complete."
CHANGE PASSWORD Change your password (requires login).
CLEAR AUDIT Removes all locally-stored audit records.
See the SHOW AUDIT LOG command on page 116.
CLEAR HTTPS REDIRECT Clears the HTTPS redirect flag.
See the SET HTTPS REDIRECT command on page 112.
CLEAR MAX BUFFERS Reset the max buffers high-water counters to zero.
CLEAR PERSISTENT VARS Clear out the persistent/non-volatile variable values without having to download a new NetLinx
program.
CPU USAGE Diagnostic tool to calculate a running average of the current CPU usage of the Master.
DATE Displays the current date and day of the week.
Example:
>DATE
10/31/2004 Wed
DATE/TIME ON|OFF ENABLES/DISABLES the addition of a date time stamp to the terminal logs displayed via "msg on"
DATE/TIME is Off by default at the start of each Terminal/Telnet session.
DEVICE DEBUG Turns the device side traffic debug messages on or off.
DEVICE HOLDOFF ON|OFF Sets the Master to holdoff devices (i.e. does not allow them to report ONLINE) until all objects in
the NetLinx program have completed executing the DEFINE_START section.
If set to ON, any messages to devices in DEFINE_START will be lost, however, this prevents
incoming messages being lost in the Master upon startup.
When DEVICE_HOLDOFF is ON, you must use ONLINE events to trigger device startup
SEND_COMMANDs.
By default, DEVICE_HOLDOFF is OFF to maintain compatibility with Axcess systems where devices
are initialized in DEFINE_START.
NOTE: This command sets the state of the device holdoff. The GET DEVICE HOLDOFF command
reveals whether the state is On or Off (see page 107).
Example:
>Device Holdoff ON
Device Holdoff Set.
DEVICE STATUS <D:P:S> Displays a list of all active (on) channels for the specified D:P:S.
DIPSWITCH Displays the current state of the Master's hardware dip switches.
DISK FREE Displays the total bytes of free space available on the Master.
Example:
>DISK FREE
The disk has 2441216 bytes of free space.
-- File Names = 2
1 = C:\Program Files\AMX Applications\i!-PCLinkPowerPoint
2 = C:\Program Files\Common Files\AMXShare\AXIs\NetLinx.axi
2 = Name is MDLPP
-- File Names = 2
1 C:\AppDev\i!-PCLink-PowerPoint\i!-PCLinkPowerPointMod.axs
2 C:\Program files\Common Files\AMXShare\AXIs\NetLinx.axi
PULSE [D:P:S or NAME,CHAN] Pulses a specified channel on a device on and off. The device can be on any system the Master you
are connected to can reach. You can specify the device number, port, and system; or the name of
the device that is defined in the DEFINE_DEVICE section of the program.
Example:
>PULSE[50001:8:50,1]
Sending Pulse[50001:8:50,1]
PWD Displays the name of the current directory.
Example:
pwd
The current directory is doc:
REBOOT Reboots the Master or specified device. Options for rebooting the Master are cold, soft, and warm.
The reboot command with no parameter executes as "reboot cold".
Example (Rebooting device):
>REBOOT [0:1:0]
Rebooting...
Example (Rebooting Master):
>reboot cold
Reboots the Master and restarts the entire operating system.
>reboot warm
>reboot soft
Reboots the Master but only starts the AMX NetLinx application firmware.
This will set the timeout for TCP connections for both ICSP and i!-Web
Control.When no communication has been detected for the specified number of
seconds, the socket connection is closed.ICSP and i!-Web Control have built-in
timeouts and reducing the TCP timeout below these will cause undesirable
results. The default value is 45 seconds.
-- This will set the thresholds of when particular tasks are pended. The
threshold is the number of messages queued before a task is pended.--
--Use extreme caution when adjusting these values.--
Current Interpreter Threshold = 2000
Enter new Interpreter Threshold (Between 1 and 2000)(Default=10):
Once you enter a value and press the ENTER key, you receive the following message:
Current Lontalk Threshold = 50
Enter new Lontalk Threshold (Between 1 and 2000)
(Default=50):50
Current IP Threshold = 600
Enter new IP Threshold (Between 1 and 2000)
(Default=200): 600
Setting Thresholds to: Interpreter 2000
Lontalk 50
IP 600
New thresholds set, reboot the Master for the changes to take effect.
SET TIME Sets the current time. When the time is set on the Master, the new time will be reflected on all
devices in the system that have clocks (i.e. touch panels). By the same token, if you set the time on
any system device, the new time will be reflected on the system’s Master, and on all connected
devices.
NOTE: This will not update clocks on devices connected to another Master (in
Master-to-Master systems).
Example:
>SET TIME
Enter Date: (hh:mm:ss) ->
SET TIMELINE LOOPCNT Sets the Master's timeline/event max loopcount.
SET UDP BC RATE Sets the UDP broadcast rate. A broadcast message is sent by the Master to allow devices to
discover the Master. This command allows the broadcast frequency to be changed or eliminate the
broadcast message.
Example:
>SET UPD BC RATE
Current broadcast message rate is 5 seconds between messages.
Enter broadcast message rate in seconds between messages
(off=0; default=5) (valid values 0-300):
Once you enter a value and press the ENTER key, you receive the following message:
Setting broadcast message rate to 300 seconds between messages
New broadcast message rate set.
Con Manager 8
Interpreter 17
Device Mgr 8
Diag Mgr 1
Msg Dispatch 0
Cfg Mgr 0
Route Mgr 0
Notify Mgr 0
---- ---- ----
Total 2 34 GrandTotal 36
See the SHOW BUFFERS section on page 116.
SHOW MEM Displays the memory usage for all memory types.
SHOW NOTIFY Displays the Notify Device List (Master-Master). This is a list of devices (up to 1000) that other
systems have requested input from and the types of information needed.
NOTE: The local system number is 1061.
Example:
>SHOW NOTIFY
---- These commands apply to the Security Manager and Database ----
1) Set system security options for NetLinx Master
2) Display system security options for NetLinx Master
3) Add user
4) Edit user
5) Delete user
6) Show the list of authorized users
7) Add Device
8) Edit device
9) Delete device
10) Show list of authorized devices
11) Add role
12) Edit role
13) Delete role
14) Show list of authorized roles
15) Set Inactivity Timeout (minutes)
16) Display Inactivity Timeout (minutes)
17) Enter LDAP security information
18) Test connection to the LDAP server
19) Test an LDAP user
20) Display LDAP security information
21) Show active sessions/logins
22) Backup Database
23) Restore Database from backup
24) Reset Database
25) Display Database
Or <ENTER> to return to previous menu
---- These commands apply to the Security Manager and Database ----
1) Set system security options for NetLinx Master
2) Display system security options for NetLinx Master
3) Add user
4) Edit user
5) Delete user
6) Show the list of authorized users
7) Add device
8) Edit device
9) Delete device
10) Show list of authorized devices
11) Add role
12) Edit role
13) Delete role
14) Show list of authorized roles
15) Set Inactivity Timeout (minutes)
16) Display Inactivity Timeout (minutes)
17) Enter LDAP security information
18) Test connection to the LDAP server
19) Test an LDAP user
20) Display LDAP security information
21) Show active sessions/logins
22) Backup Database
23) Restore Database from backup
24) Reset Database
25) Display Database
Or <ENTER> to return to previous menu
Adding a Role
1. Type 11 and <Enter> at the Security Setup prompt (at the bottom of the Main Security Menu) to add a new role. A sample
session response is:
The following groups are currently defined:
All_Permissions
Studio
User
Enter name of new role:
2. Enter a name for the group. A group name is a valid character string (4 - 20 alpha-numeric characters) defining the group.
This string is case sensitive, and each group name must be unique.
3. Press <Enter> to display the Edit Group menu.
Default Security Conf iguration
By default, the NetLinx Master will create the following accounts, access rights, directory associations, and security options.
Account 1: User Name: administrator
Password: password
Role: All_Permissions
Directory Association: /*
NOTE: If the DN of a user is in both the administrator groupOfNames and the user groupOfNames, the administrative privileges take
precedence over user privileges.
NOTE: Existing secure sites coming from 1.4 using LDAPS should continue to work for user authentication. However, in NetLinx
Studio, the Certif icate Manager may show an LDAP CA as an 802.1x certif icate. This is due to previous versions of Studio sending
.pem f iles to the 8021x directory. It is recommended that the LDAP CA be removed from the 802.1x type, and re-sent to the NX as a
Trusted CA type.
NOTE: Existing installations that used basic FTP and installed the LDAP CA in user/certs will NOT show up in the Certif icate Manager.
However, auth will still be available for most access.
NOTE: For LDAPS connections, specif ically FTP/SSH, the CA must be in the Trusted CA store otherwise the NX will authorize, but FTP/
SSH will fail. This is not required for instances where the Controller authorizes the activity (HTTP, ICSP).
Step 4: Import the newly signed certif icate into the KeyStore
Use the following commands to import the newly signed certificate into the KeyStore:
keytool -keystore amxcert -alias CA -import -file CA.crt -trustcacerts
keytool -keystore amxcert -import -file master.crt -trustcacerts
4. When the website appears, click the red X in the address bar (FIG. 62). An Untrusted Certificate pop-up message will appear.
6. Click Install Certif icate. The Certificate Import Wizard opens. Click Next to access the Certificate Store page (FIG. 64).
Website is secure
Click lock
Sending Mail
Sending mail is accomplished with the use of the Master's built-in Mail Service. An outbound mail is handed to the Mail Service via
the following built-in NetLinx function:
sinteger SMTP_SEND (DEV responseDPS, CONSTANT CHAR toAddress[], CONSTANT CHAR mailSubject[], CONSTANT
CHAR mailBody[], CONSTANT CHAR textAttachment[])
where:
responseDPS - The DPS address to return asynchronous send status. Ex. 0:3:0
toAddress - The email address of destination. Ex. john.doe@amx.com.
Note that the NetLinx mail service supports up to eight recipient address (semi-colon delimited). These are "To"
addresses only (not "Cc" or "Bcc" addresses.)
The maximum number of characters allowed for email destination is 127.
mailSubject - The email subject line.
mailBody - The email body text.
textAttachment - A text filename to attach to the email (optional argument). Filenames must be 256 characters or less,
and file size must be under 65536 bytes. When no attachment is included textAttachment should be set to NULL_STR.
SMTP_SEND returns a signed integer.
If the return value is negative (<0) that is an indication there was a failure in handing the message off to the mail service,
most likely due to an invalid argument supplied to the SMTP_SEND call.
If the return value is positive (>0) then the value is the index associated with the mail being sent.
Mail sends are asynchronous to the normal processing of the NetLinx application.
When SMTP_SEND is called and the mail is posted to the internal Mail Service, the NetLinx application will continue
executing the code following the SMTP_SEND.
The failed send status will be returned via an ONERROR DATA_EVENT for the responseDPS specified in the SMTP_SEND call
with DATA.NUMBER set to the error code and DATA.TEXT set to the mail identifier returned from the SMTP_SEND call.
Example SMTP_SEND:
DEFINE_DEVICE
MAIL_SERVICE=0:3:0
DEFINE_VARIABLE
SINTEGER MAIL_IDX
…
MAIL_IDX = SMTP_SEND(MAIL_SERVICE,'jdoe@somemail.com','Mail Subj','Mail Body', NULL_STR)
IF (MAIL_IDX < 0)
{
// FAILED TO SEND MAIL
}
…
DATA_EVEN [MAIL_SERVICE]
{
ONERROR:
{
// AN ERROR OCCURRED
LOG_ERROR("MAIL SEND FAILURE - IDX=',DATA.TEXT,' ERROR=',ITOA(DATA.NUMBER))
}
}
The possible error codes are:
MALFORMED DATA = 1;
NOT ENOUGH MEMORY = 2;
SERVER UNREACHABLE = 3;
AUTHENTICATION FAILURE = 4;
SMTP PROTOCOL ERROR = 5;
(*-----------------------------------------------------------------------------*)
(* Added v1.28, Clock Manager Time Server Entry Structure *)
(*-----------------------------------------------------------------------------*)
STRUCTURE CLKMGR_TIMESERVER_STRUCT
{
CHAR IS_SELECTED; (* TRUE/FALSE *)
CHAR IS_USER_DEFINED; (* TRUE/FALSE *)
CHAR IP_ADDRESS_STRING[48]; (* Allow enough room for IPv6 in the future *)
CHAR URL_STRING[32]; (* Example: time.organization.net *)
CHAR LOCATION_STRING[32]; (* Example: Boulder, Colorado, US *)
}
Library Calls
The NetLinx.axi file that ships with NetLinx Studio includes the following Clock Manager-specific library calls:
NetLinx.axi - Library Calls
CLKMGR_IS_NETWORK_SOURCED() Returns FALSE/0 or TRUE/1 (default = FALSE/0)
CLKMGR_SET_CLK_SOURCE Can be set to CLKMGR_MODE_NETWORK or CLK-MGR_MODE_STANDALONE.
(CONSTANT INTEGER MODE)
CLKMGR_IS_DAYLIGHTSAVINGS_ON() Returns FALSE/0 or TRUE/1 (default = FALSE/0).
CLKMGR_SET_DAYLIGHTSAVINGS_MODE Can be set to ON/TRUE or OFF/FALSE.
(CONSTANT INTEGER ONOFF)
CLKMGR_GET_TIMEZONE() Returns Timezone as a string in the format: UTC[+|-]HH:MM
CLKMGR_SET_TIMEZONE Input string must have the correct format: UTC[+|-]HH:MM
(CONSTANT CHAR TIMEZONE[])
CLKMGR_GET_RESYNC_PERIOD() Returns the Clock Manager's re-sync period in minutes (default = 60). This
setting has no effect if the Clock Manager mode is set to STANDALONE.
CLKMGR_SET_RESYNC_PERIOD Sets the re-sync period to the specified minute value. The upper bound is 480
(CONSTANT INTEGER PERIOD) minutes (i.e., 8 hours).
CLKMGR_GET_DAYLIGHTSAVINGS_OFFSET Populates the TIMEOFFSET structure with the current Daylight Savings Offset
(CLKMGR_TIMEOFFSET_STRUCT T) configured. The function returns a negative SLONG value if it encounters an
error.
CLKMGR_SET_DAYLIGHTSAVINGS_OFFSET Sets the Daylight Savings Offset to the specified value.
(CONSTANT CLKMGR_TIMEOFFSET_STRUCT T)
CLKMGR_GET_ACTIVE_TIMESERVER Populates the TIMESERVER structure with the currently active time server's
(CLKMGR_TIMESERVER_STRUCT T) data. The function returns a negative SLONG value if it encounters an error.
CLKMGR_SET_ACTIVE_TIMESERVER Sets the time server entry that has the matching IP-ADDRESS to the IP
(CONSTANT CHAR IP[]) parameter as the active time server entry.