w w w . u q d e v i c e s . c o m
L o g i c 1 6 U s e r M a n u a l
| 51
Hint: When two events occur at the exact same time, the event coming from the input with the smaller
input number will be processed first. For this reason input 1 has a slightly better real time performance
than input 16.
Syntax:
C#
myLogic.
SetOutputEventCount(int events)
C++
logic.
SetOutputEventCount(int events)
SetOutputPattern(int output, int pos, int neg)
This function sets the pattern of the output pulses based on the input coincidence events. The parameter
output identifies which output to change, with range [1..3].
The parameter pos is the bit coded value of the Coincidence Event of the inputs that must be present,
with range [0..65535] as for CalcCount.
The parameter neg is the bit coded value of the Coincidence Event of the inputs that must not be present,
with range [0..65535].
Method Call
Result
SetOutputPattern(1, 1, 0)
Output 1 fires when input 1 is present
SetOutputPattern(2, 6, 0)
Output 2 fires when inputs 2 and 3 are present
within the coincidence window
SetOutputPattern(3, 6, 8)
Output 3 fires when inputs 2 and 3 are present and
input 4 is not present at the same time
Syntax:
C#
myLogic.
SetOutputPattern(int output, int pos, int neg)
C++
logic.
SetOutputPattern(int output, int pos, int neg)
SetOutputWidth(int width)
This function defines the length of the generated output pulses. The parameter is given in 5 ns increments.
The maximum value is 255.
Syntax:
C#
myLogic.
SetOutputWidth(int width)
C++
logic.
SetOutputWidth(int width)