Example Code

Stream Data Exchange

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Download All

Description

These two VIs show the speed of the exchange of multiple data in different formats (float, boolean, string) through stream over TCP/IP.
blobid1691164107663.png
 
 
 
blobid1691164589834.png

blobid1691164133500.png
 

How to Use

Open the two provided VIs, VI-1 and VI-2. Run them, and remember that the first to run must be the first to stop. 

Active/Deactivate the digital buttons in both VIs, write data string on the table from VI-1 and see how speed behaves.

Related Links

 

String Table Modbus TCP - NI Community

See the speed of the VI in the link provided before to compare the amount of data and transmission / reception speed against the sample "stream". 


 

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors