01-22-2013 07:41 PM
I'm sporadically getting Error Code -2147192736 from an Active X invoke node.
Explain Error states that "A connection to the instrument has not been established." and "This error code is undefined."
Once I get this error code I'm not able to communicate with my instrument from within LabView at all.
I can still communicate through NI-MAX after this error occurs.
So far, my only (painful) solution has been to shut down LabView and restart.
I'm using LV2012 f3 with the latest IVI and NI-VISA drivers.
This error occurs about once in every 200 calls to the instrument.
The instrument is a JDSU MAP_200 VOA.
The error comes from an Initialize method called right after Automation Open.
Any ideas as to what is causing this error or how to recover from it would be appreciated.
01-23-2013 06:27 AM
Forgot to add: This is an ethernet connected instrument.
01-23-2013 03:29 PM
grcutter and I are discussing this problem as part of a service request.
What we did is we moved the ActiveX initialization and connection code out of the data acquisition loop so that it's called only once per run of the application.
The conclusion was that the error was coming from the ActiveX code created by JDSU.
Of course, we won't know if the problem is solved without waiting for a couple of weeks.