Lab::Instrument::IsoBus - Oxford Instruments IsoBus device


Lab-Instrument documentation  | view source Contained in the Lab-Instrument distribution.

Index


NAME

Top

Lab::Instrument::IsoBus - Oxford Instruments IsoBus device

SYNOPSIS

Top

    use Lab::Instrument::IsoBus;

    my $isobus=new Lab::Instrument::ILM(0,1);
    my $ilm=new Lab::Instrument::ILM($isobus,$addr);

DESCRIPTION

Top

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

Top

    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

Top

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

Top

probably many

SEE ALSO

Top

Lab::Instrument =item Lab::Instrument::ILM =item and probably more...

AUTHOR/COPYRIGHT

Top


Lab-Instrument documentation  | view source Contained in the Lab-Instrument distribution.