Commit ce9a2550 authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema
Browse files

Use the same PrologixGpibUsb device for all devices

parent 4f0c57f3
import hpib
from hpib import HpibDevice
_port = hpib.PrologixGpibUsb()
class CamrasHpibDevice(HpibDevice):
"""Wrapper around HPIB commands"""
def __init__(self, address):
self._port = hpib.PrologixGpibUsb()
super(CamrasHpibDevice, self).__init__(address, self._port)
super(CamrasHpibDevice, self).__init__(address, _port)
self.__frequency = 0
Supports Markdown
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