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

NAME

Lab::Moose::Connection::Socket - Transfer IEEE 488.2 / SCPI messages over TCP

VERSION

version 3.554

SYNOPSIS

 use Lab::Moose;

 my $instrument = instrument(
     type => 'random_instrument',
     connection_type => 'Socket',
     connection_options => {host => '132.199.11.2', port => 5025},
 );

DESCRIPTION

This connection uses IO::Socket::INET to interface with the operating system's TCP stack. This works on most operating systems without installing any additional software (like NI-VISA).

It supports both newline terminated messages of arbitrary length and definite length block data, which is needed to transfer binary data from e.g. spectrum analyzers, oscilloscopes and VNAs (IEEE 488.2 Sec. 8.7.9).

COPYRIGHT AND LICENSE

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

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