The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Lab::Moose::Instrument::AMI_430 - American Magnetics magnet power supply

VERSION

version 3.901

SYNOPSIS

 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.

METHODS

idn

say $magnet_z->idn();

Returns the identification string of the device. It contains the AMI model number and firmware revision code.

sweep_to_field

$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.

to_zero

$magnet_z->to_zero()

Sweeps back to zero with the maximum allowed rate. This function waits for the device to finish.

COPYRIGHT AND LICENSE

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.