Table of Contents

Example

Enable/Disable DMX Outputs

by: Sebastian Beutel, March 2020
published: here
description: enables/disables DMX outputs
remarks: idea: https://www.facebook.com/groups/1811437589141428/permalink/2601186196833226/

functions

Code

enableOutputs.xml
<?xml version="1.0" encoding="utf-8"?>
<avolites.macros>
 
  <macro id="wiki.enableArtnet" name="Enable Artnet Output">
    <sequence>
      <step>Dmx.EnableDmxModule("LocalDevice", "5", true)</step>
    </sequence>
  </macro>
  <macro id="wiki.disableArtnet" name="Disable Artnet Output">
    <sequence>
      <step>Dmx.EnableDmxModule("LocalDevice", "5", false)</step>
    </sequence>
  </macro>
 
  <macro id="wiki.enableSacn" name="Enable sACN Output">
    <sequence>
      <step>Dmx.EnableDmxModule("LocalDevice", "10", true)</step>
    </sequence>
  </macro>
  <macro id="wiki.disableSacn" name="Disable sACN Output">
    <sequence>
      <step>Dmx.EnableDmxModule("LocalDevice", "10", false)</step>
    </sequence>
  </macro>
 
  <macro id="wiki.enableDmx" name="Enable DMX Output">
    <sequence>
      <step>Dmx.EnableDmxModule("LocalDevice", "7", true)</step>
    </sequence>
  </macro>
  <macro id="wiki.disableDmx" name="Disable DMX Output">
    <sequence>
      <step>Dmx.EnableDmxModule("LocalDevice", "7", false)</step>
    </sequence>
  </macro>
 
</avolites.macros>

Explanation

This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax

In order to ensble/disable the various DMX output modules Dmx.EnableDmxModule is called with appropriate parameters:

How to use it

  1. trigger such a macro in order to enable/disable an output