 Fedor
		
			Fedor
		
		
		
		
		
		
		
		
	
			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?
 Adam_S
		
			Adam_S
		
		
		
		
		
		
		
		
	
			
			
    
	
		
		
		03-24-2017
	
		
		03:08 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		08-15-2025
	
		
		08:33 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Content Cleaner
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
Hi Fedor,
You might be able to use the method described here for VISA:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019MPtSAM&l=en-US
And for the scopes (and any other modular instruments) you may be able to use this:
https://www.ni.com/docs/en-US/bundle/ni-modinst/page/nimodinst/overview.html
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.
 Adam_S
		
			Adam_S
		
		
		
		
		
		
		
		
	
			
			
    
	
		
		
		04-05-2017
	
		
		10:43 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		08-15-2025
	
		
		08:34 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Content Cleaner
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
Hi Fedor,
I believe this might be the method you are after then instead:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019YK2SAM&l=en-US
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.
 Adam_S
		
			Adam_S
		
		
		
		
		
		
		
		
	
			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.