NAME
Lab::Instrument::IsoBus - Oxford Instruments IsoBus device
SYNOPSIS
use Lab::Instrument::IsoBus;
my $isobus=new Lab::Instrument::ILM(0,1);
my $ilm=new Lab::Instrument::ILM($isobus,$addr);
DESCRIPTION
The Lab::Instrument::IsoBus class implements an interface to the Oxford Instruments IsoBus. The IsoBus is treated as a VISA device, and can thus be attached directly at a serial port or at a GPIB gateway device. The corresponding VISA resource has to be specified at initialization.
Later, IsoBus devices attached to this IsoBus can be instantiated by passing the IsoBus as first constructor argument.
CONSTRUCTOR
my $isobus=new Lab::Instrument::IsoBus($gpibadapter,$gpibaddr);
Instantiates a new IsoBus object. All argument variants valid for the Lab::Instrument
constructor can be used. This way, an IsoBus can be attached to a GPIB gateway device or directly to a serial port.
METHODS
IsoBus_Write
$write_cnt=$isobus->IsoBus_Write($addr,$command);
Sends $command
to the device attached to this IsoBus with IsoBus address $addr
. The number of bytes actually written is returned.
IsoBus_Read
$result=$isobus->IsoBus_Read($addr,$length);
Reads at most $length
bytes from the device attached to this IsoBus with IsoBus address $addr
. The resulting string is returned.
IsoBus_valid
$is_an_isobus=$isobus->IsoBus_valid();
Returns 1.
CAVEATS/BUGS
probably many
SEE ALSO
- Lab::Instrument =item Lab::Instrument::ILM =item and probably more...
AUTHOR/COPYRIGHT
This is $Id: IsoBus.pm 613 2010-04-14 20:40:41Z schroeer $
Copyright 2010 Andreas K. Hüttel (http://www.akhuettel.de/)
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 137:
Non-ASCII character seen before =encoding in 'Hüttel'. Assuming CP1252