The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Lab::Instrument::YokogawaGS200 - Yokogawa GS200 DC source

SYNOPSIS

    use Lab::Instrument::YokogawaGS200;
    
    my $gate14=new Lab::Instrument::YokogawaGS200(
      connection_type => 'LinuxGPIB',
      gpib_address => 22,
    );
    $gate14->set_voltage(0.745);
    print $gate14->get_voltage();

DESCRIPTION

The Lab::Instrument::YokogawaGS200 class implements an interface to the discontinued voltage and current source GS200 by Yokogawa. This class derives from Lab::Instrument::Source and provides all functionality described there.

CONSTRUCTORS

new($gpib_board,$gpib_addr)

METHODS

set_voltage($voltage)

get_voltage()

set_range($range)

    Fixed voltage mode
    2   10mV
    3   100mV
    4   1V
    5   10V
    6   30V

    Fixed current mode
    4   1mA
    5   10mA
    6   100mA

get_info()

Returns the information provided by the instrument's 'OS' command, in the form of an array with one entry per line. For display, use join(',',$yoko->get_info()); or similar.

output_on()

Sets the output switch to on.

output_off()

Sets the output switch to off. The instrument outputs no voltage or current then, no matter what voltage you set.

get_output()

Returns the status of the output switch (0 or 1).

initialize()

set_voltage_limit($limit)

set_current_limit($limit)

get_status()

Returns a hash with the following keys:

    CAL_switch
    memory_card
    calibration_mode
    output
    unstable
    error
    execution
    setting

The value for each key is either 0 or 1, indicating the status of the instrument.

CAVEATS

probably many

SEE ALSO

AUTHOR/COPYRIGHT

 (c) 2004-2006 Daniel Schröer
 (c) 2007-2010 Daniel Schröer, Daniela Taubert, Andreas K. Hüttel, and others
 (c) 2011 Florian Olbrich, Andreas K. Hüttel

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.