Lab::Instrument::MagnetSupply - Base class for superconducting magnet power supply instruments
version 3.554
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.
Returns the magnet field constant in Tesla per Ampere.
Converts the argument in Amperes to Tesla.
Converts the argument in Tesla to Amperes.
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.
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.
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
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Lab::Measurement, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lab::Measurement
CPAN shell
perl -MCPAN -e shell install Lab::Measurement
For more information on module installation, please visit the detailed CPAN module installation guide.