LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

-2147192736 Error Code from Active X invoke node

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.

 

0 Kudos
Message 1 of 3
(2,956 Views)

Forgot to add:  This is an ethernet connected instrument.

0 Kudos
Message 2 of 3
(2,942 Views)

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.

Colden
0 Kudos
Message 3 of 3
(2,922 Views)