NAME

Lab::Moose::Instrument::ZI_HF2LI - Zurich Instruments HF2LI Lock-in Amplifier

VERSION

version 3.910

SYNOPSIS

use Lab::Moose;

my $hfli = instrument(
    type => 'ZI_HF2LI',
    connection_type => 'Zhinst',
    oscillator => 1, # 0 is default
    connection_options => {
        host => '122.188.12.13',
        port => 8005, # Note: The MFLI uses port 8004
    });

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

# Set time constants of first two demodulators to 0.5 sec:
$hfli->set_tc(demod => 0, value => 0.5);
$hfli->set_tc(demod => 1, value => 0.5);

# Read out demodulators:
my $xy_0 = $hfli->get_xy(demod => 0);
my $xy_1 = $hfli->get_xy(demod => 1);
say "x_0, y_0: ", $xy_0->{x}, ", ", $xy_0->{y};

METHODS

Identical to Lab::Moose::Instrument::ZI_MFLI.

COPYRIGHT AND LICENSE

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

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