The DMX512 protocol (Digital MultipleX) is a standard for networks that are used to control stage lighting and effects. It is the standard way for connecting controllers (e.g. lighting consoles) to dimmers and special effects like e.g. smoke machines and intelligent lights. The number 512 refers to the 512 control channels that the protocol can handle.
The DMX512 decoder I/O decodes analog signals to DMX512 messages. The DMX512 decoder has auto level detection and auto hysteresis detection. The output of the DMX512 decoder I/O can be shown in a Table sink or passed on a to a Value extractor I/O.
The following fields are extracted from the DMX512 communication and shown as a column in the table:
| Field name | Purpose | Default shown |
|---|---|---|
| Start code (Dec) | ||
| Start code (Hex) | ||
| Slots (Hex) | ||
| Slots (Dec) | ||
| Flags | ||
| Valid | Validity of the message |
Additionally, many other fields can be extracted from the DMX512 communication. These are specific fields, which can be used with certain sensors. Refer to the documentation of the sensor to find out which fields are useful to place in the table.
To show or hide specific columns from the table, use the Select columns
(
) button
in the Table sink.
Double clicking a row in the table will zoom the active graph in to the time frame corresponding to the table row.
The Value extractor I/O can be used to extract a specific value from the decoded data and present that in a graph, a meter or a table.
Measurement on a DMX512 bus, with data decoded by a DMX512 decoder.
DMX512 decoder properties
To control the behavior of the DMX512 decoder I/O, several properties and actions are available.
These can be accessed through a popup menu which is shown when the I/O is right clicked in the Object screen.
The properties can also be accessed through its settings window which is shown when the I/O is double clicked in the Object screen.
To open the Object screen, click the
Show object screen button.
By default, the settings window only shows the most used settings. When Advanced is ticked, the extended window with all settings is shown. See also the program settings.
Level
In order to decode the analog signal into a digital signal, the DMX512 decoder I/O compares the analog input signal with a mid level: anything above that level is considered "high" and anything below that level is considered "low".
Hysteresis
To minimize the effect of noise on the signal when comparing the signal to the level, a Hysteresis can be used around that level. Anything above "level + hysteresis/2" is considered "high" and anything below "level - hysteresis/2" is considered "low".
Auto detect Level / Hysteresis
Enabling Auto detect Level / Hysteresis will let the software determine a suitable Level and Hysteresis, based on the measured signal. Each time new data is available, the suitable Level and Hysteresis will be determined again. In streaming mode, the Level and Hysteresis are determined once based on the first chunk of data and remain at these values though out the whole measurement.
Auto detect Level / Hysteresis is default disabled.
Invert
For correct detection, the Invert property must be set to the correct value, corresponding to the bus that is under measurement.
- When Invert is disabled levels above high level are logic 1, levels below low level are logic 0
- When Invert is enabled levels above high level are logic 0, levels below low level are logic 1
Invert is default off.