Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
4 ratings:
 4 out of 5     Rate this Document

(Legacy) Displaying Live Data from a Network

Primary Software: Measurement Studio>>Measurement Studio for Visual Basic 6
Primary Software Version: 8.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
How can I display live data from a network?

Solution:
The Visual Basic User Interface (UI) controls found in Measurement Studio have built-in direct connectivity to OPC and live Internet data sources. The User Interface controls take advantage of integrated DataSocket technology to connect to data sources, and you can make these connections through interactive property pages without programming.

All User Interface controls contain a bindings property page that allows you to directly connect any property of the control to any data source, such as an OPC item or an item on a DataSocket server. Two events, CWBindingStatusUpdated and CWBindingDataUpdated, monitor and control the data connection. You can graphically select the data item to connect to and even test your bindings from the property page, or you can create these bindings programmatically with the CWBindings property.

The shipping examples of binding can be found in the following folder: VB\Samples\UI\Common\CWBinding

Note: Measurement Studio no longer provides active support for Visual Studio 6.0, Visual Studio 2003, and Visual C++ MFC.  If you want to continue building or developing applications using these legacy environments/languages, you can use the NI Measurement Studio for Legacy Environments/Languages product, which includes support for these products and compatible device drivers.


Related Links:
KnowledgeBase 3R3ECP5B: Network Browser Error When Browsing for OPC Server on Windows 2000 Machines

Attachments:





Report Date: 03/13/2000
Last Updated: 12/29/2011
Document ID: 1VCB438M

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit