Sign In

NI Network Endpoint Actors by NI - Toolkit for LabVIEW Download

Endpoint actors that pass data from peer to peer across an application boundary.

* 0 ↓488
 logo
Version3.0.0.24
ReleasedAug 13, 2021
Publisher NI
LicenseApache 2.0
LabVIEW VersionLabVIEW>=17.0
Operating System Windows, Mac, and Linux
Project links Homepage  

Description

Network Endpoints allow you to link two actors running in separate application instances. Network endpoints are protocol-agnostic; they can support a range of network protocols. Two are provided with this package: TCP/IP and Network Streams.

This package includes two types of network endpoint: Nested Endpoints and Caller Endpoints.

A Nested Endpoint is a Network Endpoint that is launched by a calling actor. The nested endpoint will forward messages it receives from its caller across the network. Any message the nested endpoint receives from across the network will be passed up to its caller. When used with a remote nested endpoint, the endpoints establish a sibling relationship between the actors.

A Caller Endpoint is a Network Endpoint that sits at the top of an actor tree. Caller endpoints launch a single nested actor that you specify. If a remote actor uses a nested endpoint to connect to a local caller endpoint, the caller endpoint's nested actor will act like a nested actor of the remote actor. Any messages sent from the nested actor to its caller will be forwarded across the network connection. Any messages received from across the network by the caller endpoint will be passed down to the nested actor.

Users can extend the package to change how messages are serialized and/or encrypt the serialized message.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Release Notes

3.0.0.24 (Aug 13, 2021)

Version 3.0 requires LV 2017 or higher.

In this build:

This package is now licensed under the Apahce License, Version 2.0.

Replaced (non-reentrant) General Error Handler.vi Network Endpoint:Receive Message.vi with (reentrant) Clear Errors.vi

Users may now specify the local IP address to use with a TCP Stream Listener, which enables support for multiple NICs.

Wrapped the flatten/unflatten functionality in TCP Stream Send Message.vi and Receive Message.vi in a class, called the Message Flattener. Users can override Message Flattener to support sending messages to non-AF or non-LabVIEW environments. Message Flattener also includes an override method, called Swap Endianness, to allow the user to change the Endianness of the packet size value. By default, it is big-endian, but some non-LabVIEW systems may require this value to be little-endian.

The packet size is now sent with a separate TCP Write, which eliminates a potentially large memory copy on the block diagram.

Fixes a bug where the Register Actor message (part of the AF Debug system) was being forwarded to the remote connection. This would result in incorrect reporting in the remote's DETT traces.

The Register Actor message was introduced in LV 2017, hence the version bump. However, the implementation can be back ported to 2015 or 2016, if required.


Install with VIPM Download Package

Note, you must have the VIPM Desktop app to install this package into LabVIEW.

Versions
Featured in

  Post an Idea   Post a Resource

Recent Posts