Daniel Schröer > Lab-Instrument > Lab::Instrument::IOtech488

Download:
Lab/Lab-Instrument-1.2.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.0489   Source  

NAME ^

Lab::Instrument::IOtech488 - IOtech DAC488HR four channel voltage source

SYNOPSIS ^

    use Lab::Instrument::IOtech488;
    
    my $gate14=new Lab::Instrument::IOtech488({
        GPIB_board   => 0,
        GPIB_address => 11,
        channel      => 1,
    });
    $gate14->set_range(6);  # 2 volt unipolar
    
    $gate14->set_voltage(0.745);
    
    print $gate14->get_voltage();

DESCRIPTION ^

The Lab::Instrument::IOtech488 class implements an interface to the 7651 voltage and current source by Yokogawa. This class derives from Lab::Instrument::Source and provides all functionality described there.

CONSTRUCTORS ^

new({})

 my $gate14=new Lab::Instrument::IOtech488({
     GPIB_board   => 0,
     GPIB_address => 11,
     channel      => 1,
 });

METHODS ^

set_voltage($voltage)

get_voltage()

set_range($range)

    # Ranges
    # 1 -  1 volt bipolar
    # 2 -  2 volt bipolar
    # 3 -  5 volt bipolar
    # 4 - 10 volt bipolar
    # 5 -  1 volt unipolar
    # 6 -  2 volt unipolar
    # 7 -  5 volt unipolar
    # 8 - 10 volt unipolar

A change of range will set the output to zero!!!

get_info()

Returns the information provided by the instrument's 'U9' command.

reset()

CAVEATS ^

probably many

SEE ALSO ^

Lab::VISA
Lab::Instrument
Source

AUTHOR/COPYRIGHT ^

This is $Id$

Copyright 2006 Daniel Schröer (http://www.danielschroeer.de)

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.