Table Of Contents

Determining Endpoint Efficiency

Last Modified: September 9, 2019

Use the Network Streams Properties node to display endpoint information. This node helps you determine how effectively data is delivered over the stream.

Complete the following steps to determine the efficiency of an endpoint.
  1. Place a Network Stream Properties node inside the writer loop and wire it to the writer endpoint output.
  2. Display the Buffer Size and the Available Elements for Writing properties on the Network Stream Properties node.
  3. Add a Subtract node to the diagram.
  4. Wire the Buffer Size output of the Network Stream Properties node to the x input of the Subtract node.
  5. Wire the Available Elements for Writing output of the Network Stream Properties node to the y input of the Subtract node.
  6. Add an indicator to the Subtract node to obtain the number of elements in the buffer of the writer endpoint.

The number of elements in the buffer indicates how efficiently an endpoint works. If the writer application is faster than the reader application, the write buffer will fill up. If the reader application is faster than the writer application, the read node will empty and then timeout as it waits for new data. To fix either scenario, change the endpoint buffer size to increase or decrease the number of elements.


Recently Viewed Topics