11-20-2008 02:30 PM
I am looking for some advice, here is my situation:
I have am using Labview and the DSC module to create an HMI for a customer. I am connecting through OPC to a PLC, and I have access to over 1000 tags. I don't use them all at the same time, but they are in my project. I have imported them all as Network Shared Bound Variables. I originally created "Virtual Folders" to store the bound variables by data type. However, you are not allowed to view and edit them in the Multiple Variable Editor when they are in Virtual Folders. So, as per recommendation by a Labview Engineer. I converted all my Virtual Folders into "Libraries". That worked well for me as I was able to view and edit my shared variables in the multiple variable editor. But now, as I am attempting to build an application executable, I find that according to this article, I am supposed to combine all of my dependent libraries if I want my library to deploy programmatically. This will lump 1000 variables all in the same folder where they will no longer be sorted by PLC data type. It seems NI engineers and documentation are running me in circles, so I was hoping for a better way. Anybody have any experience with this sort of thing?
11-21-2008 01:02 PM
11-21-2008 07:57 PM
11-23-2008 11:28 PM
Hello,
That is a good question. I do not know what would be the best architecture for you to resolve this issue, but this is something I am very insterested in looking into. When looking through the article you linked, I was curious if you had actually received this error or if you just thought that this might be a problem for you in the future. I will do some more research on this and get back to you with the results.
11-23-2008 11:32 PM
11-24-2008 09:41 AM
11-24-2008 10:55 AM - edited 11-24-2008 10:56 AM
Is this what you are describing? I have a Library with an OPC server inside that library as well as several other libraries inside that first one with each of these separate libraries containing groups of shared variables linked to different address types on an Automation Direct PLC. When I run the program through Labview it's fine. But when I deploy, even on my development computer, no libraries deploy.
11-24-2008 11:10 AM
11-24-2008 11:26 AM
That is interesting. To be clear, when you deploy are you getting error 1 like in the article that you linked, or does it simply not work? You could definitely try to move all of the VIs into a separate library, but I do not know whether or not this will help. I am going to try to reproduce this and see what happens. I will keep you posted on my results.
11-24-2008 11:30 AM