What Tools Are Available for Debugging NI OPC Servers with DSC and DataSockets?

Updated May 17, 2023

Environment

Software

  • LabVIEW Datalogging and Supervisory Control Module
  • OPC Servers

I am having problems accessing my OPC tags using either DSC or DataSockets. What are some tools to troubleshoot my NI OPC Server application?

To monitor OPC diagnostic information, there are two options. You can enable the diagnostic log and read the information from that log, or you can actively monitor diagnostic information in real time or the Historical View using NI OPC Servers.
 
To enable the diagnostic log, you'll need to access the Configure OPC Client I/O Server window. In the Project Explorer:
  1. Navigate to the library containing the OPC Server.
  2. Right click the OPC Server.
  3. Select Properties.
  4. When the Configure OPC Client I/O Server dialog box opens, select the Diagnostics tab and
  5. Place a check mark on the Enable diagnostics
  6. Browse for an appropriate path to save the log file.

To access the OPC diagnostics window:
  1. Launch NI OPC Servers by accessing Start»Programs»National Instruments»NI OPC Servers»NI OPC Servers.
  2. Once launched select View»Diagnostics»OPC from the menu.
  3. In the Diagnostic window you can start and stop recording diagnostic information, quickly search for specific text and use the filter dialog to select which events you want to capture.