
Lab::Instrument::KnickS252 - Knick S 252 DC source

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();

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.

$knick=new Lab::Instrument::KnickS252($gpib_board,$gpib_addr);
# Or any other type of construction supported by Lab::Instrument.

$knick->set_voltage($voltage);
$voltage=$knick->get_voltage();
$knick->set_range($range);
# $range is 5 or 20
# 5 is 5V
# 20 is 20V
$range=$knick->get_range();
# $range is 5 or 20
# 5 is 5V
# 20 is 20V

Probably many.

The Lab::Instrument::KnickS252 class uses the VISA module (VISA).
The Lab::Instrument::KnickS252 class is a Lab::Instrument (Lab::Instrument).
Inherits from SafeSource (SafeSource).

This is $Id: KnickS252.pm 650 2010-04-22 19:09:27Z schroeer $
Copyright 2004/2005 Daniel Schröer (<schroeer@cpan.org>)
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.