Lab::Instrument::U2000 - Agilent U2000 series USB Power Sensor
The Lab::Instrument::U2000 class implements an interface to the U2000 series power sensors from Agilent.
my $power=new(\%options);
$value=$power->read();
Read out the current measurement value, for whatever type of measurement the sensor is currently configured. Waits for trigger.
$id=$power->id();
Returns the instruments ID string.
Valid values are MIN, MAX, NORM, DOUBLE, FAST and 1-110 (rate in Hz).
Valid values are ON and OFF.
Sets frequency for internal frequency correction (in Hz). Valid values are DEF, MIN, MAX and 1kHz to 1000GHz.
Sometimes the sensor hangs for a short amount of time. Very seldom it completely stops working. This is probably either a bug in the firmware or in the kernel driver as not even a reset of the USB port reenable communication.
Copyright 2012 Hermann Kraus
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Lab::Measurement, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lab::Measurement
CPAN shell
perl -MCPAN -e shell install Lab::Measurement
For more information on module installation, please visit the detailed CPAN module installation guide.