Hi,
I want to publish measurements from cDAQ or cRIO to Siemens S7-1200 PLC. I managed to do that in following steps:
1. I established a connection between PLC and LabView, installed on Windows PC, using OPC Server and Shared Variables.
2. I created Global Virtual Channel in NI MAX for cDAQ-9188 and added this channel in OPC Server.
3. I wrote a simple VI that reads Shared Variable bound to cDAQ analog input and rewrites it to Shared Variable bound to PLC memory address.
My problem is that I have two channels in OPC Server and I need to pass the value from one to another but I would like to do it automatically (without starting VI that I mentioned and without even using PC with LabView). I think that it might not be possible with cDAQ but I have also a cRIO-9035. Is it possible to make simple RT application for cRIO that would pass value of measurment to Network-published variable bound to PLC address? Is it a good solution to my problem?