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

Method query

lantz/drivers/examples/voltmeter.py:24–28  ·  view source on GitHub ↗
(self, command, *, send_args=(None, None), recv_args=(None, None))

Source from the content-addressed store, hash-verified

22 'read_termination': '\n'}}
23
24 def query(self, command, *, send_args=(None, None), recv_args=(None, None)):
25 answer = super().query(command, send_args=send_args, recv_args=recv_args)
26 if answer == 'ERROR':
27 raise InstrumentError
28 return answer
29
30 @Feat()
31 def idn(self):

Callers 12

idnMethod · 0.95
voltageMethod · 0.95
rangeMethod · 0.95
auto_rangeMethod · 0.95
calibrateMethod · 0.95
self_testMethod · 0.95
a_read_only_propertyMethod · 0.45
a_read_write_propertyMethod · 0.45
idnMethod · 0.45
amplitudeMethod · 0.45
doutMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected