09-22-2014 08:19 AM
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
09-22-2014 04:27 PM
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
09-23-2014 02:21 AM
Good advice.
Thanks
09-23-2014 02:36 AM
Hello AC_85,
your thought was right, if you don't have the runtime engine activated you will get an error:
http://digital.ni.com/public.nsf/allkb/F1699570F78FECBB86256B5200665134?OpenDocument
so your application won't start.
have a good day,
Valerio