<html>
<HEAD>
<TITLE>TriggerSwitch Module</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFF88" TEXT="#000000" LINK="#3333AA" VLINK="#6666FF"> 

<H2>
<A NAME="TriggerSwitch">TriggerSwitch</A>
</H2>
A TriggerSwitch element generates 'Director' events suitable for
controlling <A HREF="Switcher">Switcher</A> elements (and eventually
other modules as well).  <i>Any</i> kind of data arriving at its 'Trigger'
input will trigger transmission of a signal if the element is set to respond.
(Data is 'packetized' -- size of packet depending on the data --
so one event corresponds to one arriving packet.)
The director code sent is
set by the control panel; only this selected code will be emitted by
the element -- separate elements must be used for alternative signals.
<h4>
Inputs
</h4>
<UL Type="none">
<LI> <B>Trigger</B> -- Data arriving here will trigger a signal if the element
is in a 'ready' state (determined by the mode setting menu, and the 'Prime' input)
<LI> <B>Prime</B> -- If the element is in the 'Primable' mode, a packet arriving
here switches it to 'Primed': the next trigger event will then generate an output
and set the element back to 'Primable'.  The input is inactive in other modes.
</UL>
<h4>
Outputs
</h4>
<UL Type="none">
<LI> <B>Trigger</B> -- Pass-through of (all) arriving packets on the trigger input
<LI> <B>Prime</B> -- Pass-through of (all) arriving packets on the priming input
<LI> <B>Switch Out</B> -- Signal events are emitted on this connection
</UL>
<P>
<h4>
Control Panel
</h4>
This has sixteen toggle buttons, representing the 'marks' in the
director code
that will be sent.  Any appropriate group of these may be set: the
emitted event will contain all of them.
<P>
A button below the checkboxes may be used to send the signal
directly, independent of arriving data (and the current mode).
<P>
Below this is the popup menu for selecting the mode:
<UL Type="none">
<LI> <B>Always</B> -- A director message is generated for every arriving trigger packet.
<LI> <B>Primed</B> -- A director message will be generated for the next trigger, and
the element will be set to <B>Primable</B>.
<LI> <B>Primable</B> -- A packet arriving at the 'Prime' input will switch the
element to <B>Primed</B>.
<LI> <B>OneShot</B> -- A director message will be generated for the next trigger, and
the element will be switched to <B>Off</B>.
<LI> <B>Off</B> -- The element does not respond to arriving events.
</UL>
<P>
<BR>
For more information, see
<A HREF="../Documentation/Universal.html#TriggerSwitch">TriggerSwitch</A>
in the "Universal Modules" documentation.
<BR>

</body>
</html>
