NI Switch Executive Returns Error “The Path Name Is Invalid”

Updated Aug 12, 2021

Reported In

Software

  • Switch Executive
  • Measurement & Automation Explorer (MAX)

Issue Details

When creating a new virtual device using an IVI Driver with NI Switch Executive from NI Measurement & Automation Explorer, I receive the error message (Hex 0xBFFA000B) The path name is invalid.
NI Switch Executive Error.PNG

 

Solution

This error occurs because the 32-bit Module Path of your Instrument Driver Software Module is empty. Since NI Measurement & Automation Explorer is a 32-bit process it needs the 32-bit DLL to properly load the configuration from the IVI Driver.  

To solve this issue follow the steps below. 
  • Open NI Measurement & Automation Explorer and navigate to  My System>>IVI Drivers>>Advance>>Intrument Driver Software Modules. 
  • Click over the instrument driver that is having the issue and go to the general tab. 
  • Click on the Browse... button from the Module Path (32-bit) and select the appropriate 32-bit dll. See the image below.
Module Path (1).png

Note 
 
The 32-bit DLLs are usually located at C:\Program Files (x86)\IVI Foundation\IVI\Bin.