03-31-2009 09:39 PM
Hi all,
I am currently working on the design of wireless data acquisition system using NI hardware. The input signals captured by NI wirelessDAQ will be displayed into Siemens WinCC SCADA system eventually.
Is there a way to achieve this configuration? One way I thought of is to develop the data acquisition software using LabView/Measurement Studio and link the code to WinCC via Visual Basic (e.g. via DAQmx). Thanks for all your input.
Solved! Go to Solution.
04-01-2009 08:26 PM
Hi kid_26,
What you mention sounds like WinCC can call a VB code?
If so, why don't you just write a VB code to pull data from Wifi DAQ?
Make sure that you install VB support while installing DAQmx, and you'll find reference, and example from Start>>All Programs>>National Instruments>>NI-DAQ>>Text-Based Code Support.
Regards, Kate
04-01-2009 08:36 PM
Hi KateB,
Thanks for your input. I intend to develop the application using LabVIEW and use WinCC to call its functions. WinCC itself is based on VB 6 language, and I am not sure whether it can re-use LabVIEW's function. Please advise.
04-01-2009 09:19 PM
Hi kid26,
If you wish to do so, you can call a LabVIEW dll from VB.
Please refer to LabVIEW Help>>Fundamentals>>Organizing and Managing a Project>>How-To>>Using Build Speifications>>Building a Shared Library on how to create a LabVIEW dll.
http://zone.ni.com/devzone/cda/tut/p/id/3188 also discuss about how to call LabVIEW dll in VB6.
However, you've to write VB code in WinCC to call LabVIEW dll anyway.
Regards, Kate
04-01-2009 09:58 PM
Hi Kate,
Is there any alternative beside generating DLL files in LabVIEW? From my understanding, you need to purchase the professional license in order to create DLL. We are trying to optimize our project cost.
Can we export some LabVIEW controls into WinCC?
04-01-2009 11:03 PM
Hi kid_26,
I'm sorry.
That's the only option.
If you wish to press the cost, write a VB6 to call DAQmx is an option.
Regards, Kate
04-01-2009 11:54 PM
Hi Kate,
Thanks for your input. I will give it a try.
07-11-2012 06:18 PM
USE LABVIEW INSTEAD OF WINCC .... how is it ???
@KateB wrote:
Hi kid_26,
I'm sorry.
That's the only option.
If you wish to press the cost, write a VB6 to call DAQmx is an option.
Regards, Kate
@KateB wrote:
Hi kid_26,
I'm sorry.
That's the only option.
If you wish to press the cost, write a VB6 to call DAQmx is an option.
Regards, Kate