LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I programmatically get information about license status of IMAQ vision?

Hi all,

I'm developing an application that uses VIs of Image Processing palette (IMAQ). These VIs require IMAQ vision license to be activated on the machine where application is running.

In other words, every user that uses this application should have a license for IMAQ. If my application runs on a machine where IMAQ is not activated, VIs will have broken arrow (I think).

Is there a way to know if a machine has IMAQ license activated in order to avoid to start my application if license requirements are not fullfilled?

 

Thank all

0 Kudos
Message 1 of 4
(2,403 Views)

If you can't figure out how to do this "before the fact", you can always simply do it "after the fact" (i.e. try doing something simple with IMAQ that causes an error if there's no license) and "trap" the returned error, generating your own, less Hostile, message and ending the program gracefully.

 

BS

0 Kudos
Message 2 of 4
(2,387 Views)

Good advice.

 

Thanks

0 Kudos
Message 3 of 4
(2,343 Views)

Hello AC_85,

 

your thought was right, if you don't have the runtime engine activated you will get an error: 

 

Licensing National Instruments Vision Software

http://digital.ni.com/public.nsf/allkb/F1699570F78FECBB86256B5200665134?OpenDocument

 

so your application won't start.

 

have a good day,

 

Valerio

0 Kudos
Message 4 of 4
(2,335 Views)