The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Lab::Connection::VICP - VICP ethernet protocol connection (deprecated)

VERSION

version 3.899

SYNOPSIS

Connection class which uses the VICP ethernet protocol backend. The communication is primarily GPIB/IEEE-488 syntax.

This is not called directly. To make a GPIB suppporting instrument use Lab::Connection::VICP, set the connection_type parameter accordingly:

$instrument = new LeCroy640 ( connection_type => 'VICP', host_addr => 192.168.1.100, )

DESCRIPTION

This module belongs to a deprecated legacy module stack, frozen and not under development anymore. Please port your code to the new API; its documentation can be found on the Lab::Measurement homepage, https://www.labmeasurement.de/.

Lab::Connection::VICP provides a GPIB-type connection with the bus Lab::Bus::VICP, using GPIB over ethernet (with special GPIB-ish header packets) as a backend.

It inherits from Lab::Connection::GPIB and subsequently from Lab::Connection.

For Lab::Bus::VICP, the generic methods of Lab::Connection suffice, so only a few defaults are set: wait_status=>0, # usec; wait_query=>10, # usec; read_length=>1000, # bytes

CONSTRUCTOR

new

 my $connection = new Lab::Connection::VICP(
    host_addr => 192.168.1.100,   # or host specified by name
    host_port => 1861,            # default lecroy-vicp port
    timeout => 10,                # timeout, seconds.
 }

METHODS

This just falls back on the methods inherited from Lab::Connection.

config

Provides unified access to the fields in initial @_ to all the child classes. E.g.

Without arguments, returns a reference to the complete $self->Config aka @_ of the constructor.

 $Config = $connection->Config();
 $ipaddr = $connection->Config()->{'host_addr'};

CAVEATS/BUGS

Probably few. Mostly because there's not a lot to be done here. Please report.

SEE ALSO

COPYRIGHT AND LICENSE

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

  Copyright 2016       Charles Lane
            2017       Andreas K. Huettel
            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.