Lab::Moose::Instrument::AMI_430 - American Magnetics magnet power supply
version 3.901
use Lab::Moose; # Constructor my $magnet_z = instrument( type => 'AMI_430', connection_type => 'Socket', connection_options => { host => '169.254.226.70' }, max_field => 1.0, max_rate => 0.1, ); $magnet_sweep = sweep( type => 'Continuous::Magnet', instrument => $magnet_z, from => -0.2, to => 0.2, interval => 1, ) Setting the maximum allowed field strength and the maximum rate are mandatory. This model allows to change the units for field strength (kG/T) and time (min/s). You can check this in the menu on the front panel. For security purposes this driver does not allow changing those critical settings.
say $magnet_z->idn();
Returns the identification string of the device. It contains the AMI model number and firmware revision code.
$magnet_z->sweep_to_field( target => 0.5, rate => 0.02 );
Checks the provided field strength and rate and starts a sweep. This function waits for the device to finish.
$magnet_z->to_zero()
Sweeps back to zero with the maximum allowed rate. This function waits for the device to finish.
This software is copyright (c) 2023 by the Lab::Measurement team; in detail:
Copyright 2023 Mia Schambeck
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.