GPIB::hpe3631a 0.30 review
DownloadGPIB::hpe3631a is a Perl-GPIB module for HPE3631A power supply. SYNOPSIS use GPIB::hpe3631a; $g->GPIB::hpe3631a->new("na
|
|
GPIB::hpe3631a is a Perl-GPIB module for HPE3631A power supply.
SYNOPSIS
use GPIB::hpe3631a;
$g->GPIB::hpe3631a->new("name");
$g->output(1); # Outputs on
$g->output(0); # Outputs off
$v = $g->output; # Read output state
$g->track(1); # P25V and N25V track voltage
$g->track(0); # stop tracking
$v = $g->track; # Get tracking state
$t = $g->display;
$g->display("String");
($voltage, $current) = $g->measure(P6V) # P6V, P25V, or N25V
($voltage, $current) = $g->get(P6V) # P6V, P25V, or N25V
$g->set(P6V, $voltage, $current) # P6V, P25V, or N25V
GPIB::hpe3631a privides control for the HPE3631E bench power supply. This module works with both GPIB and serial interface modules as defined by the /etc/pgpib.conf configuration.
$g->display with no parameter returns the contents of the display. $g->display("string") sets the display to the specified string. Note the the device can only display a limited set of characters, probably best to stick with upper case captions.
$g->measure(P6V) returns a two element list representing the voltage and current at the specified output.
$g->get(P6V) returns a two element list of the voltage and current limits for te specified output.
$g->set(P6V, $v, $c) sets the current limits for the specified output.
Requirements:
Perl
GPIB::hpe3631a 0.30 keywords