NAME
Lab::Moose::Instrument::KeysightE3633E - Keysight E3633E voltage/current source.
VERSION
version 3.920
SYNOPSIS
use
Lab::Moose;
my
$source
= instrument(
type
=>
'KeysightE3633E'
,
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,
mode
=>
'CURR'
,
# or 'VOLT'
);
# The source is either in 'CURR' or 'VOLT' mode.
# Step-sweep to new level.
# Stepsize and speed is given by (max|min)_units* settings.
$source
->set_level(
value
=> 9);
# Get level from device cache (without sending a query to the
# instrument):
my
$level
=
$source
->cached_level();
# Measure voltage and current (independent of used mode).
my
$current
=
$source
->get_current();
my
$voltage
=
$source
->get_voltage();
METHODS
Used roles:
source_range/source_range_query
Set/Get the output source range.
set_level
$source
->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
=
$source
->cached_level();
Get current value from device cache.
get_level
my
$current_level
=
$source
->get_level();
Query current level.
get_voltage
my
$voltage
=
$source
->get_voltage();
get_current
my
$current
=
$source
->get_current();
set_voltage
$source
->set_voltage(
$value
);
For XPRESS voltage sweep. Equivalent to set_level(value => $value)
.
sweep_to_level
Use rate limits (max_units_per_second, max_units_per_step) for sweep steps.
COPYRIGHT AND LICENSE
This software is copyright (c) 2024 by the Lab::Measurement team; in detail:
Copyright 2019 Simon Reinhardt
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.