Lab::Instrument::YokogawaGS200 - Yokogawa GS200 DC source
version 3.554
use Lab::Instrument::YokogawaGS200; my $gate14=new Lab::Instrument::YokogawaGS200( connection_type => 'LinuxGPIB', gpib_address => 22, function => 'VOLT', level => 0.4, ); $gate14->set_voltage(0.745); print $gate14->get_voltage();
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.
HASH is a list of tuples given in the format
key => value,
please supply at least the configuration for the connection: connection_type => "LinxGPIB" gpib_address =>
you might also want to have gate protect from the start (the default values are given):
gate_protect => 1, gp_equal_level => 1e-5, gp_max_units_per_second => 0.05, gp_max_units_per_step => 0.005, gp_max_step_per_second => 10, gp_max_units_per_second => 0.05, gp_max_units_per_step => 0.005, max_sweep_time=>3600, min_sweep_time=>0.1,
Additinally there is support to set parameters for the device "on init":
function => undef, # 'VOLT' - voltage, 'CURR' - current range => undef, level => undef, output => undef,
If those values are not specified, they are read from the device.
$src->sweep_to_level($lvl,$time)
Sweep to the level $lvl in $time seconds.
$src->set_voltage($voltage)
Sets the output voltage to $voltage. Returns the newly set voltage.
Returns the currently set $voltage. The value is read from the driver cache by default. Provide the option
device_cache => 1
to read directly from the device.
$src->set_current($current)
Sets the output current to $current. Returns the newly set current.
Returns the currently set $current. The value is read from the driver cache by default. Provide the option
$src->set_level($lvl)
Sets the level $lvl in the current operation mode.
$lvl = $src->get_level()
Returns the currently set level. Use
to enforce a reading directly from the device.
Fixed voltage mode 10E-3 10mV 100E-3 100mV 1E+0 1V 10E+0 10V 30E+0 30V Fixed current mode 1E-3 1mA 10E-3 10mA 100E-3 100mA 200E-3 200mA Please use the format on the left for the range command.
Runs a program stored on the YokogawaGS200. If no prgram name is given, the currently loaded program is executed.
Pauses the currently running program.
Continues the paused program.
Sets the source function. The Yokogawa supports the values
"CURR" for current mode and "VOLT" for voltage mode.
Returns the newly set source function.
Sets a voltage limit to protect the device. Returns the new voltage limit.
See set_voltage_limit.
Sets the output switch to on and returns the new value of the output status.
Sets the output switch to off. The instrument outputs no voltage or current then, no matter what voltage you set. Returns the new value of the output status.
Queries the error code from the device. This is a very useful thing to do when you are working remote and the source is not responding.
probably many
Lab::Instrument
The YokogawaGP200 class is a Lab::Instrument (Lab::Instrument).
Lab::Instrument::Source
The YokogawaGP200 class is a Source (Lab::Instrument::Source)
This software is copyright (c) 2017 by the Lab::Measurement team; in detail:
Copyright 2005-2006 Daniel Schroeer 2009 Andreas K. Huettel, Daniela Taubert 2010 Andreas K. Huettel, Daniel Schroeer 2011 Andreas K. Huettel, David Kalok, Florian Olbrich 2012 Alois Dirnaichner, Andreas K. Huettel, Florian Olbrich 2013 Andreas K. Huettel, Christian Butschkow 2014 Alois Dirnaichner, Christian Butschkow 2015 Alois Dirnaichner 2016 Simon Reinhardt 2017 Andreas K. Huettel
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Lab::Measurement, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lab::Measurement
CPAN shell
perl -MCPAN -e shell install Lab::Measurement
For more information on module installation, please visit the detailed CPAN module installation guide.