Showing results for 
Search instead for 
Did you mean: 

Using Labview opc client to connect to Opto 22 optoopcserver

Great news! I am happy I was able to help and thank you very much for sharing the final solution.

Alejandro C. | National Instruments
0 Kudos
Message 11 of 14


I have a problem using this exact configuration. I am able to connect to OptoOpcServer and read and write tags using Labview Classic OPC, but after a random amount of time, I get an error and the VI quit. During the time the communication is working, the system is flawless, but it just quit sometimes.

I have attached the pop-up error screenshot, the .evtx log file from window event viewer and the application error log is below. Any help is very welcome.

Thanks in advance.

Event Viewer
Error; Application Error
Faulting application name: OptoOPC.exe, version:, time stamp: 0x55033798
Faulting module name: OptoOPC.exe, version:, time stamp: 0x55033798
Exception code: 0xc0000005
Fault offset: 0x00005f60
Faulting process id: 0x1108
Faulting application start time: 0x01d0cbd21fdc5813
Faulting application path: C:\PROGRA~2\Opto22\OPCSER~1\OptoOPC.exe
Faulting module path: C:\PROGRA~2\Opto22\OPCSER~1\OptoOPC.exe
Report Id: d59e746a-37cb-11e5-94c7-d8d38575315f
- <System>
  <Provider Name="Application Error" /> 
  <EventID Qualifiers="0">1000</EventID> 
  <TimeCreated SystemTime="2015-07-31T21:33:51.000000000Z" /> 
  <Security /> 
- <EventData>
Error -2147220995 occurred at Shared Variable in New Cathode Data
Possible reason(s):
LabVIEW DSC:  (Hex 0x800401FD) The OPC Client I/O server is not connected to any OPC server. Verify the configurations for the OPC Client I/O server. Also check the network settings if you are trying to connect to a remote OPC server. Ensure the DCOM security settings on both the server side and the client side are correct.
This error or warning occurred while reading the following Shared Variable:
\\My Computer\Opto22_Server\TC_00_EU

0 Kudos
Message 12 of 14

Hello Pablo,


Did you ever find a resolution to this exception 0xc0000005 in your event log?  We are having the same issue with OptoOPC 22 version  An intermittant error dialog pops up and we have to dismiss it in order to resume normal execution of the OptoOPC Server.


The only work around is to identify the popup dialog and kill the associated optoopc.exe process.


Thank you,



0 Kudos
Message 13 of 14


Unfortunately no.
I stop using OptoOpcServer all together and did an standalone application in the Opto22 brain that I was using. Zero problems with this approach.

My best bet is a bug in the interface module. Not up to us to troubleshoot

Best, Pablo

0 Kudos
Message 14 of 14