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


Lab-Instrument documentation  | view source Contained in the Lab-Instrument distribution.

Index


NAME

Top

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

SYNOPSIS

Top

    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

Top

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

Top

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

METHODS

Top

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

Top

Probably many.

SEE ALSO

Top

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

Top


Lab-Instrument documentation  | view source Contained in the Lab-Instrument distribution.