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

What Are the FieldPoint OPC Error Codes Returned When Using the OPC Automation API (not ComponentWorks DataSocket)

Primary Software: Driver Software>>NI-FieldPoint
Primary Software Version: 3.0.2
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: FieldPoint

Problem: I am using Visual Basic to communicate with the FieldPoint OPC server via the OPC Automation API created by the OPC Foundation (see link below). I would like to know the meaning of the Error codes returned by the FieldPoint OPC server.

Solution: Attached below is a list of all of the OPC error codes that OPC servers can return. Because OPC is a standard, the FieldPoint OPC server can only return the error codes defined in the specifications. Additional information on the error codes can be found at Microsoft's web site (see link below).
Any error codes outside of this list are not from the FieldPoint OPC server and you may contact the OPC Foundation (linked below) for error codes related to the OPCDAAuto.dll.


Related Links:
External: OPC Foundation Website
External: Translating Automation Errors for VB/VBA


Attachments:


OPC Server Error Codes.txt - OPC Server Error Codes.txt



Report Date: 07/19/2002
Last Updated: 06/15/2006
Document ID: 2NIECDQ2

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