++ed by:

1 PAUSE user
1 non-PAUSE user.

Andreas K. Hüttel
and 4 contributors


Change log for the Lab::Measurement distribution

Initial release of Lab::Measurement

This section gives an overview of the most important points when you port a measurement script from the old Lab::Instrument and Lab::Tools distribution to Lab::Measurement.

Lab::Instrument classes

  • The abbreviated way of specifying a GPIB board and address in the constructor is not supported anymore. Instead of the old

      my $hp=new Lab::Measurement::HP34401A($board, $address);

    you now have to explicitly provide

      my $hp=new Lab::Measurement::HP34401A({
            connection_type => 'LinuxGPIB', 
            gpib_board      => $board,
            gpib_address    => $address,
  • The configuration parameters "gpib_board" and "gpib_address" are now for consistency spelled all in lowercase. Your script will fail if you use the uppercase "GPIB" variant.

  • Every device now needs a configuration parameter "connection_type" (see above).

  • In general, functions that read out device values are all prefixed with "get_" now, instead of "read_".

  • SR830 functions like get_range and get_tc do not return strings anymore, but values in SI base units

Lab::Measurement class

  • The default file suffixes have been changed from "DATA" and "META" to "dat" and "meta".

  • You can not abort the scripts using Lab::Measurement with "CTRL-C" anymore. Instead, just press "q", and the script will cleanly terminate at the next measurement point. The background for this is that some device drivers cannot handle an interruption, leading to undefined hardware behaviour.


 (c) 2011 Andreas K. Hüttel