11-10-2015
06:46 AM
- last edited on
10-15-2025
09:10 AM
by
Content Cleaner
I created a LabVIEW project which uses Network-Published Shared Variables to act an OPC Server.
This approach is described in some KBs or tutorials on NI website (for example here and here).
This works as expected but now I need to create documentation for my customer to describe how to interface to my variables inside the OPC server. I think I should describe which OPC item is available, with its name, data type, meaning.
I'm not an expert on this kind of docs, so I ask:
11-10-2015 10:40 AM
If you put your OPC items into a library, you can "export" to a simple csv file.
The .csv file is self-documenting, with the variable name, data type, etc.. all information for each variable.
Also, you can do the reverse opertion.
If you create csv file with variable names, you can import them into a library.
here is a sample library and shared variables
and here is the corresponding csv file:
You right-click on the library in your project to see the import / export options
11-11-2015 01:22 AM
Thanks for the info, but in my project I create the shared variable dynamically.
Is there a way to generate the same info from inside the "NI Distributed System Manager" where I see the variables while the application is running?
11-16-2015 08:50 AM
Why do not to try to generate that information in a report automatically with LabVIEW?
Since you use the dynamically creation I think is the best solution.
Have a nice day.