NAME
Lab::Connection::IsoBus - IsoBus connection class which uses Lab::Bus::IsoBus as a backend.
SYNOPSIS
This is not called directly. To make an Isobus instrument use Lab::Connection::IsoBus, set the connection_type parameter accordingly:
$instrument = new ILM210( connection_type => 'IsoBus', isobus_address => 3, )
DESCRIPTION
Lab::Connection::IsoBus
provides a connection with Lab::Bus::IsoBus, transparently handled via a pre-existing bus and connection object (e.g. serial or GPIB).
It inherits from Lab::Connection.
CONSTRUCTOR
new
my $connection = new Lab::Connection::IsoBus(
connection_type => 'IsoBus',
isobus_address => 3,
}
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.
$IsoBus_Address=$instrument->Config(isobus_address);
Without arguments, returns a reference to the complete $self->Config aka @_ of the constructor.
$Config = $connection->Config();
$IsoBus_Address = $connection->Config()->{'isobus_address'};
CAVEATS/BUGS
Probably few. Mostly because there's not a lot to be done here. Please report.
SEE ALSO
AUTHOR/COPYRIGHT
Copyright 2011 Andreas K. Hüttel
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.