NAME

Lab::Moose::Connection::VISA - Connection back end to National Instruments' VISA library.

VERSION

version 3.700

SYNOPSIS

use Lab::Moose

my $instrument = instrument(
    type => 'random_instrument',
    connection_type => 'VISA',
    connection_options => {resource_name => $resource_name}
);

set_termchar

$connection->set_termchar(termchar => "\r");

Set the end-of-string byte

enable_read_termchar

$connection->enable_read_termchar();

Enable termination of reads when eos character is received.

METHODS

COPYRIGHT AND LICENSE

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

Copyright 2017       Simon Reinhardt
          2019       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.