Interfacing NI hardware with WinCC SCADA

W

Thread Starter

Winson

Hi,

I have a NI data acquisition device which I want to access using Siemens WinCC Flexible software. What is the most feasible way to achieve this?
Thanks
 
Hi,
Several weeks ago, I have tried to develop an ActiveX component for WinCC Flexible, however it was not efficient at all:

http://forums.mrplc.com/index.php?showtopic=16153

Finally I found an acceptable solution for my project (created several events for different informations); however it may not be useful for DA. WinCC flexible is not mature enough to use with ActiveX, and SIEMENS does not guarantee to work with 3rd party ActiveX components. So forget any solutions including ActiveX.

I feel that the best way may be building a dll or calling existing dll files of NI via VB script, I think that you need an algorithm as below:
- Open / call Dll file
- Create a connection to NI device
- Get your data
- Close the NI device connection

and call this script periodically. Unfortunately, I could not find a timer component to trigger a script periodically, however you can do it by periodically altering a value in PLC, assigning this value to a tag and linking your script to the OnChange event.

Seems painful.

Best Regards,
Moosty
---
http://indanotes.blogspot.com
 
Top