29
To set up a channel’s logic, open the channel’s Settings screen, then click the “Logic” tab. Type the logical statement
in the large white box.
A typical logical statement may read:
inB = not in2;
This statement means, “Trigger Channel B when the signal at input 2 turns low (drops below 0.2 Volts).” Once
triggered, the channel will function according to its timing properties (see below).
You can employ compound arguments in logical statements, such as:
inB = not outC and in2;
This statement means, “Trigger Channel B when the output of Channel C is low
while
Input 2 is high.”
Here’s an example that’s more complicated still:
inB = (in1 or in2) and (outC or outD);
Here, Channel B requires a signal from Inputs 1 or 2, combined with a signal from Channels C or D, in order to
trigger.
The following rules apply to logical statements
:
-
Logic is case-sensitive. Use lowercase and capital letters as in the samples above.
-
Spaces matter. Use spaces per the samples above.
-
If a logical statement consists of more than one line, each line should end in a carriage return.
-
The last line of a statement must end in a semicolon.
-
Multiline comments should begin with /* and end with */. Single line comments can be started with //.
Содержание LC880
Страница 2: ...2...