LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to check if NI-Scope or NI-VIsa driver installed

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:

 

https://forums.ni.com/t5/Example-Programs/DAQmx-Checking-if-DAQmx-is-Installed-and-Which-Version-is/...

 

Any advice what to check for in case of  Visa and Scope drivers? 

 

 

0 Kudos
Message 1 of 6
(7,898 Views)

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

 

Adam
0 Kudos
Message 2 of 6
(7,837 Views)

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.

0 Kudos
Message 3 of 6
(7,797 Views)

Hi Fedor,

 

I believe this might be the method you are after then instead:

http://digital.ni.com/public.nsf/allkb/9331E9FDB716523A86257A0F003AF4C8

 

Adam
0 Kudos
Message 4 of 6
(7,782 Views)

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.

0 Kudos
Message 5 of 6
(7,777 Views)

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.

Adam
0 Kudos
Message 6 of 6
(7,772 Views)