NAME

Lab::Moose::Instrument::ZI_MFIA - Zurich Instruments MFIA Impedance Analyzer.

VERSION

version 3.682

SYNOPSIS

use Lab::Moose;

my $mfia = instrument(
    type => 'ZI_MFIA',
    connection_type => 'Zhinst',
    connection_options => {
        host => '132.188.12.13',
        port => 8004,
    });

$mfia->set_frequency(value => 10000);

# Get impedance sample
my $sample = $mfia->get_impedance_sample();
my $real = $sample->{realz};
my $imag = $sample->{imagz};
my $parameter_1 = $sample->{param0};
my $parameter_2 = $sample>{param1};

METHODS

Supports all methods provided by Lab::Moose::Instrument::ZI_MFLI.

get_impedance_sample

my $sample = $mfia->get_impedance_sample(timeout => $timeout);
# keys in $sample: timeStamp, realz, imagz, frequency, phase, flags, trigger,
# param0, param1, drive, bias

Return impedance sample as hashref. $timeout argument is optional.

COPYRIGHT AND LICENSE

This software is copyright (c) 2019 by the Lab::Measurement team; in detail:

Copyright 2017       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.