NAME
Lab::Instrument::SR830::AuxIn - Aux Inputs of the Stanford Research SR830 Lock-In Amplifier
VERSION
version 3.792
SYNOPSIS
use Lab::Instrument::SR830::AuxIn
my $multimeter = Lab::Instrument::SR830::AuxIn->new(%options, channel => 1);
print $multimeter->get_value();
DESCRIPTION
This class provides access to the four DC inputs 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});
# Array of instrument objects. Each element belongs to one of the four
# channels.
my @inputs;
for my $channel (1..4) {
$inputs[$channel] = Instrument('SR830::AuxIn', {
connection => $connection,
channel => $channel,
});
}
for my $channel (1..4) {
say "channel $channel: ", $inputs[$channel]->get_value();
}
Methods
get_value()
Return the input voltage.
COPYRIGHT AND LICENSE
This software is copyright (c) 2021 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.