05-13-2017 05:00 PM
Hello,
I'm trying to build a monitor to supervise temperature & humidity values changing, so I decided to get the measured values from my PLC and draw them in a LaVIEW interface using the NI OPC server that I've installed it while adding the DSC module.
I did the whole process in the bloc diagram and it worked fine for me and I've got the values displayed on my user interface from the shared variables of OPC, but when I build the installer of my application and install it in another computer then connect the same PLC I don't see any of the measured values displayed in my interface.
Any guidance or help will be appreciated.
Best regards.
05-13-2017 08:03 PM
So what exactly isn't working? What errors are you getting?
When you install the DSC Module for development it will install NI OPC Servers but creating an installer from your LabVIEW project won't include OPC Server so you may just have to install that but it's hard to tell without knowing what's not working.
05-14-2017 03:12 AM
Hello Jacobson and thank you for your reply,
That is exactly the problem, I DON'T GET ANY POPUP ERROR MESSAGE when I run my application, while making the installer I included the DSC module as additional installer and I placed the library of my shared variables in a repository also I deployed these variables while making the .EXE that I included in the installer.
It seems like the application is fine reading the shared variables but these variables are empty because it isn't get any thing from my PLC and this could be caused by OPC server.
05-22-2017 04:52 AM
das.p 已写:
Hello Jacobson and thank you for your reply,
That is exactly the problem, I DON'T GET ANY POPUP ERROR MESSAGE when I run my application, while making the installer I included the DSC module as additional installer and I placed the library of my shared variables in a repository also I deployed these variables while making the .EXE that I included in the installer.
It seems like the application is fine reading the shared variables but these variables are empty because it isn't get any thing from my PLC and this could be caused by OPC server.
I think what you need is DSC Run-Time System which is not free.