04-27-2010 04:38 PM
I want to read tags from a AB PLC. I have created my collection process and now I want to depoy it to a run time system. I have LabVIEW, DSC and NI-OPC on my development system. I have LabVIEW RTE, DSC RTM, and NI-OPC on the deployed system.
I created my application to deploy. I copied the NI-OPC definition file and it works there. I ran the application and nothing happens. I opened the distributed system manager and there isn't any server listed.
How do I deploy my library of shared variables on the deployed system?
I can add a process and go one tag at a time and add them in but this doesn't seam the best way.
What am I missing?
Thank you,
Ben
04-27-2010 11:06 PM
04-28-2010 01:13 PM
Let me add more information on this.
** Development system **
I have made an IO Server and created a library with all of the tags that I want to read. I have deployed the library and it works fine. I can look in the Distributed System Manager and see all the tags clicking along like crazy. I build my application ensuring to select the "Deploy shared variable libraries..." so that it will deploy them on the deployed system.
** Deployed system **
I have the same NI-OPC set up so I can see the variables on this system. I run the application, and open Distributed System Manager and I can see the tags inside the OPC1 server but the tags under my library name are not connected and do not display information. My application doesn't see the information either.
I have found that by right clicking the tag under my library I can edit the tag and point it to the OPC1 tag but this is long and I have to do it for every one.
I went back to the development system and used the project to deploy and get good data. Then I launch the executable application and it deployes the complied library and erases the good tags.
I think it is something in the application build, but I can not find it.
Thank you,
Ben
04-29-2010 10:55 AM
Ben 7128,
Have you tried deploying the shared variables manually via an Invoke node in your code? It would be interesting to see if your application worked correctly when deploying by that method instead of the build specifications method.
How Do I Deploy Network Shared Variables from a Compiled Executable?
Also, you may want to take a look at the following two documents as they may provide some other tips or insights into what may be going on.
Developing Portable Shared Variable Applications
Using Shared Variables in Executables
05-22-2017 04:25 AM
Ben_7128 已写:
Let me add more information on this.
** Development system **
I have made an IO Server and created a library with all of the tags that I want to read. I have deployed the library and it works fine. I can look in the Distributed System Manager and see all the tags clicking along like crazy. I build my application ensuring to select the "Deploy shared variable libraries..." so that it will deploy them on the deployed system.
** Deployed system **
I have the same NI-OPC set up so I can see the variables on this system. I run the application, and open Distributed System Manager and I can see the tags inside the OPC1 server but the tags under my library name are not connected and do not display information. My application doesn't see the information either.
I have found that by right clicking the tag under my library I can edit the tag and point it to the OPC1 tag but this is long and I have to do it for every one.
I went back to the development system and used the project to deploy and get good data. Then I launch the executable application and it deployes the complied library and erases the good tags.
I think it is something in the application build, but I can not find it.
Thank you,
Ben
I think you need to buy DSC Run-Time System.
05-22-2017 04:53 AM
Just FYI, you revived a 7 years old post, and the OP was visited the forum in 2014 last time...