2022-03-01 13:26:29 +01:00
|
|
|
|
2022-02-28 18:54:52 +01:00
|
|
|
watchall
|
2022-03-01 13:26:29 +01:00
|
|
|
set-qdi-channel-neutral "my_merge.in1" 7
|
|
|
|
set-qdi-channel-neutral "my_merge.in2" 7
|
|
|
|
set my_merge.in1.v 0
|
|
|
|
set my_merge.in2.v 0
|
|
|
|
set my_merge.out.a 0
|
|
|
|
set my_merge.out.v 0
|
2022-02-28 18:54:52 +01:00
|
|
|
cycle
|
2022-03-01 13:26:29 +01:00
|
|
|
system "echo '[0] System initialized'"
|
2022-02-28 18:54:52 +01:00
|
|
|
|
|
|
|
set Reset 0
|
|
|
|
cycle
|
2022-03-01 13:26:29 +01:00
|
|
|
system "echo '[1] System reset completed'"
|
2022-02-28 18:54:52 +01:00
|
|
|
status X
|
|
|
|
mode run
|
|
|
|
|
2022-03-01 13:26:29 +01:00
|
|
|
assert-qdi-channel-neutral "my_merge.out" 7
|
2022-02-28 18:54:52 +01:00
|
|
|
cycle
|
2022-03-01 13:26:29 +01:00
|
|
|
system "echo '[2] Output neutral checked'"
|
2022-02-28 18:54:52 +01:00
|
|
|
|
2022-03-01 13:26:29 +01:00
|
|
|
set-qdi-channel-valid "my_merge.in1" 7 5
|
2022-02-28 18:54:52 +01:00
|
|
|
cycle
|
|
|
|
assert my_fork.in.v 1
|
|
|
|
assert my_fork.in.a 0
|
|
|
|
assert-qdi-channel-valid "my_fork.out1" 15 5
|
|
|
|
assert-qdi-channel-valid "my_fork.out2" 15 5
|
|
|
|
set my_fork.out1.v 1
|
|
|
|
set my_fork.out2.v 1
|
|
|
|
cycle
|
|
|
|
assert my_fork.in.a 1
|
|
|
|
set-qdi-channel-neutral "my_fork.in" 15
|
|
|
|
cycle
|
|
|
|
set my_fork.out1.a 1
|
|
|
|
set my_fork.out1.a 1
|
|
|
|
system "echo 'Finished'"
|