Example Code

Update Multiple Tags from PLC Using Data Sockets

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

Overview

This example shows a way to read/update multiple tags (200+) from your PLC without losing data.

 

Description

Architect your code in such a way that you can read/update multiple tags (200+) from your PLC without losing data.


Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code
1. Specify the URLs which identify the data sources to read.
2. Run the VI.

 

Additional Information or References

VI Snippet

1.png

 

 

**This document has been updated to meet the current required format for the NI Code Exchange.**

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

Contributors