NAME

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

VERSION

version 3.780

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) 2021 by the Lab::Measurement team; in detail:

Copyright 2017       Simon Reinhardt
          2019       Simon Reinhardt
          2020       Andreas K. Huettel

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