Lab::Moose::Instrument::Cryomagnetics_4G - Cryomagnetics 4G superconducting magnet power supply
version 3.901
use Lab::Moose; # Constructor my $magnet = instrument( type => 'Cryomagnetics_4G', connection_type => 'VISA::GPIB', connection_options => {'gpib_address' => 10} );
my $value = $magnet->get_imag();
Uses either Amps or kilo Gauss, depending on units setting.
my $value = $magnet->get_iout();
$magnet->set_llim(value => 10); my $value = $magnet->get_llim();
$magnet->local();
my $mode = $magnet->get_mode();
Possible return values: Shim, Manual
$magnet->set_pshtr(value => 0); my $value = $magnet->get_pshtr();
Returns 0 or 1.
$magnet->set_range(select => 1, limit => 2); # 2 Amps my $range = $magnet->get_range(select => 1);
select is in range 0,..,4.
select
$magnet->set_rate(range => 1, rate => 0.001); # 1mA / sec my $rate = $magnet->get_rate(range => 1);
range is in range 0,...5, where 5 specifies the rate in fast sweep mode. rate arg is given in Amps per second.
range
rate
$magnet->set_sweep(value => 'UP'); $magnet->set_sweep(value => 'UP FAST'); # with switch heater off my $mode = $magnet->get_sweep();
value is one off 'UP', 'UP FAST', 'DOWN', 'DOWN FAST', 'PAUSE', 'ZERO', 'LIMIT'
value
$magnet->set_ulim(value => 10); my $value = $magnet->get_ulim();
$magnet->set_units(value => 'A'); # use Amps $magnet->set_units(value => 'G'); # use kiloGauss my $units = $magnet->get_units(); # 'A' or 'G'
$magnet->set_vlim(value => 2); # 2V my $vlim = $magnet->get_vlim();
my $vmag = $magnet->get_vmag();
my $vmag = $magnet->get_vout();
This driver consumes the following roles:
This software is copyright (c) 2023 by the Lab::Measurement team; in detail:
Copyright 2022-2023 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.
To install Lab::Moose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lab::Moose
CPAN shell
perl -MCPAN -e shell install Lab::Moose
For more information on module installation, please visit the detailed CPAN module installation guide.