Lab::Connection::VISA - VISA-type connection class which uses Lab::Bus::VISA and thus NI VISA (Lab::VISA) as a backend.
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', )
Lab::Connection::VISA provides a VISA-type connection with Lab::Bus::VISA using NI VISA (Lab::VISA) as backend.
Lab::Connection::VISA
It inherits from Lab::Connection.
my $connection = new Lab::Connection::VISA( connection_type => 'VISA', resource_name => 'GPIB0::14::INSTR', }
This just falls back on the methods inherited from Lab::Connection.
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'};
Probably few. Mostly because there's not a lot to be done here. Please report.
Lab::Connection
Lab::Connection::GPIB
Copyright 2011 Florian Olbrich
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Lab::Measurement, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lab::Measurement
CPAN shell
perl -MCPAN -e shell install Lab::Measurement
For more information on module installation, please visit the detailed CPAN module installation guide.