This program adapts and uses two previous examples.
http://decibel.ni.com/content/docs/DOC-15518
http://decibel.ni.com/content/docs/DOC-12375
Using these examples, it generates and deploys a library of shared variables, then enumerates that library and sorts the variables into separate arrays by data type.
The purpose of the example is to demonstrate the ease of programmatic Shared Variable Engine control and interaction using the LabVIEW Datalogging and Supervisory control module. These tasks would be much more complex and time consuming (or even impossible) without the DSC functionality. Additionally, this method provides for greater application scalability, as it greatly reduces the difficulty in working with large quantities of variables.


This VI does not provide sorting for every datatype, but the framework is in place to allow scalability and handling more datatypes. See block diagram comments for further details.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.