Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Can I Bind an OPC Item to a Shared Variable in LabVIEW?

Primary Software: LabVIEW Development Systems>>Professional Development System
Primary Software Version: 8.5
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Modules>>DSC Module

Problem:
I want to bind an OPC item to a shared variable in LabVIEW. How do I do this?

Solution:
There are two ways that LabVIEW can connect to OPC servers as a client: The LabVIEW Datalogging and Supervisory Control (DSC) Module or LabVIEW DataSockets.  Of these, only the DSC module lets you bind a shared variable directly to an OPC item. 

The DSC module allows you to configure an OPC client IO server which exposes OPC items directly to shared variables for binding.  The module also enhances the shared variable to be configured to provide automatic logging, alarming, and security among other things.



Related Links:

LabVIEW DSC Module Help: Binding Shared Variables to OPC Server Data Items (DSC Module)
LabVIEW Datalogging and Supervisory Control Module Product Page
LabVIEW 8.5 Help: Developing OPC Clients in LabVIEW (Windows Only)



Attachments:





Report Date: 08/23/2007
Last Updated: 11/09/2007
Document ID: 4CMCEG3U

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