Moose/Instrument/Agilent34410A.pm

filter: Statementstmt 65.0% 13 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod n/a totaltotal 66.6% 16 / 24 SCAR 0.4
CC
1
Cov
65%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Moose/Instrument/OI_ILM210.pm ↑ Summary Moose/Connection/HTTP.pm »
1 package Lab::Moose::Instrument::Agilent34410A;
2 1 $Lab::Moose::Instrument::Agilent34410A::VERSION = '3.881';
3 #ABSTRACT: Agilent 34410A digital multimeter.
4  
5 1 ▶use v5.20;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7  
8 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 extends 'Lab::Moose::Instrument::HP34410A';
12  
13 around default_connection_options => sub {
14 0 ▶ my $orig = shift;
Subroutine __ANON__: not called CC=1 SCAR=6.9
15 0 my $self = shift;
16 0 my $options = $self->$orig();
17 0 my $usb_opts = { vid => 0x0957, pid => 0x0607 };
18 0 $options->{USB} = $usb_opts;
19 0 $options->{'VISA::USB'} = $usb_opts;
20 0 return $options;
21 1 };
22  
23 1 __PACKAGE__->meta()->make_immutable();
24  
25 1 1;
26  
27 __END__
28  
29 =pod
30  
31 =encoding UTF-8
32  
33 =head1 NAME
34  
35 Lab::Moose::Instrument::Agilent34410A - Agilent 34410A digital multimeter.
36  
37 =head1 VERSION
38  
39 version 3.881
40  
41 =head1 DESCRIPTION
42  
43 Alias for L<Lab::Moose::Instrument::HP34410A> with adjusted USB vendor/product IDs.
44  
45 =head1 COPYRIGHT AND LICENSE
46  
47 This software is copyright (c) 2023 by the Lab::Measurement team; in detail:
48  
49 Copyright 2017-2018 Simon Reinhardt
50 2020 Andreas K. Huettel
51  
52  
53 This is free software; you can redistribute it and/or modify it under
54 the same terms as the Perl 5 programming language system itself.
55  
56 =cut
« Moose/Instrument/OI_ILM210.pm ↑ Summary Moose/Connection/HTTP.pm »