About Macros

The DM84 can be remotely controlled using commands sent over USB, a serial port, or a network connection. An extensive command language is defined for the DM84 which is text-based and human readable. Touch panel controllers, for instance, use this command interface.

Macros are predefined groups of commands that are stored internally by the DM84. All of the commands contained in the macro can then be executed by issuing a single run command to the DM84. There are two advantages to this approach:

Macros are stored in the DM84 nonvolatile memory. 128 macros are available, each with a maximum length of 64 commands. Macros are global in scope, meaning that they are not associated with any particular preset.

Macros may be given a descriptive title which is stored along with the command list.

It is important to know that when a macro is run, the response messages normally returned when the commands are executed individually are discarded unless the command is marked as a verbose command (prefixed by a '!' (bang) character. This means that for non-verbose commands ill formed or unsuccessful commands fail silently, as the error message is discarded.

Macros can be chained if necessary, meaning that one macro can call another macro by virtue of containing a run command. It is important to know that a run command issued from within a macro will be delayed until after the first macro has finished running. In other words, macros aren't nested, they always run sequentially (chaining). The best practice when chaining macros is to make the run command the last command in a macro, or to .

The control panel contains a Macro Editor which is used to create new macros or edit existing ones when the PC is connected to a DM84. Macros may also be opened and saved as files, making it possible to work with them in offline mode as well.

The control panel also contains a Macro Recorder which allows a sequence of commands to be captured as a macro without typing them into the Macro Editor. The Macro Recorder works by capturing the commands generated by the control panel when the mouse and keyboard are used to make changes to DM84 settings. It can be used in offline mode or while connected to a DM84.

Copyright 2006 Lectrosonics, Inc.