The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.


Sunpower::Cryocooler - a module for interfacing with Sunpower Cryocoolers


use Sunpower::Cryocooler;


Requires Device::SerialPort or Win32::SerialPort depending on platform.


Function library for interfacing with Sunpower Cryogenic Pumps


Perl Module Sunpower::Cryocooler - Library of functions for Sunpower cryogenic pumps. Copyright (C) 2009 Stanford University, Authored by Sam Kerr

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA


10 Functions exported by default:

gct() gcm() scm() gtt() stt() gcs() scs() gcl() endscon() devwrite()

gct() - Get Current Temperature

$temp = gct();

gcm() - Get Controller Mode

$mode = gcm();

scm() - Set Controller Mode


gtt() - Get Target Temperature

$tartemp = gtt();

stt() - Set Target Temperature


gcs() - Get Command Stroke

$stroke = gcs();

scs() - Set Command Stroke


gcl() - Get Command Stroke & Limits

$limits = gcl();

endscon() - End Connection


devwrite() - User Inputted Command Issuer



devwrite <accept input from STDIN>


04-02-09 - Modified to run on Win32 (experimental!)