02-16-2017 06:01 PM
Hi all,
We have a library of shared variables that interfaces through NI OPC Server to control a machine. I would like to develop the code offline of the machine and was wondering if there was a way that I could create a dummy OPC server that would generate I/O through the same shared variables the real OPC server interfaces with. I tried just writing to those shared variables with a separate VI but their state does not change.
Thanks,
Jovan
02-20-2017 07:51 AM - edited 02-20-2017 07:51 AM
Hello Jovan,
As far as I know there is no way to simulate the server, however you can simulate the device following this simple Knowledge Base article (you still need the license):
http://digital.ni.com/public.nsf/allkb/A72A10E8990E2250862576230075E355
I hope it helps.
Warm Regards,
03-02-2017 10:20 AM
The problem with the OPC server in simulation mode is that the variables just notify the application that they exist and send random values. I wanted specific values sent and received so I ended up creating a local shared variable library to experiment with, and then when the code is ready for production I switched the project to the network shared variables the OPC server and client use.
Thanks