Skip to content
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
293637a
Merge branch 'master' into ATS9870-dev-branch
nataliejpg Jul 26, 2016
c0a1dff
Merge branch 'ATS9870-dev-branch' of https://github.com/qdev-dk/Qcode…
nataliejpg Jul 28, 2016
6e85d14
Merge branch 'ATS9870-dev-branch' of https://github.com/qdev-dk/Qcode…
nataliejpg Jul 28, 2016
18aa323
feature: initial commit for ATS9360 alazar driver.
nataliejpg Aug 2, 2016
256b35a
style: Remove some print statememnts from ATS.py
nataliejpg Aug 2, 2016
9b0d84b
tidy up ATS.py comments and create test acquisition conroller for ATS…
nataliejpg Aug 3, 2016
5f02af0
more edits on acquisition_controller
nataliejpg Aug 4, 2016
b242aa0
First steps to filter acquisition controller and docstrings
nataliejpg Aug 8, 2016
3a27d43
feat: variety of QDev acquisition controllers created, not complete
nataliejpg Aug 11, 2016
23cde4e
refactor/style: comments and docstings tidy up and temporary test ref…
nataliejpg Aug 15, 2016
f29f4ab
Merge with master and fix conflicts
nataliejpg Oct 17, 2016
e4dcdfd
fix: ATS closer to working for 9360
nataliejpg Oct 25, 2016
1cf0080
feature: basic yoko driver added
nataliejpg Oct 27, 2016
4b7b47f
comments and small tidy
nataliejpg Oct 31, 2016
f129daa
remove reset on initialisation
nataliejpg Nov 19, 2016
39c27ce
Merge branch 'master' into driver/yokogawaGS200
nataliejpg Nov 19, 2016
678f310
pep8
nataliejpg Nov 19, 2016
71b0b24
deleting the mess that was me branching off of my ATS9360 dev branch …
nataliejpg Nov 19, 2016
51d95ad
replace accidentally deleted alazar example notebook
nataliejpg Nov 19, 2016
d1f54b8
add init docstring
nataliejpg Nov 24, 2016
8c3f516
Merge branch 'master' into driver/yokogawaGS200
giulioungaretti Nov 25, 2016
dc1a02a
move docsting to be on class level
nataliejpg Nov 30, 2016
fb5d95b
Merge branch 'master' into driver/yokogawaGS200
giulioungaretti Feb 9, 2017
a2ec96c
Merge branch 'master' into driver/yokogawaGS200
giulioungaretti Feb 9, 2017
ebbe2ab
Remove unused reset arg
giulioungaretti Feb 10, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions qcodes/instrument_drivers/yokogawa/GS200.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
from qcodes.instrument.visa import VisaInstrument
from qcodes.utils.validators import Numbers


class GS200(VisaInstrument):
"""
This is the qcodes driver for the Yokogawa GS200 voltage and current source

Args:
name (str): What this instrument is called locally.
address (str): The GPIB address of this instrument
kwargs (dict): kwargs to be passed to VisaInstrument class

TODO:(nataliejpg)
- add current functionality (mode settings)
"""

def __init__(self, name, address, **kwargs):
super().__init__(name, address, **kwargs)

self.add_parameter('voltage',
label='Voltage',
units='V',
get_cmd=':SOURce:LEVel?',
set_cmd=':SOURce:LEVel:AUTO {:.4f}',
get_parser=float,
vals=Numbers(-10, 10))

self.add_function('reset', call_cmd='*RST')

self.initialise()
self.connect_message()

def initialise(self):
self.write(':SYST:DISP ON')
self.write(':SOUR:FUNC VOLT')
self.write(':SOUR:PROT:CURR MIN')
self.write(':OUTP:STAT ON')