Skip to content

Commit

Permalink
Add basic query for HP 3457A
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLutton authored Mar 21, 2024
1 parent 6939d43 commit 6f2b23f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/labtoolkit/DigitalMultimeter/HP3457A.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
from ..IEEE488 import IEEE488


class HP3457A(IEEE488):
...

def __post__(self):
self.inst.write_termination = '\n'
self.inst.read_termination = '\r\n'
# self.write('OFORMAT ASCII')

@property
def reading(self):
return self.query_float('?')

0 comments on commit 6f2b23f

Please sign in to comment.