beautypg.com

Clear-Com Logic-Maestro User Manual

Page 116

background image

Clear-Com Communication Systems

Eclipse Logic Maestro Instruction Manual

2 - 5 0

TriggersWhenOn(Control-
Macro) [void]

This control latch function will trigger an output to the
specified control when the input to the latch is on. The
example below shows sequence to get a control refer-
ence, create a latch and set the latch to trigger the con-
trol when the input is on.
ControlMacro OUTPUT1 = ControlMacro.GetCon-
trol("OUTB", "");
ControlLatch LATCH1 = ControlLatch.CreateLatch();
LATCH1.TriggersWhenOn(OUTPUT1);

TriggersWhenOn(Action) [void]

This control latch function will trigger an output to the
specified control when the input to the latch is on. The
example below shows sequence to get a control refer-
ence, create a latch and set the latch to trigger the con-
trol when the input is on e.g.
ControlMacro OUTPUT1 = ControlMacro.GetCon-
trol("OUTB", "");
ControlLatch LATCH1 = ControlLatch.CreateLatch();
LATCH1.TriggersWhenOn(OUTPUT1);

GetId [ushort]

Returns the ID of an object e.g.
ControlLatch = .GetId;

Macro

Description