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
AUTHOR/COPYRIGHT
This is $Id: IOtech488.pm 613 2010-04-14 20:40:41Z schroeer $
Copyright 2006 Daniel Schröer (http://www.danielschroeer.de), 2009-2010 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 203:
Non-ASCII character seen before =encoding in 'Schröer'. Assuming CP1252