NAME

Lab::Moose::Instrument::NanonisTramea - Nanonis Tramea

VERSION

version 3.850

SYNOPSIS

my $tramea = instrument(
    type => 'NanonisTramea',
    connection_type => 'Socket',
    connection_options => { host => '000.000.000.00',
                            port => '0000',
                            write_termchar => ''
                           }
);

FORMATTERS Collections of functions to pack or unpack numbers and srings for TCP comunication

nt_string

nt_int

nt_uint16

nt_uint32

nt_float32

nt_float64

nt_header

  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.

_end_of_com

strArrayUnpacker

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.

intArrayUnpacker

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.

float32ArrayUnpacker

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.

1DSweep

3DSwp

3DSwp.SwpChannel

3DSwp.StepChanne1

3DSwp.StepChannel2

3DSwp.Timing

3DSwp.FilePathsGet

Signals

User

Digita Lines

Utilities

File

High Level COM

Class Variables

Class Methods

COPYRIGHT AND LICENSE

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.