Daniel Schröer > Lab-Instrument > Lab::Instrument::KnickS252

Download:
Lab/Lab-Instrument-2.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.0650   Source  

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 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.

syntax highlighting: