Lab::Moose::Instrument::HP33120A - HP 33120A 15 MHz Arbitrary Waveform Generator, also as voltage source
version 3.901
use Lab::Moose; # Constructor my $HP = instrument( type => 'HP33120A', connection_type => 'VISA_GPIB', connection_options => { pad => 28, }, );
$HP->reset();
$HP->set_frq( value => ); The frequency can range up to 15MHz
$HP->get_frq();
$HP->set_amplitude( value => );
$HP->get_amplitude();
$HP->set_offset( value => );
$HP->get_offset();
$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.
max_units_per_step
my $current_level = $hp->cached_level();
Get current value from device cache.
my $current_level = $hp->get_level();
Query current level.
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.
To install Lab::Moose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lab::Moose
CPAN shell
perl -MCPAN -e shell install Lab::Moose
For more information on module installation, please visit the detailed CPAN module installation guide.