Hi All,
I'm using PCAN-USB Pro hardware and PCAN-Explorer 5.
It seems to work fine with the hardware attached but I want to be able to continue to develop and test my macros by using a simulated network when the PCAN-USB Pro hardware is not available.
From what I read in the Help and forum this is possible using a Virtual Net. However, it seems I cannot create such a net in the PCAN NETS configuration tool.
Using the PCAN Hardware applet in Control Panel, I cannot select Virtual in the drop-down box, only USB is available. I attach a screenshot.
I think the cause is because the file pcan_virtual.sys is not listed under the Drivers tab. I attach another screenshot.
<Question>
Assuming this is the cause, how can get and register pcan_virtual.sys?
Thank you very much.
Cannot Create Virtual Net
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: Cannot Create Virtual Net
If you use only the PCAN-USB, you also have installed only the USB Driver. This driver will be load only on demand, when you plug in the device.
To load the driver always when the PC start, you need to change the start value in the registry of this driver.
- start the Regedit.exe
- goto this KEY HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Pcan_usb
- change the Start value from 3 (Load on demand) to 2 (Auto load)
more info could be found on the WEB / Microsoft support page.
Do not forget to reboot after set this key, so that the driver will be load at stratup.
To load the driver always when the PC start, you need to change the start value in the registry of this driver.
- start the Regedit.exe
- goto this KEY HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Pcan_usb
- change the Start value from 3 (Load on demand) to 2 (Auto load)
Code: Select all
Start REG_DWORD Start constant
Specifies the starting values for the service as follows:
START TYPE LOADER MEANING
0x0 Kernel Represents a part of the
(Boot) driver stack for the boot
(startup) volume and must
therefore be loaded by the
Boot Loader.
0x1 I/O Represents a driver to be loaded
(System) subsystem at Kernel initialization.
0x2 Service To be loaded or started
(Auto load) Control automatically for all startups,
Manager regardless of service type.
0x3 Service Available, regardless of type,
(Load on Control but will not be started until
demand) Manager the user starts it (for example,
by using the Devices icon in
Control Panel).
0x4 Service NOT TO BE STARTED UNDER ANY
(disabled) Control CONDITIONS.
Manager
Do not forget to reboot after set this key, so that the driver will be load at stratup.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------