The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Lab::Instrument::KnickS252 - a 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.

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 85 2005-11-10 23:35:43Z 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 136:

Non-ASCII character seen before =encoding in 'Schröer'. Assuming CP1252