I have a microchip device which we interface with Labview 2016 and VISA V16.
I ran the NI VISA and created a driver file (below). apparently I can't attach and inf file.
In Windows 7 it creates the 'NI VISA USB Device' but in Windows 10 it doesn't
Do I need to modify the inf file to get it to work with windows 10?
-----------------
;===========================================================================
; This file was generated using:
; NI-VISA Driver Development Wizard version 5.3
;===========================================================================
;
; This file is for use with Windows 8/7/Vista. This will not work on Windows
; XP. This Windows Setup Information File contains the information
; NI-VISA needs in order to access your instrument. Do not modify the
; contents of this file unless you are sure about what you are doing.
;
;===========================================================================
;
; Windows Vista/7 Installation:
; To apply the contents of this file to a system's settings, right-click
; this file and choose "Install". If the device was plugged in before this
; file is installed, the device will need to be removed from the "Unknown
; Devices" class in the Windows Device Manager.
;
;===========================================================================
;
; Windows 8 Installation:
; To apply the contents of this file to a system's settings, a catalog file
; must be generated and signed using either a personal certificate or a
; certificate obtained from a Certificate Authority (CA). For detailed
; instructions on how to install your INF on Windows 8, visit
; http://ni.com/info and enter the Info Code INFWin8.
;
;===========================================================================
;
; Removal:
; At installation, Windows copies the file into the %SystemRoot%\inf
; directory using the alternate filename oem##.inf. You may have
; to search all the files to find the one from which this is copied.
; Remove that file and its associated .pnf file (if it exists) from
; %SystemRoot%\inf. Either reboot the computer, or perform a
; "Scan for hardware changes" from the Windows Device Manager.
;
;===========================================================================
; This file was generated using:
; NI-VISA Driver Development Wizard version 5.3
;===========================================================================
;
; This file is for use with Windows 8/7/Vista. This will not work on Windows
; XP. This Windows Setup Information File contains the information
; NI-VISA needs in order to access your instrument. Do not modify the
; contents of this file unless you are sure about what you are doing.
;
;===========================================================================
;
; Windows Vista/7 Installation:
; To apply the contents of this file to a system's settings, right-click
; this file and choose "Install". If the device was plugged in before this
; file is installed, the device will need to be removed from the "Unknown
; Devices" class in the Windows Device Manager.
;
;===========================================================================
;
; Windows 8 Installation:
; To apply the contents of this file to a system's settings, a catalog file
; must be generated and signed using either a personal certificate or a
; certificate obtained from a Certificate Authority (CA). For detailed
; instructions on how to install your INF on Windows 8, visit
; http://ni.com/info and enter the Info Code INFWin8.
;
;===========================================================================
;
; Removal:
; At installation, Windows copies the file into the %SystemRoot%\inf
; directory using the alternate filename oem##.inf. You may have
; to search all the files to find the one from which this is copied.
; Remove that file and its associated .pnf file (if it exists) from
; %SystemRoot%\inf. Either reboot the computer, or perform a
; "Scan for hardware changes" from the Windows Device Manager.
;
;===========================================================================
[Version]
Signature=$WINDOWS NT$
Class=visaUsbDevice
ClassGUID={A3330EDF-239D-4206-833B-1D58952613D5}
Provider=%Vendor0%
DriverVer=02/04/2020,1.0
CatalogFile=PotBox.cat
Signature=$WINDOWS NT$
Class=visaUsbDevice
ClassGUID={A3330EDF-239D-4206-833B-1D58952613D5}
Provider=%Vendor0%
DriverVer=02/04/2020,1.0
CatalogFile=PotBox.cat
;===========================================================================
; Default Installer
;===========================================================================
; Default Installer
;===========================================================================
[DefaultInstall]
CopyINF=PotBox.inf
CopyINF=PotBox.inf
[DestinationDirs]
[SourceDisksNames]
[SourceDisksFiles]
;===========================================================================
; Class Installer
;===========================================================================
; Class Installer
;===========================================================================
[ClassInstall32]
AddReg=AddClass_AddReg
AddReg=AddClass_AddReg
[AddClass_AddReg]
HKR,,,0,%DeviceClassString%
HKR,,Icon,,"-20"
HKR,,,0,%DeviceClassString%
HKR,,Icon,,"-20"
;===========================================================================
[Manufacturer]
%Vendor1%=USBList,NTamd64.7
%Vendor1%=USBList,NTamd64.7
[USBList]
%USB\VID_04D8&PID_F2E2.DeviceDesc%=WinUsb_Inst, USB\VID_04D8&PID_F2E2
%USB\VID_04D8&PID_F2E2.DeviceDesc%=WinUsb_Inst, USB\VID_04D8&PID_F2E2
[USBList.NTamd64]
%USB\VID_04D8&PID_F2E2.DeviceDesc%=WinUsb_Inst, USB\VID_04D8&PID_F2E2
%USB\VID_04D8&PID_F2E2.DeviceDesc%=WinUsb_Inst, USB\VID_04D8&PID_F2E2
[USBList.NTamd64.7]
%USB\VID_04D8&PID_F2E2.DeviceDesc%=WinUsb_Inst, USB\VID_04D8&PID_F2E2
%USB\VID_04D8&PID_F2E2.DeviceDesc%=WinUsb_Inst, USB\VID_04D8&PID_F2E2
[PreCopySection]
HKR,,NoSetupUI,,1
[WinUsb_Inst]
Include = winusb.inf
Needs = WINUSB.NT
Include = winusb.inf
Needs = WINUSB.NT
[WinUsb_Inst.hw]
AddReg=WinUsb_Inst_HW_AddReg
AddReg=WinUsb_Inst_HW_AddReg
[WinUsb_Inst.Services]
Addservice = WinUsb, 0x00000002, WinUsb_AddService
Addservice = WinUsb, 0x00000002, WinUsb_AddService
[WinUsb_AddService]
DisplayName = %WinUsb_Service_DisplayName%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_DEMAND_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\WinUSB.sys
DisplayName = %WinUsb_Service_DisplayName%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_DEMAND_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\WinUSB.sys
[WinUsb_Inst_HW_AddReg]
HKR,,DeviceInterfaceGUIDs, 0x10000,"{761ED34A-CCFA-416b-94BB-33486DB1F5D5}"
HKR,,DeviceInterfaceGUIDs, 0x10000,"{761ED34A-CCFA-416b-94BB-33486DB1F5D5}"
[Strings]
Vendor0=""
Vendor1=""
USB\VID_04D8&PID_F2E2.DeviceDesc=""
DeviceClassString="NI-VISA USB Devices"
WinUsb_Service_DisplayName="WinUSB Driver"
Vendor0=""
Vendor1=""
USB\VID_04D8&PID_F2E2.DeviceDesc=""
DeviceClassString="NI-VISA USB Devices"
WinUsb_Service_DisplayName="WinUSB Driver"
SERVICE_BOOT_START = 0x0
SERVICE_SYSTEM_START = 0x1
SERVICE_AUTO_START = 0x2
SERVICE_DEMAND_START = 0x3
SERVICE_DISABLED = 0x4
SERVICE_SYSTEM_START = 0x1
SERVICE_AUTO_START = 0x2
SERVICE_DEMAND_START = 0x3
SERVICE_DISABLED = 0x4
SERVICE_KERNEL_DRIVER = 0x1
SERVICE_ERROR_IGNORE = 0x0
SERVICE_ERROR_NORMAL = 0x1
SERVICE_ERROR_SEVERE = 0x2
SERVICE_ERROR_CRITICAL = 0x3
SERVICE_ERROR_IGNORE = 0x0
SERVICE_ERROR_NORMAL = 0x1
SERVICE_ERROR_SEVERE = 0x2
SERVICE_ERROR_CRITICAL = 0x3
-------------