03-26-2009 05:10 PM
I have a working lab view VI that uses the Data Socket Read Function Block to communicate to a modbus device usinf NI Opc Servers. When I put this VI into a project and build it into an executable I can run it on another PC but the communications do not work. I have NI Opc installed on that computer and can tell the communications are working using quick client but it will not connect to my VI. I am probably missing a step but if anyone could help that would be great.
Thanks
03-27-2009 05:43 PM
Tachappy;
You need to make sure that you are using the correct version of the LabVIEW runtime engine, and OPC servers
What Version of LV are you using?
Does the executable run on your development machine ?
What version of the runtime engine are you using for the executable?
Hunter
03-30-2009 07:59 AM
Thanks for the reply.
This project does run on my development machine.
I am running LabView 8.2
The runtime installed on the remote machine is version 8.2.1
The executable does run on my development machine and I copy the entire folder over to the remote machine.
I am running the newest NI OpcServers V4.27403.1 and the strange thing is that I can start an OPC Quick Client and everything reads OK. For some reason it just dosen't transfer through to the LabView program.
Thanks again
03-31-2009 05:36 PM
This issue is either a software version conflict or a problem in your code. I would recomend taking one of the data scokets examples in the example finder compile it into an exe and try to run it on your deployment machine, if it works we will know its a problem specific to your VI if it doesn't it is likely a software version issue.
The other thing you can try is build the exe in 8.2.1 or run the old exe with the 8.2 run time engine.
Let me know how it goes
Hunter