NAME
Lab::Moose::Instrument::Lakeshore372 - Lakeshore Model 372 Temperature Controller
VERSION
version 3.920
SYNOPSIS
my $lakeshore = instrument(
type => 'Lakeshore372' ,
connection_type => 'Socket' ,
connection_options => { host => '192.168.3.24' },
input_channel => '5' ,
);
my $temp_5 = $lakeshore ->get_T( channel => 5);
my $resistance_5 = TODO
|
Example: Configure inputs
for my $channel (1..3) {
$lakeshore ->set_inset(
channel => $channel ,
enabled => 1,
dwell => 1,
pause => 3,
curve_number => 0,
tempco => 1,
);
}
for my $channel ( 'A' , 4..16) {
$lakeshore ->set_inset(
channel => $channel ,
enabled => 0,
dwell => 1,
pause => 3,
curve_number => 0,
tempco => 1,
);
}
for my $channel (1..3) {
$lakeshore ->set_intype(
channel => $channel ,
mode => 0,
excitation => 3,
autorange => 0,
range => 1,
);
}
|
METHODS
get_T
my $temp = $lakeshore ->get_T( channel => $channel );
|
$channel
needs to be one of 'A', 1, ..., 16.
get_value
alias for get_T
.
get_sensor_units_reading
my $reading = $lakeshore ->get_sensor_units_reading( channel => $channel );
|
Get sensor units reading (in ohm) of an input channel.
get_quadrature_reading
my $imaginary_part = $lakeshore ->get_quadrature_reading(
channel => 1,
);
|
get_excitation_power_reading
my $excitation_power = $lakeshore ->get_excitation_power_reading(
channel => 1,
);
|
set_setpoint/get_setpoint
Set/get setpoint for loop 0 in whatever units the setpoint is using
$lakeshore ->set_setpoint( value => 10, loop => 0);
my $setpoint1 = $lakeshore ->get_setpoint( loop => 0);
|
set_T
alias for set_setpoint
set_heater_range/get_heater_range
$lakeshore ->set_heater_range( output => 0, value => 1);
my $range = $lakeshore ->get_heater_range( output => 0);
|
For output 0 (sample heater), value is one of 0 (off), 1, ..., 8. For outputs 1 and 2, value is one of 0 and 1.
set_heater_setup/get_heater_setup
$lakeshore ->set_heater_setup(
loop => 0,
resistance => 1500,
max_current => 0,
max_user_current => 0.1,
display => 2,
);
my %setup = $lakeshore ->get_heater_setup( loop => 0);
|
get_sample_heater_output
my $power = $lakeshore ->get_sample_heater_output();
|
Depending on setting, return either percentage of current range or power.
set_outmode/get_outmode
$lakeshore ->set_outmode(
output => 0,
mode => 3,
channel => 5,
powerup_enable => 1,
polarity => 1,
filter => 1,
delay => 1,
);
my $args = $lakeshore ->get_outmode( output => 0);
|
$lakeshore ->set_input_curve( channel => 5, value => 25);
my $curve = $lakeshore ->get_input_curve( channel => 5);
|
set_remote_mode/get_remote_mode
$lakeshore ->set_remote_mode( value => 0);
my $mode = $lakeshore ->get_remote_mode();
|
Valid entries: 0 = local, 1 = remote, 2 = remote with local lockout.
set_pid/get_pid
$lakeshore ->set_pid( loop => 0, P => 1, I => 50, D => 50)
my %PID = $lakeshore ->get_pid( loop => 0);
|
set_zone/get_zone
$lakeshore ->set_zone(
loop => 0,
zone => 1,
top => 10,
P => 25,
I => 10,
D => 20,
mout => 0,
range => 1,
rate => 1.2,
relay_1 => 0,
relay_2 => 0,
);
my %zone = $lakeshore ->get_zone( loop => 0, zone => 1);
|
set_filter/get_filter
$lakeshore ->set_filter(
channel => 5,
on => 1,
settle_time => 1,
window => 2,
);
my %filter = $lakeshore ->get_filter( channel => 5);
|
set_freq/get_freq
$lakeshore ->set_freq( channel => 0, value => 1);
my $freq = $lakeshore ->get_freq( channel => 0);
|
Allowed channels: 0 (measurement input), 'A' (control input). Allowed values: 1 = 9.8 Hz, 2 = 13.7 Hz, 3 = 16.2 Hz, 4 = 11.6 Hz, 5 = 18.2 Hz.
set_common_mode_reduction/get_common_mode_reduction
$lakeshore ->set_common_mode_reduction( value => 1);
my $cmr = $lakeshore ->get_common_mode_reduction();
|
Allowed values: 0 and 1.
set_mout/get_mout
$lakeshore ->set_mout( output => 0, value => 10);
my $mout = $lakeshore ->get_mout( output => 0);
|
set_inset/get_inset
$lakeshore ->set_inset(
channel => 1,
enabled => 1,
dwell => 1,
pause => 3,
curve_number => 1,
tempco => 1,
);
my %inset = $lakeshore ->get_inset( channel => 1);
|
set_intype/get_intype
$lakeshore ->set_intype(
channel => 1,
mode => 0,
excitation => 3,
autorange => 0,
range => 1,
cs_shunt => 0,
units => 1,
my %intype = $lakeshore ->get_intype( channel => 1);
|
curve_delete
$lakeshore ->curve_delete( curve => 21);
|
$lakeshore ->set_curve_header(
curve => 21,
name => "Germanium" ,
SN => "selfmade" ,
format => 4,
limit => 300,
coefficient => 1,
);
my %header = $lakeshore ->get_curve_header( curve => 21);
|
set_curve_point/get_curve_point
$lakeshore ->set_curve_point(
curve => 21,
index => 1,
units => 2,
temp => 0.012345,
curvature => 0,
);
my %point = $lakeshore ->get_curve_point( curve => 21, point => 1);
|
$lakeshore ->set_input_name( channel => 1, value => 'RuOx_Sample' );
my $name = $lakeshore ->get_input_name( channel => 1);
|
set_ramp/get_ramp
$lakeshore ->set_ramp(
loop => 0,
on => 1,
rate => 10e-3,
);
my %rate = $lakeshore ->get_ramp( loop => 0);
|
set_scanner/get_scanner
$lakeshore ->set_scanner(
channel => 5,
autoscan => 1,
);
my %scanner = $lakeshore ->get_scanner();
my $current_channel = $scanner {channel};
|
set_display_field/get_display_field
$lakeshore ->set_display_field(
field => 1,
input => 1,
units => 1,
);
my %field = $lakeshore ->get_display_field( field => 1);
|
set_display/get_display
$lakeshore ->set_display(
mode => 2,
num_fields => 2,
displayed_info => 1,
);
my %display = $lakeshore ->get_display();
|
Consumed Roles
This driver consumes the following roles:
- Lab::Moose::Instrument::Common
-
COPYRIGHT AND LICENSE
This software is copyright (c) 2024 by the Lab::Measurement team; in detail:
Copyright 2018 Simon Reinhardt
2020 Andreas K. Huettel, Simon Reinhardt
2021-2023 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.