Example Code

String Table Modbus TCP

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

    Other

  • NI Modbus Library

Code and Documents

Attachment

Description

Description-Separate-1
For one side, it takes the written table, converts it to U8, and then sends it over (U16) Modbus TCP. Finally, on the other side, a table is obtained from U16 and then converted to a String table. 
As a result, the same table that was written is obtained.



Description-Separate-2

How to Use

How-Separate-1

To run this example, you must have NI Modbus installed.
How-Separate-2

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

Contributors