Control actions macro, Control actions macro -41 – Clear-Com Logic-Maestro User Manual
Page 107
Clear-Com Communication Systems
Eclipse Logic Maestro Instruction Manual
2 - 4 1
CONTROL ACTIONS MACRO
Control action macros act on system configuration objects to change
the state of the object. The format of a control action macro command
is:
ControlActions.<Macroname><parameters>;
The ‘ControlActionMacro’ command is used to change the state of a
system configuration object
For example, the command:
Action fireLed1 = ControlActions.ActivateLED(<parameters>);
will create an action ‘fireLED1’ that changes the state of the system
object LED1 in accordance with the parameters supplied.
These macros are accessed by expanding the ‘Clearcom’ >
‘ScriptLibrary’ > ‘ControlActions’ entry in the Available Modules menu.
value__ [int]
Returns the value of a condition eg.
Condition <result> = <condition>.value__;
Macro
Description
Macro
Description
ActivateLED(EntityObject,
LedRate, LedIndication) [Action]
Returns a control object to set the flash rate and color
for a specified LED e.g.
Action = ControlActions.ActivateLED(<EntityOb-
ject>, Ledrate, Off, LedIndications.Red);
ActivateLED (EntityObject[],
LedRate, LedIndication) [Action]
Returns a control object to set the flash rate and color
for specified LED e.g.
Action = ControlActions.ActivateLED(<EnityOb-
ject>, LedRate.Off, LedIndictions.Red);
ActivateLED (PortObject, Entity-
Object, LedRate, LedIndication)
[Action]
Returns a control object to set the flash rate and color
for a specified LED on a specified port e.g.
Action = ControlActions.ActivateLED(<port object>,
<Entity Object>, LedRate.Off, LedIndication.Red);