03-23-2017 05:46 PM
I would like to check if NI-Scope and NI-Visa are installed on the PC before loading relevant parts of the Labview application. There's an example of checking for NI-DAQmx, which I implement with slight improvements:
Any advice what to check for in case of Visa and Scope drivers?
03-24-2017 03:08 PM - edited 03-24-2017 03:13 PM
Hi Fedor,
You might be able to use the method described here for VISA:
http://digital.ni.com/public.nsf/allkb/FA9073730B255BE586256E54005B13C4
And for the scopes (and any other modular instruments) you may be able to use this:
http://digital.ni.com/public.nsf/allkb/8532AFF2C7E14F5E86256FEA003E202F
04-04-2017 01:41 PM
Hi Mada,
I indeed use the methods you've listed to scan for available devices in my application. What I'm trying to find is if there's an established way to detect the presence or absence of the software drivers such as VISA, NI-Scope etc. before attempting to load corresponding parts of the application. Otherwise the application will end up broken.
04-05-2017 10:43 AM
Hi Fedor,
I believe this might be the method you are after then instead:
http://digital.ni.com/public.nsf/allkb/9331E9FDB716523A86257A0F003AF4C8
04-05-2017 11:16 AM
Hi Mada,
I did try that too a while back, it required system configuration driver to be per-installed and breaks the application if nisyscfg*.dll is missing.
For now I just use the same approach as in my 1st link and look for presence of niscope* or nivisa* in the system folder.
04-05-2017 12:33 PM
In that case, it might be the best method for now. I have looked very thoroughly for other ways to do it, but I can only find that solution so far.