NAME
Lab::Instrument::SR830::AuxOut - Aux Outputs of the Stanford Research SR830 Lock-In Amplifier
VERSION
version 3.840
SYNOPSIS
use Lab::Instrument::SR830::AuxOut
my $output = Lab::Instrument::SR830::AuxOut->new(%options, channel => 1);
DESCRIPTION
This class provides access to the four DC outputs of the SR830. You have to provide a channel
(1..4) parameter in the constructor.
To use multiple virtual instruments, which use the same physical device, you have to share the connection between the virtual instruments:
use Lab::Measurement;
# Create the shared connection.
my $connection = Connection('LinuxGPIB', {gpib_address => 8});
# Create two outputs.
my $gate = Instrument('SR830::AuxOut', {connection => $connection,
channel => 1,
gate_protect => 0});
my $bias = Instrument('SR830::AuxOut', {connection => $connection,
channel => 2,
gate_protect => 0});
You can now use $gate
and $bias
to build XPRESS Voltage Sweeps. The SR830 does not have hardware support for continuous voltage sweeps. Thus, the mode
parameter of the sweep must be set to 'step'
or 'list'
and the jump
parameter must be set to 1
. Example sweep configuration:
my $gate_sweep = Sweep('Voltage',
{
mode => 'step',
instrument => $gate,
points => [-0.1,0.1],
stepwidth => [0.001],
jump => 1,
rate => [0.001],
});
my $bias_sweep = Sweep('Voltage',
{
mode => 'step',
instrument => $bias,
points => [-0.1,0.1],
stepwidth => [0.001],
rate => [0.001],
jump => 1,
});
Methods
_set_level($voltage)
Set the output voltage. Will throw an exception, if the absolute value of $voltage
is bigger than 10.5 V.
set_voltage($voltage)
Equivalent to _set_level
.
set_level($voltage)
get_level()
Query the current output voltage.
COPYRIGHT AND LICENSE
This software is copyright (c) 2022 by the Lab::Measurement team; in detail:
Copyright 2016 Simon Reinhardt
2017 Andreas K. Huettel
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.