MCPcopy Create free account
hub / github.com/LabPy/lantz / revision

Method revision

lantz/drivers/kentech/hri.py:90–100  ·  view source on GitHub ↗

Revision.

(self)

Source from the content-addressed store, hash-verified

88
89 @Feat(read_once=True)
90 def revision(self):
91 """Revision.
92 """
93 ans = self.query_expect('.REV', expected=None)
94 print(ans)
95 if 'UNDEFINED' in ans:
96 ans = '1.0'
97 else:
98 ans = self.read()
99 ans = ans.split()[1]
100 return ans
101
102 @Feat(None, values={'ecl': 'ECLTRIG', 'ttl': 'TTLTRIG'})
103 def trigger_logic(self, value):

Callers

nothing calls this directly

Calls 2

query_expectMethod · 0.95
readMethod · 0.45

Tested by

no test coverage detected