
31
Double click a variable to copy it to your Logic statement. You can also select the variable then click “OK.”
Global Variables
Logical statements that are used repeatedly in your experiment can be stored as “global variables.” With global
variables, complex logic is easier to read and debug.
Say that several channels in your experiment need to be triggered by the same event. For example, Channels F, G
and H must trigger when:
(in1 or in2) and (outC or outD).
Rather than typing that logic each time, you may define it as a variable:
event1 = (in1 or in2) and (outC or outD);
Now you can use “event1” in the logic for Channels F, G and H:
inF = event1;
To view the global variables
, click the “Globals” button on the “Logic” tab. The “Globals” screen will open:
To create a new global variable
, type the variable’s name followed by its definition. In this example we’ve defined
variables named “arm” and “fire.” Be sure to end your definition with a semicolon. Click “Apply” to save the
variable.
Parsing
When you have completed a logical statement, click “Apply” or “OK.” Trigger will check the statement for
syntactical and logical errors and will report any mistakes to you by line number.
Sending Logic
When you alter channel logic you must transfer the changes to the LC880 to implement it.
Summary of Contents for LC880
Page 2: ...2...