Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Binding Shared Variables to Data Items on OPC Servers that Do Not Support Browsing (DSC Module)

LabVIEW does not automatically display data items for OPC 1.x and OPC 2.x servers that do not support the Server Browse Address Space Interface. Complete the following steps to bind a shared variable to a data item on an OPC server that does not support the Server Browse Address Space Interface.

  1. Add a shared variable to the project or right-click an existing shared variable in the Project Explorer and select Properties from the shortcut menu to display the Shared Variable Properties dialog box.
  2. On the Variable page, place a checkmark in the Bind to Source checkbox.
  3. Click the Browse button to launch the Select Source Item dialog box.
  4. Select the OPC client instance for the OPC server data item to which you want to bind the shared variable
  5. Click the OK button to return to the Shared Variable Properties dialog box. Notice how LabVIEW added the project path to the OPC client instance to the Path text box.
  6. Enter the remaining path to the data item in the Path text box, as defined by the documentation for the OPC server.
  7. Click the OK button.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit