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

NAME

Lab::Measurement::Installation - Installation guide for Lab::Measurement

VERSION

version 3.620

Introduction

Since Lab::Measurement does not contain any device driver code itself, its installation is pretty straightforward. However, before you can actually use it, you will have to install a driver binding back-end, such as Lab::VISA or Linux-GPIB, plus its dependencies. Please see the documentation of these packages for more details.

Installation on Windows

  • Install Strawberry Perl. If you want to use NI-VISA, see the comments on supported perl versions in Lab::VISA::Installation

  • Install gnuplot 5 (not mandatory)

    • Download, extract and put it somewhere

    • Add the directory containing gnuplot.exe to the path: My Computer => Properties => Advanced => Environment Variables

  • Build and install. Open cmd.exe and run

     cpan -T Lab::Measurement
  • If you need the NI-VISA backend for your instruments follow Lab::VISA's installation guide

  • For Zurich Instruments devices you need to install Lab::Zhinst.

  • Have fun!

Installation on Linux

  • In case your Linux distribution provides ready-made packages, use these as far as possible. Full support for Lab::Measurement is provided, e.g., by Gentoo Linux.

  • Install cpanminus, make, gcc and gnuplot (you can use your package manager).

  • Install Lab::Measurement (as root):

     cpanm Lab::Measurement
  • If you use GPIB, you need the Linux-GPIB drivers, library and Perl bindings. See the short installation and configuration guide in Lab::Measurement::Backends.

  • If you use VXI-11/Lan and/or USBTMC connections you will need to install the Lab::VXI11 and USB::TMC distributions. The documentation of these modules contains detailed installation instructions.

  • Have fun!

Notes

If you want to install Lab::Measurement and its dependencies into your home directory, please take a look at plenv or perlbrew.

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by the Lab::Measurement team; in detail:

  Copyright 2011-2012  Andreas K. Huettel
            2016       Simon Reinhardt
            2017       Andreas K. Huettel, Simon Reinhardt

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.