| 1 | package Lab::Instrument::LabViewHeater; | ||||||||||||||||||||
| 2 | #ABSTRACT: ????? | ||||||||||||||||||||
| 3 | 1 | $Lab::Instrument::LabViewHeater::VERSION = '3.881'; | |||||||||||||||||||
| 4 | 1 | ▶ | use v5.20; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 5 | |||||||||||||||||||||
| 6 | 1 | ▶ | use strict; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 7 | 1 | ▶ | use warnings; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 8 | 1 | ▶ | use Lab::Instrument; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 9 | 1 | ▶ | use IO::File; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 10 | 1 | ▶ | use Time::HiRes qw/usleep/; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 11 | 1 | ▶ | use Time::HiRes qw/sleep/; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 12 | |||||||||||||||||||||
| 13 | 1 | our @ISA = ("Lab::Instrument"); | |||||||||||||||||||
| 14 | |||||||||||||||||||||
| 15 | 1 | our %fields = ( supported_connections => ['Socket'], ); | |||||||||||||||||||
| 16 | |||||||||||||||||||||
| 17 | sub new { | ||||||||||||||||||||
| 18 | 0 | ▶ | my $proto = shift; | ||||||||||||||||||
|
Subroutine
new: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||||||||||||
| 19 | 0 | ▶ | my $class = ref($proto) || $proto; | ||||||||||||||||||
|
Condition0%0/3
ref $proto || $proto
MC/DC0%0/2
ref $proto || $proto
ref $proto
$proto
Truth table0%0/3
A || B
A= ref $protoB= $proto
| |||||||||||||||||||||
| 20 | 0 | my $self = $class->SUPER::new(@_); | |||||||||||||||||||
| 21 | 0 | $self->${ \( __PACKAGE__ . '::_construct' ) }(__PACKAGE__); | |||||||||||||||||||
| 22 | |||||||||||||||||||||
| 23 | 0 | return $self; | |||||||||||||||||||
| 24 | } | ||||||||||||||||||||
| 25 | |||||||||||||||||||||
| 26 | sub set_T { | ||||||||||||||||||||
| 27 | 0 | ▶ | my $self = shift; | ||||||||||||||||||
|
Subroutine
set_T: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||
| 28 | 0 | my $set_T = shift; | |||||||||||||||||||
| 29 | 0 | my $command = sprintf( "SET_T %f", $set_T ); | |||||||||||||||||||
| 30 | 0 | my $result = $self->query($command); | |||||||||||||||||||
| 31 | 0 | return $result; | |||||||||||||||||||
| 32 | } | ||||||||||||||||||||
| 33 | |||||||||||||||||||||
| 34 | sub get_T0 { | ||||||||||||||||||||
| 35 | 0 | ▶ | my $self = shift; | ||||||||||||||||||
|
Subroutine
get_T0: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||
| 36 | 0 | my $result = $self->query("GET_T0"); | |||||||||||||||||||
| 37 | 0 | return $result; | |||||||||||||||||||
| 38 | } | ||||||||||||||||||||
| 39 | |||||||||||||||||||||
| 40 | sub get_T { | ||||||||||||||||||||
| 41 | 0 | ▶ | my $self = shift; | ||||||||||||||||||
|
Subroutine
get_T: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||
| 42 | 0 | my $result = $self->query("GET_T"); | |||||||||||||||||||
| 43 | 0 | return $result; | |||||||||||||||||||
| 44 | } | ||||||||||||||||||||
| 45 | |||||||||||||||||||||
| 46 | sub get_mean_T { | ||||||||||||||||||||
| 47 | 0 | ▶ | my $self = shift; | ||||||||||||||||||
|
Subroutine
get_mean_T: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||
| 48 | 0 | my $result = $self->query("GET_MEAN_T"); | |||||||||||||||||||
| 49 | 0 | return $result; | |||||||||||||||||||
| 50 | } | ||||||||||||||||||||
| 51 | |||||||||||||||||||||
| 52 | sub get_sigma_T { | ||||||||||||||||||||
| 53 | 0 | ▶ | my $self = shift; | ||||||||||||||||||
|
Subroutine
get_sigma_T: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||
| 54 | 0 | my $result = $self->query("GET_SIGMA_T"); | |||||||||||||||||||
| 55 | 0 | return $result; | |||||||||||||||||||
| 56 | } | ||||||||||||||||||||
| 57 | |||||||||||||||||||||
| 58 | sub get_max_dT { | ||||||||||||||||||||
| 59 | 0 | ▶ | my $self = shift; | ||||||||||||||||||
|
Subroutine
get_max_dT: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||
| 60 | 0 | my $result = $self->query("GET_MAX_dT"); | |||||||||||||||||||
| 61 | 0 | return $result; | |||||||||||||||||||
| 62 | } | ||||||||||||||||||||
| 63 | |||||||||||||||||||||
| 64 | # returns two boolean bits: first bit is SETPOINT_REMOTE, second bit is PID_ON | ||||||||||||||||||||
| 65 | sub get_mode { | ||||||||||||||||||||
| 66 | 0 | ▶ | my $self = shift; | ||||||||||||||||||
|
Subroutine
get_mode: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||
| 67 | 0 | my $result = $self->query("GET_MODE"); | |||||||||||||||||||
| 68 | 0 | return $result; | |||||||||||||||||||
| 69 | } | ||||||||||||||||||||
| 70 | |||||||||||||||||||||
| 71 | sub set_mode { | ||||||||||||||||||||
| 72 | 0 | ▶ | my $self = shift; | ||||||||||||||||||
|
Subroutine
set_mode: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||
| 73 | 0 | my $remote = shift; | |||||||||||||||||||
| 74 | 0 | my $pid = shift; | |||||||||||||||||||
| 75 | 0 | my $result = $self->query("SET_MODE $remote,$pid"); | |||||||||||||||||||
| 76 | 0 | return $result; | |||||||||||||||||||
| 77 | } | ||||||||||||||||||||
| 78 | |||||||||||||||||||||
| 79 | 1 | 1; | |||||||||||||||||||
| 80 | |||||||||||||||||||||
| 81 | __END__ | ||||||||||||||||||||
| 82 | |||||||||||||||||||||
| 83 | =pod | ||||||||||||||||||||
| 84 | |||||||||||||||||||||
| 85 | =encoding UTF-8 | ||||||||||||||||||||
| 86 | |||||||||||||||||||||
| 87 | =head1 NAME | ||||||||||||||||||||
| 88 | |||||||||||||||||||||
| 89 | Lab::Instrument::LabViewHeater - ????? | ||||||||||||||||||||
| 90 | |||||||||||||||||||||
| 91 | =head1 VERSION | ||||||||||||||||||||
| 92 | |||||||||||||||||||||
| 93 | version 3.881 | ||||||||||||||||||||
| 94 | |||||||||||||||||||||
| 95 | =head1 COPYRIGHT AND LICENSE | ||||||||||||||||||||
| 96 | |||||||||||||||||||||
| 97 | This software is copyright (c) 2023 by the Lab::Measurement team; in detail: | ||||||||||||||||||||
| 98 | |||||||||||||||||||||
| 99 | Copyright 2012 David Kalok | ||||||||||||||||||||
| 100 | 2016 Simon Reinhardt | ||||||||||||||||||||
| 101 | 2017 Andreas K. Huettel | ||||||||||||||||||||
| 102 | 2020 Andreas K. Huettel | ||||||||||||||||||||
| 103 | |||||||||||||||||||||
| 104 | |||||||||||||||||||||
| 105 | This is free software; you can redistribute it and/or modify it under | ||||||||||||||||||||
| 106 | the same terms as the Perl 5 programming language system itself. | ||||||||||||||||||||
| 107 | |||||||||||||||||||||
| 108 | =cut | ||||||||||||||||||||