Lab::Moose::Connection::Debug - Debug connection, printing / reading on terminal
version 3.762
use Lab::Moose; my $instrument = instrument( type => 'DummySource', connection_type => 'DEBUG' connection_options => { verbose => 0, # do not print arguments of all Write commands (default is 1). } );
Debug connection object. Print out Write commands and prompt answer for Read commands.
Write
Read
If the connection option verbose is set, output the content of all write commands to the terminal. Otherwise, do nothing.
Output the arguments of the read command to the terminal, and request a response there, which is given as result of the read.
Output the arguments of the query command to the terminal, and request a response there, which is given as result of the query.
Output "Clear called" on the terminal.
This software is copyright (c) 2021 by the Lab::Measurement team; in detail:
Copyright 2016 Simon Reinhardt 2017 Andreas K. Huettel, 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.
To install Lab::Measurement, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lab::Measurement
CPAN shell
perl -MCPAN -e shell install Lab::Measurement
For more information on module installation, please visit the detailed CPAN module installation guide.