Skip to content

Commit

Permalink
Add drivers for all supported models
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Jul 29, 2022
1 parent 7480453 commit 34e667c
Show file tree
Hide file tree
Showing 9 changed files with 82 additions and 1 deletion.
5 changes: 5 additions & 0 deletions qcodes/instrument_drivers/AimTTi/AimTTi_PL601P_channels.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"""
Deprecated Module for backwards compatibility
"""

from ._AimTTi_PL_P import AimTTi, AimTTiChannel, NotKnownModel
9 changes: 9 additions & 0 deletions qcodes/instrument_drivers/AimTTi/Aim_TTi_PL068_P.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from ._AimTTi_PL_P import AimTTi


class AimTTiPL068P(AimTTi):
"""
This is the QCoDeS driver for the Aim TTi PL068-P series power supply.
"""

pass
9 changes: 9 additions & 0 deletions qcodes/instrument_drivers/AimTTi/Aim_TTi_PL155_P.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from ._AimTTi_PL_P import AimTTi


class AimTTiPL155P(AimTTi):
"""
This is the QCoDeS driver for the Aim TTi PL155-P series power supply.
"""

pass
9 changes: 9 additions & 0 deletions qcodes/instrument_drivers/AimTTi/Aim_TTi_PL303QMD_P.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from ._AimTTi_PL_P import AimTTi


class AimTTiPL303QMDP(AimTTi):
"""
This is the QCoDeS driver for the Aim TTi PL303QMD-P series power supply.
"""

pass
9 changes: 9 additions & 0 deletions qcodes/instrument_drivers/AimTTi/Aim_TTi_PL303QMT_P.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from ._AimTTi_PL_P import AimTTi


class AimTTiPL303QMTP(AimTTi):
"""
This is the QCoDeS driver for the Aim TTi PL303QMT-P series power supply.
"""

pass
9 changes: 9 additions & 0 deletions qcodes/instrument_drivers/AimTTi/Aim_TTi_PL303_P.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from ._AimTTi_PL_P import AimTTi


class AimTTiPL303P(AimTTi):
"""
This is the QCoDeS driver for the Aim TTi PL303-P series power supply.
"""

pass
9 changes: 9 additions & 0 deletions qcodes/instrument_drivers/AimTTi/Aim_TTi_PL601_P.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from ._AimTTi_PL_P import AimTTi


class AimTTiPL601(AimTTi):
"""
This is the QCoDeS driver for the Aim TTi PL601-P series power supply.
"""

pass
6 changes: 5 additions & 1 deletion qcodes/instrument_drivers/AimTTi/_AimTTi_PL_P.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@


class NotKnownModel(Exception):
"""
An Error thrown when connecting to an unknown Aim TTi model
"""

pass


Expand Down Expand Up @@ -228,7 +232,7 @@ def __init__(self, name: str, address: str, **kwargs: Any) -> None:
"PL303-P": 1,
"PL601-P": 1,
"PL303QMD-P": 2,
"PL303QMT": 3,
"PL303QMT-P": 3,
}

if (not _model in _numOutputChannels.keys()) or (_model is None):
Expand Down
18 changes: 18 additions & 0 deletions qcodes/instrument_drivers/AimTTi/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
from ._AimTTi_PL_P import AimTTiChannel, NotKnownModel
from .Aim_TTi_PL068_P import AimTTiPL068P
from .Aim_TTi_PL155_P import AimTTiPL155P
from .Aim_TTi_PL303_P import AimTTiPL303P
from .Aim_TTi_PL303QMD_P import AimTTiPL303QMDP
from .Aim_TTi_PL303QMT_P import AimTTiPL303QMTP
from .Aim_TTi_PL601_P import AimTTiPL601

__all__ = [
"AimTTiChannel",
"AimTTiPL068P",
"AimTTiPL155P",
"AimTTiPL303P",
"AimTTiPL303QMDP",
"AimTTiPL303QMTP",
"AimTTiPL601",
"NotKnownModel",
]

0 comments on commit 34e667c

Please sign in to comment.