NAME
Lab::Connection::VISA - VISA-type connection
VERSION
version 3.761
SYNOPSIS
Ths general VISA Connection class for Lab::Bus::VISA digests VISA resource names.
This is not called directly. To make a VISA suppporting instrument use Lab::Connection::VISA, set the connection_type parameter accordingly:
$instrument = new HP34401A( connection_type => 'VISA', resource_name => 'GPIB0::14::INSTR', )
DESCRIPTION
Lab::Connection::VISA
provides a VISA-type connection with Lab::Bus::VISA using NI VISA (Lab::VISA) as backend.
It inherits from Lab::Connection.
CONSTRUCTOR
new
my $connection = new Lab::Connection::VISA(
connection_type => 'VISA',
resource_name => 'GPIB0::14::INSTR',
}
METHODS
This just falls back on the methods inherited from Lab::Connection.
config
Provides unified access to the fields in initial @_ to all the child classes. E.g.
$GPIB_Address=$instrument->Config(gpib_address);
Without arguments, returns a reference to the complete $self->Config aka @_ of the constructor.
$Config = $connection->Config();
$GPIB_Address = $connection->Config()->{'gpib_address'};
CAVEATS/BUGS
Probably few. Mostly because there's not a lot to be done here. Please report.
SEE ALSO
COPYRIGHT AND LICENSE
This software is copyright (c) 2021 by the Lab::Measurement team; in detail:
Copyright 2010 Andreas K. Huettel
2011 Andreas K. Huettel, Florian Olbrich
2012 Florian Olbrich
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.