Error 0xFFFB3412 Using Network Stream-Based LabVIEW Code in TestStand

Updated Feb 6, 2020

Reported In

Software

  • TestStand
  • LabVIEW

Issue Details

My Network Stream communication works fine in LabVIEW development system, and it also works fine if I use it in TestStand with LabVIEW, if the adapter settings in TestStand are set to LabVIEW Development Environment.

But if I use the code in TestStand with the LabVIEW Adapter set to LabVIEW Run-Time Engine, the following Error Message occurs:

LabVIEW: (Hex 0xFFFB3412) Another application is already streaming data to an endpoint in the context you specified.

Solution

If you switch your TestStand Adapter for LabVIEW from Development System to Run-Time Engine, then TestStand will create its own thread for each VI (they behave like two different executables then). To enable network stream communication between two different threads / executables on the same PC, you have to define a context in the URL syntax for each endpoint. It will look as such:

//host_name:context_name/endpoint_name

Complete the following steps to use a URL with this syntax to prompt a connection between two endpoints.

  1. Create a reader endpoint on the remote computer with the Create Network Stream Reader Endpoint function, as shown in the following figure.

  2. Create a writer endpoint on the local host with the Create Network Stream Writer Endpoint function and specify the URL of the reader endpoint with the reader url terminal, as shown in the following figure.

    Additional Information