Lab::Moose::Instrument::ABB_TRMC2 - ABB TRMC2 temperature controller
version 3.831
use Lab::Moose; my $trmc = instrument( type => 'ABB_TRMC2' ); my $temp = $trmc->get_T();
Warning: Due to the rather unique (and silly) way of device communication, the TRMC2 driver does not use the connection layer.
$trmc->set_T(value => 0.1);
Program the TRMC to regulate the temperature towards a specific value (in K). The function returns immediately; this means that the target temperature most likely has not been reached yet.
Possible values are in the range [min_setpoint, max_setpoint], by default [0.02, 1.0].
$trmc->get_T();
This is a shortcut for reading out temperature channel 5, typically the mixing chamber temperature.
TODO: Which channel is typically used for the control loop here?
Checks input and output buffer for TRMC2 commands and tests the file communication.
Unmounts, i.e., releases control of the TRMC
Switch the Heater Control (The coupling heater and set point NOT the heater switch in the main menu); 1 on, 0 off
What does this precisely do?
my $target = $trmc->TRMC2_get_SetPoint();
Return the current setpoint of the TRMC2 in Kelvin.
$trmc->TRMC2_set_SetPoint(0.1);
What does this do?
Read out all sensor channels.
my $t = $trmc->TRMC2_get_T($channel);
Reads out temperature of a sensor channel.
Sensor number: 1 Heater 2 Output 3 Sample 4 Still 5 Mixing Chamber 6 Cernox
my $r = $trmc->TRMC2_get_R($channel);
Reads out resistance of a sensor channel.
my ($r, $t) = $trmc->TRMC2_get_RT();
Reads out resistance and temperature simultaneously.
Reads Heater Batch Job
$trmc->TRMC2_Set_T_Sweep(SetPoint, Sweeprate, Holdtime)
Programs the built in temperature sweep. After Activation it will sweep from the current temperature to the set temperature with the given sweeprate. The Sweep can be started with TRMC2_Start_Sweep(1).
Variables: SetPoint in K, Sweeprate in K/Min, Holdtime in s (defaults to 0)
$trmc->TRMC2_Start_Sweep(1);
Starts (1) / stops (0) the sweep --- provided the heater in TRMC2 window is turned ON. At a sweep stop the power is left on.
Reads out all channels and values and returns an array
Reads out the active channel (?)
Stops the sweep and the heater control
TRMC2_Write($cmd, $wait_write=$WAIT)
Sends a command to the TRMC and will wait $wait_write.
TRMC2_Query($cmd, $wait_query=$WAIT)
Sends a command to the TRMC and will wait $wait_query sec long and returns the result.
Replace "," in a number with "." (yay for French hardware!)
Replace "." in a number with "," (yay for French hardware!)
This driver consumes no roles.
This software is copyright (c) 2022 by the Lab::Measurement team; in detail:
Copyright 2011 Andreas K. Huettel, Florian Olbrich 2012 Alois Dirnaichner, Andreas K. Huettel 2013 Alois Dirnaichner 2016 Simon Reinhardt 2017 Andreas K. Huettel, Simon Reinhardt 2020 Andreas K. Huettel 2021 Andreas K. Huettel, 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.
To install Lab::Measurement, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lab::Measurement
CPAN shell
perl -MCPAN -e shell install Lab::Measurement
For more information on module installation, please visit the detailed CPAN module installation guide.