NAME

Lab::Moose::Instrument::Agilent33210A - Agilent 33210A Arbitrary Waveform Generator, also as voltage source

VERSION

version 3.910

SYNOPSIS

use Lab::Moose;

# Constructor
my $HP = instrument(
    type            => 'Agilent33210A',
    connection_type => 'VISA_GPIB',
    connection_options => {
        pad => 28,
    },
);

METHODS

reset

$HP->reset();

set_frq

$HP->set_frq( value =>  );

The frequency can range up to 15MHz

get_frq

$HP->get_frq();

set_amplitude

$HP->set_amplitude( value =>  );

get_amplitude

$HP->get_amplitude();

set_offset

$HP->set_offset( value =>  );

get_offset

$HP->get_offset();

set_level

$HP->set_level(value => $new_level);

Go to new level. Sweep with multiple steps if the distance between current and new level is larger than max_units_per_step.

cached_level

my $current_level = $hp->cached_level();

Get current value from device cache.

get_level

my $current_level = $hp->get_level();

Query current level.

COPYRIGHT AND LICENSE

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

Copyright 2023       Andreas K. Huettel

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.