Drivers loaded and running but receiving NO_DRIVER error
Drivers loaded and running but receiving NO_DRIVER error
Hi,
I have the Peak drivers for my PCAN-PCI/104-Express FD board loaded onto the CPU of my PC/104 stack. I can confirm these drivers are running with devcon.exe status.
However, when I set up a test program to try using the PCANBasic library to initialize my PCAN board, It returns a NO_DRIVER error (seen below)
http://prntscr.com/pai7cc
Is there a step I have missed in enabling the driver? It says it is running and I have restarted the system to be sure.
Thanks for your help.
I have the Peak drivers for my PCAN-PCI/104-Express FD board loaded onto the CPU of my PC/104 stack. I can confirm these drivers are running with devcon.exe status.
However, when I set up a test program to try using the PCANBasic library to initialize my PCAN board, It returns a NO_DRIVER error (seen below)
http://prntscr.com/pai7cc
Is there a step I have missed in enabling the driver? It says it is running and I have restarted the system to be sure.
Thanks for your help.
Re: Drivers loaded and running but receiving NO_DRIVER error
Hello,
are you trying to create a universal app? Please note that our drivers are "Desktop drivers" and are not compatible with the universal platform. You will always get the error NO_DRIVER when doing so.
are you trying to create a universal app? Please note that our drivers are "Desktop drivers" and are not compatible with the universal platform. You will always get the error NO_DRIVER when doing so.
Best regards,
Keneth
Keneth
Re: Drivers loaded and running but receiving NO_DRIVER error
Yes I am using a UWP app. So even though they say they are running on the system they won't work with UWP when I have the PCANBasic.cs API in it as well?
What is the reason for this incompatibility? is it .NET Core or a .NET Framework incompatibility? What would the best solution to not stray too far from my current implementation goals?
I am not sure what you mean by Desktop drivers specifically. In what configuration would I be able to use these drivers? Since the PCI/104 board that I am using them on is not a desktop, what OS or software platform could I use them on?
Thanks!
What is the reason for this incompatibility? is it .NET Core or a .NET Framework incompatibility? What would the best solution to not stray too far from my current implementation goals?
I am not sure what you mean by Desktop drivers specifically. In what configuration would I be able to use these drivers? Since the PCI/104 board that I am using them on is not a desktop, what OS or software platform could I use them on?
Thanks!
Re: Drivers loaded and running but receiving NO_DRIVER error
Hello,
You cannot use these drivers on: Windows IoT
You can use following Technologies for accessing the device drivers: Windows Forms, Windows Presentation Foundation, Win32.
You cannot use following .NET technologies for accessing the device drivers: Universal Windows Platform (UWP)
Correct. They are installed and available for the desktop platform, not for UWP.bwhelan wrote:Yes I am using a UWP app. So even though they say they are running on the system they won't work with UWP when I have the PCANBasic.cs API in it as well?
Windows desktop applications and UWP applications work different, i.e. they target different "frameworks". UWP works in a kind of sandbox, with less resources and more restrictions than normal desktop applications. For this reason each platform needs some special treatment. For a device this means having a driver for each, windows desktop platform and/or universal Windows platform.bwhelan wrote:What is the reason for this incompatibility? is it .NET Core or a .NET Framework incompatibility?
I don't know your goals, but if you want to use C# for programming and XAML for design, then the best you can use is Windows Presentation Foundation (WPF).bwhelan wrote:What would the best solution to not stray too far from my current implementation goals?
You can use these drivers in following operating system: Windows 7, Windows 8.1 Windows 10, and Windows IoT Enterprise.bwhelan wrote:I am not sure what you mean by Desktop drivers specifically. In what configuration would I be able to use these drivers? Since the PCI/104 board that I am using them on is not a desktop, what OS or software platform could I use them on?
You cannot use these drivers on: Windows IoT
You can use following Technologies for accessing the device drivers: Windows Forms, Windows Presentation Foundation, Win32.
You cannot use following .NET technologies for accessing the device drivers: Universal Windows Platform (UWP)
Best regards,
Keneth
Keneth
Re: Drivers loaded and running but receiving NO_DRIVER error
Thank you for the very detailed response. I know I had a lot of questions. I very much appreciate your time. 
Just to confirm then, if I were to use Windows 10 IoT Enterprise, the drivers would work. Just not with UWP? I would have to select another platform?

Just to confirm then, if I were to use Windows 10 IoT Enterprise, the drivers would work. Just not with UWP? I would have to select another platform?
Re: Drivers loaded and running but receiving NO_DRIVER error
Hello,
you're welcome.bwhelan wrote:Thank you for the very detailed response.
Yesbwhelan wrote:Just to confirm then, if I were to use Windows 10 IoT Enterprise, the drivers would work. Just not with UWP? I would have to select another platform?
Best regards,
Keneth
Keneth