NAME
Lab::Instrument::Lakeshore340 - Lakeshore 340 temperature controller
VERSION
version 3.751
SYNOPSIS
use Lab::Measurement;
my $lake = Instrument('Lakeshore340', {
connection_type => ...,
gpib_address => ...
});
my $temp = $lake->get_T({channel => 'C'});
$lake->set_T({value => 5.5, loop => 1});
DESCRIPTION
The Lab::Instrument::Lakeshore340 class implements an interface to the Lakeshore 340 AC Resistance Bridge.
For use in XPRESS temperature sweeps, see the example script examples/XPRESS/lakeshore340_sweep.pl.
METHODS
get_T
$t = $lake->get_T(<$channel>);
Reads temperature in Kelvin (only possible if temperature curve is available, otherwise returns zero).
- $channel
-
CHANNEL is an optinal parameter to select the sensor channel (A/B/C/D) for the measurement. If not defined the default channel 'A' will be selected.
get_R
$t = $lake->get_R(<$channel>);
Reads resistance in Ohm.
- $channel
-
CHANNEL is an optinal parameter to select the sensor channel (A/B/C/D) for the measurement. If not defined the default channel 'A' will be selected.
set_T
$sp = $lake->set_T($setpoint, <$loop>);
Set new temperature SETPOINT for temperature control loop $loop. Returns the new setpoint. If no parameters are given, the currently valid SETPOINT will be returned.
- $setpoint
-
New temperature Setpoint.
- $loop
-
Optional prameter to select the temperature control loop for which the new setting will be valid. If not defined the default value $loop = 1 will be selected. Possible values are '1' and '2'.
.
set_range
$heater_range = $lake->set_range($range);
Set the HEATER RANGE.
.
set_input_curve
$lake->set_input_curve($channel, $curve);
Set for SENSOR CHANNEL $channel the resistance-to-temperatur CURVE with the internal storage number $curve.
- $channel
-
CHANNEL selects the SENSOR CHANNEL and can be 'A' or 'B'.
- $curve
-
CURVE reverse to one ov the internally stored resistance-to-temperatur CURVES and can be 0 .. 41.
.
set_PID
@PID = $lake->set_PID($P,$I,$D);
Set new values for the PID temperature control circuit.
- $P
-
The PROPORTIONAL term, also called gain must have a value greater then zero for the control loop to operate. It's maximum value is 1000.
- $I
-
The INTEGRAL term looks at error over time to build the integral contribution to the output. Values are 0.1 ... 1000.
- $D
-
The DERIVATIVE term acts aon the change in error with time to make its contribution to the output. Values: 0 ... 200.
.
config_sweep
$lake->config_sweep($setpoint, $rate);
Predefine a temperature sweep.
- $setpoint
-
Predefine the temperature target setpoint for a temperatue sweep. Values 0 .. 300 K.
- $rate
-
Predefine sweep rate for a temperature sweep. Values 0.1 ... 100 K/minute.
.
trg
$lake->trg();
Start a predefined temperature sweep.
halt
$lake->halt();
Stop running temperature sweep.
active
$lake->active();
Returns 1 if a temperature sweep is running and 0 if not.
wait
$lake->wait();
Wait until the currently active temperature sweep has been finished.
id
$id=$sr780->id();
Returns the instruments ID string.
.
CAVEATS/BUGS
probably many
.
SEE ALSO
COPYRIGHT AND LICENSE
This software is copyright (c) 2021 by the Lab::Measurement team; in detail:
Copyright 2013-2014 Christian Butschkow
2016 Simon Reinhardt
2017 Andreas K. Huettel, Simon Reinhardt
2019 Simon Reinhardt
2020 Andreas K. Huettel
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.