Event GeneratorThe EventGenerator Device creates output values from a set of values in response to values on its input. The output values and the input values which generate them are both programmable. The EventGenerator is programmed with a set of output values and a set of input values. Each time the EventGenerator sees an input value from its input set, it outputs a value from its output set. The first output value it generates is the first value from its output set. Each time it sees an input value which is a member of its input set, it outputs the next value from its output set. When it reaches the end of its output set, it starts again at the set's beginning. In this manner, the EventGenerator generates a programmable, repeating sequence of outputs in response to inputs in its input set. EventGenerator TerminalsThe EventGenerator Device has two terminals, an "in" terminal and an "out" terminal. The "in" terminal values are tested for membership in the input set, and the "out" terminal values come from the output set. If the EventGenerator "in" terminal gets a value that is not in its input set, it will leave the "out" terminal unchanged. Creating an EventGeneratorEventGenerator Devices are created by running the EventGenerator Script. The EventGenerator Script takes 2 input parameters. The parameters determine what output values are generated and when. The parameters are as follows:
ExamplesRunning the EventGenerator Script with the parameters listed below will add an EventGenerator which generates
Running the EventGenerator Script with the parameters listed below will add an EventGenerator which generates
|