Lab::Moose::Instrument::NanonisTramea - Nanonis Tramea
version 3.842
my $tramea = instrument( type => 'NanonisTramea', connection_type => 'Socket', connection_options => { host => '000.000.000.00', port => '0000', write_termchar => '' } );
my $header = $tramea->nt_header($command,$body_size,$response); Function to format Header of tcp message. C<command> refers to command name as reported in the Nanonis Tramea documentation C<body_size> refers to the size of the message body, not including the header itself. C<response> Must have value of either 0 or 1. If value is the nanonis Software will send a response according to documentation.
my %strArray = $tramea->strArrayUnpacker($element_number, $string_array);
Returns an hash that has as keys the indexes of the strings in the array and as items the strings themselves. element_number refers to the ammount of strings about to be in the array. string_array refers to the binary of the strings array.
element_number
string_array
my @int_array = $tramea->intArrayUnpacker($element_number, $int_array);
Unpacks binary array of int and returns into perl Array type. element_number refers to the expected number of elements in the array. int_array refers to the int array binary.
int_array
my $floeat32_array = $tramea->float32ArrayUnpacker($element_number, $float32_array);
Unpacks binary array of float32 and returns into perl Array type. element_number refers to the expected number of elements in the array. float32_array refers to float32 array binary.
float32_array
This software is copyright (c) 2023 by the Lab::Measurement team; in detail:
Copyright 2022 Andreas K. Huettel, Erik Fabrizzi, Simon Reinhardt 2023 Erik Fabrizzi
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.