Comments
Change-Id: Ie7fe10f704aec62c19cae0bab16d43d55d911a36
This commit is contained in:
@ -126,6 +126,12 @@ class Resistance(Base, Readable):
|
||||
self.write_irange(self.irange - 1)
|
||||
|
||||
def read_status(self):
|
||||
"""
|
||||
Both the mainframe (SR900) and the module (SR921) have the same commands for the status,
|
||||
here implemented commands are made for module status, not the frame!
|
||||
|
||||
:return: status type and message
|
||||
"""
|
||||
esr = int(self.communicate('*esr?')) # standart event status byte
|
||||
ovsr = int(self.communicate('ovsr?')) # overload status
|
||||
cesr = int(self.communicate('cesr?')) # communication error status
|
||||
|
Reference in New Issue
Block a user