Lab::Bus::IsoBus - Oxford Instruments ISOBUS bus
version 3.630
This is the IsoBus bus class. Typically you create it implicit through instrument creation:
my $instrument = new Lab::Instrument::IPS({ BusType => 'IsoBus', base_connection => new Lab::Bus::VISA_GPIB({ gpib_board => 0, gpib_address => 24}), isobus_addres => 2, }
$isobus->connection_new({ resource_name => $isobus_address });
Creates a new instrument handle for this bus.
The handle is usually stored in an instrument object and given to connection_read, connection_write etc. to identify and handle the calling instrument:
$InstrumentHandle = $isobus->connection_new({ resource_name => $isobus_address }); $result = $isobus->connection_read($self->InstrumentHandle(), { options });
See Lab::Instrument::Read().
Lab::Instrument::Read()
$isobus->connection_write( $InstrumentHandle, { command => $command, wait_status => $wait_status } );
Puts in front of the $command-string the isobus_adress, e.g. "@1$command". Passes the modified argument hash to the base_connection. For further information refer to the specific connection class of $base_connection.
$isobus->connection_read( $InstrumentHandle, { command => $command, read_length => $read_length, timeout => $seconds, brutal => 0/1 } );
$isobus->connection_clear( $InstrumentHandle );
Clears the specified connection $InstrumentHandle.
$isobus->connection_query( $InstrumentHandle, { command => $command, read_length => $read_length, wait_status => $wait_status, wait_query => $wait_query, brutal => 0/1 } );
Lab::Bus
Lab::Connection
and many more...
This software is copyright (c) 2018 by the Lab::Measurement team; in detail:
Copyright 2011 Andreas K. Huettel, Florian Olbrich 2012 Alois Dirnaichner, Andreas K. Huettel, David Kalok, Florian Olbrich, Stefan Geissler 2013 Stefan Geissler 2016 Simon Reinhardt 2017 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.
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.