NAME
Lab::Moose::Instrument::YokogawaGS200 - YokogawaGS200 voltage/current source.
VERSION
version 3.761
SYNOPSIS
use Lab::Moose;
my $yoko = instrument(
type => 'YokogawaGS200',
connection_type => 'LinuxGPIB',
connection_options => {gpib_address => 15},
# mandatory protection settings
max_units_per_step => 0.001, # max step is 1mV/1mA
max_units_per_second => 0.01,
min_units => -10,
max_units => 10,
);
# Step-sweep to new level.
# Stepsize and speed is given by (max|min)_units* settings.
$yoko->set_level(value => 9);
# Get current level from device cache (without sending a query to the
# instrument):
my $level = $yoko->cached_level();
METHODS
Used roles:
- Lab::Moose::Instrument::Common
- Lab::Moose::Instrument::SCPI::Source::Function
- Lab::Moose::Instrument::LinearStepSweep
source_range/source_range_query
Set/Get the output source range.
set_level
$yoko->set_level(value => $new_level);
Go to new level. Sweep with multiple steps if the distance between current and new level is larger than max_units_per_step
.
cached_level
my $current_level = $yoko->cached_level();
Get current value from device cache.
get_level
my $current_level = $yoko->get_level();
Query current level.
set_voltage
$yoko->set_voltage($value);
For XPRESS voltage sweep. Equivalent to set_level(value => $value)
.
sweep_to_level
$yoko->sweep_to_level(target => $value, rate => $rate);
COPYRIGHT AND LICENSE
This software is copyright (c) 2021 by the Lab::Measurement team; in detail:
Copyright 2017-2018 Simon Reinhardt
2020 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.