LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Want to simulate my OPC server.

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

0 Kudos
Message 1 of 3
(2,525 Views)

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,

 

 

Randy @Rscd27@
0 Kudos
Message 2 of 3
(2,467 Views)

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

0 Kudos
Message 3 of 3
(2,435 Views)