beautypg.com

Figure 2-25 inital new control macro -25 – Clear-Com Logic-Maestro User Manual

Page 91

background image

Clear-Com Communication Systems
Eclipse Logic Maestro Instruction Manual

2 - 2 5

Figure 2-25: Inital New Control Macro

Once the control macro structure has been generated the user control
macro is created by dragging and dropping items from the object
browser into the control macro edit window to build up lines of the
control macro.

For example, to create an instance of a port select the ‘Configuration
Entities’ tab and open the ‘PORT’ item to display a list of ports. Right
click on the required port to select it and then double click to
automatically create the line of code that will create and instance of
that object.

Note: Enter some blank lines (keyboard Enter) after automatically
generated ‘// user Script entered here’ line

Note: Make sure the cursor is placed on a line under the start of
the user script marker before selecting a new control control
macro line.

Certain types of macro actions may have variable or unpredictable
effects on different types of hardware so where a macro may act on
different types of hardware it should be checked on all the variants of
the hardware.

Once such case is macros which cause LEDs on panels to flash.
There are a variety of different panel types which may be present on a
system and they may respond differently to commands to flash LEDs.
For example a macro to cause LEDs to flash system wide will not work
on ICS-2003 panels but will work on other panels. Macros which flash