Example Code

Programmatically Read All Shared Variables on Network

Code and Documents

Attachment

Overview
This example VI shows a method to detect and read all the shared variables on every target of the local network.

 


Description
This VI uses property nodes for the PSP Shared Variable Engine to programmatically detect and read all the shared variables on every target on the local network.

 


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Unzip the attached folder to your computer
  2. Open the VI "Programmatically Read all Shared Variables 2012 NIVerified.vi"
  3. Run the program

 

Additional Information or References
VI Snippet

 VI Snippet.png

 

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

 

Kevin Fort
Principal Software Engineer
NI

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

Comments
Himanshu_Goyal
Active Participant
Active Participant
on

Good Job Kevin

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
Himanshu_Goyal
Active Participant
Active Participant
on

Good Job Kevin

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!