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

Lab::Measurement 3.10

Lab::Bus and Lab::Connection classes

  • Initial support for the USBtmc Linux kernel driver

  • GPIB termination characters are now handled identically in LinuxGPIB and VISA_GPIB

  • New VISA_RS232 connection which takes all arguments as RS232

Lab::Instrument classes

  • HP34420A nanovoltmeter re-added

  • Many improvements in the Oxford Instruments ITC503 driver

  • Re-named the Oxford Instruments IPS12010 driver to OI_IPS, since it works with not only the IPS 120-10

  • New driver: Trinamic PD-110-42 stepper motor

Lab::Measurement classes

  • Started refactoring the keyboard handling code

Lab::Measurement 3.00 (initial release)

This section gives an overview of the most important points when you port a measurement script from the old (i.e., pre-2.9 or distributed under the name Lab::VISA) 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_".

  • Since the Lab::Instrument::Source class has been extended to cover current and voltage sources, the parameters for influencing gate protect have been renamed. Instead of "gp_max_voltage" you now have to use "gp_max_units", and analogously for all other gateprotect parameters.

  • 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.

COPYRIGHT AND LICENCE

 (c) 2011,2012 Andreas K. Hüttel