Commit fe75724e authored by auke.klazema's avatar auke.klazema

Rename of HpibDevice Class

parent be7c998e
......@@ -118,7 +118,7 @@ class GPIB_232_485CT_A():
self._commandCount = self._serialPort.write(self._commandStr)
class hpib_device():
class HpibDevice():
def __init__(self, hpib_address, port, keepLocal=False,pause=0):
self._hpib_address = hpib_address
self._port = port
......
......@@ -8,9 +8,9 @@ import time
p=hpib.PrologixGpibUsb()
sml=hpib.hpib_device(28,p)
smx=hpib.hpib_device(14,p)
esmc=hpib.hpib_device(1,p)
sml=hpib.HpibDevice(28, p)
smx=hpib.HpibDevice(14, p)
esmc=hpib.HpibDevice(1, p)
DT=telescope.telescope(math.radians(52.812019), math.radians(6.396169), 25.0,connect=True)
print sml.query("*IDN?")
print esmc.query("*IDN?")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment