Created
October 5, 2012 12:09
-
-
Save hgrecco/3839459 to your computer and use it in GitHub Desktop.
Writting a multiple interface driver in lantz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class _A33120(object): | |
"""Agilent 33120A Function/Arbitrary Waveform Generator | |
""" | |
# Here goes the code for the instrument functions that | |
# are available in *both* GPIB and RS-232 | |
class A33120Serial(_A33120, SerialDriver): | |
"""Agilent 33120A Function/Arbitrary Waveform Generator | |
RS-232 communication | |
""" | |
# Here goes the code for the instrument functions that | |
# are available *only* in RS-232 | |
class A33120GPIB(_A33120, GPIBVisaDriver): | |
"""Agilent 33120A Function/Arbitrary Waveform Generator | |
GPIB communication | |
""" | |
# Here goes the code for the instrument functions that | |
# are available *only* in GPIB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment