NAME
Lab::Instrument::KnickS252 - Knick S 252 DC source
SYNOPSIS
use Lab::Instrument::KnickS252;
my $gate14=new Lab::Instrument::KnickS252(0,11);
$gate14->set_range(5);
$gate14->set_voltage(0.745);
print $gate14->get_voltage();
DESCRIPTION
The Lab::Instrument::KnickS252 class implements an interface to the Knick S 252 dc calibrator. This class derives from Lab::Instrument::Source and provides all functionality described there.
CONSTRUCTOR
$knick=new Lab::Instrument::KnickS252($gpib_board,$gpib_addr);
# Or any other type of construction supported by Lab::Instrument.
METHODS
set_voltage
$knick->set_voltage($voltage);
get_voltage
$voltage=$knick->get_voltage();
set_range
$knick->set_range($range);
# $range is 5 or 20
# 5 is 5V
# 20 is 20V
get_range
$range=$knick->get_range();
# $range is 5 or 20
# 5 is 5V
# 20 is 20V
CAVEATS/BUGS
Probably many.
SEE ALSO
- VISA
-
The Lab::Instrument::KnickS252 class uses the VISA module (VISA).
- Lab::Instrument
-
The Lab::Instrument::KnickS252 class is a Lab::Instrument (Lab::Instrument).
- SafeSource
-
Inherits from SafeSource (SafeSource).
AUTHOR/COPYRIGHT
This is $Id: KnickS252.pm 613 2010-04-14 20:40:41Z schroeer $
Copyright 2004/2005 Daniel Schröer (http://www.danielschroeer.de)
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 143:
Non-ASCII character seen before =encoding in 'Schröer'. Assuming CP1252