Lab::Moose::Instrument::HP3458A - HP 3458A digital multimeter
version 3.680
use Lab::Moose; my $dmm = instrument( type => 'HP3458A', connection_type => 'LinuxGPIB', connection_options => { gpib_address => 12, timeout => 10, # if not given, use connection's default timeout } ); $dmm->set_sample_event(value => 'SYN'); $dmm->set_nplc(value => 2); my $value = $dmm->get_value();
my $value = $dmm->get_value();
Read multimeter output value.
$dmm->set_nplc(value => 10); $nplc = $dmm->get_nplc();
Get/Set integration time in Number of Power Line Cycles.
$dmm->set_nrdgs(value => 2); $nrdgs = $dmm->get_nrdgs();
Get/Set number of readings taken per trigger/sample event.
$dmm->set_sample_event(value => 'SYN'); $sample_event = $dmm->get_sample_event();
Get/Set sample event.
$dmm->set_tarm_event(value => 'EXT'); $tarm_event = $dmm->get_tarm_event();
Get/Set trigger arm event.
$dmm->set_trig_event(value => 'EXT'); $trig_event = $dmm->get_trig_event();
Get/Set trigger event.
$dmm->set_end(value => 'ALWAYS'); $end = $dmm->get_end();
Get/Set control of GPIB End Or Identify (EOI) function. This driver sets this to 'ALWAYS' on startup.
This driver consumes the following roles:
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.
To install Lab::Measurement, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lab::Measurement
CPAN shell
perl -MCPAN -e shell install Lab::Measurement
For more information on module installation, please visit the detailed CPAN module installation guide.