NAME
Lab::Moose::Instrument::HP33120A - HP 33120A 15 MHz Arbitrary Waveform Generator, also as voltage source
VERSION
version 3.881
SYNOPSIS
use Lab::Moose;
# Constructor
my $HP = instrument(
type => 'HP33120A',
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) 2023 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.