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

NAME

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

SYNOPSIS

use Sunpower::Cryocooler;

REQUIRES

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

DESCRIPTION

Function library for interfacing with Sunpower Cryogenic Pumps

AUTHOR/LICENSE

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

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

Functions

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

scm($mode);

gtt() - Get Target Temperature

$tartemp = gtt();

stt() - Set Target Temperature

stt($tartemp);

gcs() - Get Command Stroke

$stroke = gcs();

scs() - Set Command Stroke

scs($stroke);

gcl() - Get Command Stroke & Limits

$limits = gcl();

endscon() - End Connection

&endscon;

devwrite() - User Inputted Command Issuer

devwrite(@commands);

-or-

devwrite <accept input from STDIN>

Changelog

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