52 super().
__init__(owner, name, description)
54 self.
in1 = ac.ScalarPushInput(ac.DataType.int32, self,
"in1",
"",
"")
55 self.
in2 = ac.ScalarPushInput(ac.DataType.int32, self,
"in2",
"",
"")
56 self.
in3 = ac.ScalarPushInput(ac.DataType.int32, self,
"in3",
"",
"")
58 self.
letsStart = ac.ScalarOutput(ac.DataType.int32, self,
"letsStart",
"",
"")
60 self.
testError = ac.ScalarOutput(ac.DataType.string, self,
"testError",
"",
"")
67 rag = self.readAnyGroup()
69 dg = ac.DataConsistencyGroup(self.
in1, self.
in2)
75 change = rag.readAny()
76 isValid = dg.update(change)
78 change = rag.readAny()
79 isValid = dg.update(change)
81 change = rag.readAny()
82 isValid = dg.update(change)
86 change = rag.readAny()
87 isValid = dg.update(change)
89 change = rag.readAny()
90 isValid = dg.update(change)
92 change = rag.readAny()
93 isValid = dg.update(change)
98 dgh = ac.DataConsistencyGroup(self.
in1, self.
in2, mode=ac.MatchingMode.historized, histLen = 1)
99 change = rag.readAny()
100 isValid = dgh.update(change)
106 except AssertionError
as e:
107 print(
"Exception: "+
"\n".join(traceback.format_exception(e)))
109 self.
testError.setAndWrite(
"\n".join(traceback.format_exception(e)))