Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically determine if Vision Run-Time Engine Activated

I am working with an application that requires the Vision Run-Time Engine.  After installation, if the Vision Run-Time Engine is not activated I get a pop-up (Vision Evaluation notice) that is behind my main application window.  The pop-up is launched when I am running an analysis with the application (I assume the pop-up is invoked when I am calling a Vision Development VI).  It appears to the user as if the application hangs.  I can force the pop-up to be frontmost so the user will see the window.  However, I'd like to be able to programatically determine if the Vision Run-Time Engine has been activated.  This way I will not have to continue to poll for this window after it has been activated.  Is there a way to do this?

 

Also, suggest that this pop-up window should be made front most so this work around isn't necessary.  Please take a look into this NI R&D.

 

Thanks!

Brooks

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

Hi Brooks, 

 

You should be able to probe the error wire and look at the error message to see if the RTE is activated or not. This is the standard way of programatically checking to see if a license exists. 

 

-N

National Instruments
Staff Certification Engineer
0 Kudos
Message 2 of 2
(3,960 Views)