The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

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

    my $plunger=new Lab::Instrument::Source($gates, 3);

    $plunger->set_voltage(-0.5);

DESCRIPTION

The Lab::Instrument::IOtech488 class implements an interface to the IOtech DAC488HR four-channel voltage source. This class derives from Lab::Instrument::Source and provides all functionality described there.

CONSTRUCTORS

new({})

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

METHODS

set_voltage($voltage,$channel)

get_voltage($channel)

set_range($range,$channel)

    # 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: IOtech488.pm 650 2010-04-22 19:09:27Z schroeer $

Copyright 2006-2008 Daniel Schröer (<schroeer@cpan.org>), 2009-2010 Daniel Schröer, Daniela Taubert

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 207:

Non-ASCII character seen before =encoding in 'Schröer'. Assuming CP1252