NAME
Lab::Moose::Instrument::HP3458A - HP 3458A digital multimeter
VERSION
version 3.680
SYNOPSIS
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();
METHODS
get_value
my $value = $dmm->get_value();
Read multimeter output value.
get_nplc/set_nplc
$dmm->set_nplc(value => 10);
$nplc = $dmm->get_nplc();
Get/Set integration time in Number of Power Line Cycles.
get_nrdgs/set_nrdgs
$dmm->set_nrdgs(value => 2);
$nrdgs = $dmm->get_nrdgs();
Get/Set number of readings taken per trigger/sample event.
get_sample_event/set_sample_event
$dmm->set_sample_event(value => 'SYN');
$sample_event = $dmm->get_sample_event();
Get/Set sample event.
get_tarm_event/set_tarm_event
$dmm->set_tarm_event(value => 'EXT');
$tarm_event = $dmm->get_tarm_event();
Get/Set trigger arm event.
get_trig_event/set_trig_event
$dmm->set_trig_event(value => 'EXT');
$trig_event = $dmm->get_trig_event();
Get/Set trigger event.
get_end/set_end
$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.
Consumed Roles
This driver consumes the following roles:
COPYRIGHT AND LICENSE
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.