NAME
Lab::Instrument::MagnetSupply - Base class for superconducting magnet power supply instruments
VERSION
version 3.611
Coding and calling conventions
All control of magnet power supplies is done via current values, never via field values. (We dont know where exactly the sample is anyway!)
If a field constant can be obtained from the instrument, it will be read out and used by default. If not, it has to be set on initialization, otherwise the program aborts as soon as it needs to convert something.
Persistent mode is not handled yet, i.e. the heater is left completely untouched.
All values are given in SI base units, i.e. amperes, tesla, seconds, and their derivatives. I.e., a sweep rate is given in amperes per second.
Device settings
Functions
get_fieldconstant
Returns the magnet field constant in Tesla per Ampere.
ItoB
Converts the argument in Amperes to Tesla.
BtoI
Converts the argument in Tesla to Amperes.
set_field
Takes one parameter, the target field in Tesla. Ramps the magnet to that value and stops there. Positive and negative values can be supplied; the polarity change is handled automatically.
set_current
Takes one parameter, the target current in Ampere. Ramps the magnet to that value and stops there. Positive and negative values can be supplied; the polarity change is handled automatically.
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by the Lab::Measurement team; in detail:
Copyright 2011 Andreas K. Huettel, Florian Olbrich
2012 Andreas K. Huettel
2013 Christian Butschkow
2016 Simon Reinhardt
2017 Andreas K. Huettel, Simon Reinhardt
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.