4 Operation
4 . b :
T
r
i
g
g
e
r
a t . .
4 . c :
E
l
s
i
f
( A ) t h e n
4 . d :
G
o
t
o
2
4 . e :
E
l
s
e
4 . f :
G
o
t
o
1
3 . b :
E
l
s
i
f
( A ) t h e n
3 . c :
G
o
t
o
2
3 . d :
E
l
s
e
3 . e :
G
o
t
o
1
2 . b : E l s i f ( A ) t h e n
2 . c :
G
o
t
o
2
2 . d : E l s e
2 . e :
G
o
t
o
1
If the
'Else Goto 1'
terms were missing, the trigger would be reached even if a
cycle X occurred in between the A,B,C or D cycles (a loose sequence).
The
'Goto 2'
statements are necessary to trigger also if the actual sequence is
partially fulfilled, and then immediately followed by the sought sequence, like
A-B-C-A-B-C-D. If the
'Goto 2'
were missing, the second A would give a
'Goto
', starting a new search for A, but this time the A does not come again before
the B-C-D.
Note that it is not necessary to include an
'Else Goto 1'
at the outer
'If
level
(bottom), because of the implicit
'Else Goto current'
in an
'If
statement not
ending with en
'Else'.
Sequencer examples
Count, Delay and Switch sampling mode
The sequencer program below will count 10 occurrences of VMEO or VME1,
then cause a trigger if VME2 is found, then switch to 50MHz timing sampling
for 760ns after the trigger, for detailed review of the trigger cycle, and then
revert to state sampling.
= >
1 . a : S a m p l i n g i n S TAT E m o d e
1 . b : S t o r e ( A L L )
1 . c : C o u n t 1 0 o f (VMEO + V M E 1 ) t h e n
2 . a :
I
f
( V M E 2 ) t h e n
2 . b : T r i g g e r a t S TA R T o f t r a c e
3 . a : S a m p l i n g i n 5 0 M H z T I M I N G m o d e
3 . b : D e l a y 7 6 0 n s t h e n i f ( A N Y T H I N G ) t h e n
4 . a : S a m p l i n g i n S TAT E m o d e
58
V
B
T
-
3
2
5
User's Manual
V
M
E
T
R
O
Summary of Contents for VBAT-PB
Page 15: ...x i v 1 1 I 1 1 I I i i I I 1 I I 1 I 1 I I ...
Page 23: ...1VBT 325 Product overview 8 V B T 3 2 5 User s Manual V M E T R O ...
Page 125: ...8 Trace examples 110 V B T 3 2 5 User s Manual V M E T R O ...
Page 144: ...9 VBAT PB VME bus anomaly trigger ITP40 I GND VMETRO V B T 3 2 5 User s Manual 1 2 9 ...
Page 159: ...1 1Jumper settings 144 V B T 3 2 5 User s Manual V M E T R O ...
Page 181: ...16 Simulator for PC 166 V B T 3 2 5 User s Manual V M E T R O ...