Cannot Create Virtual Net

Comprehensive CAN monitor for Windows® and its add-ins: Plotter, CANdb Import, Instruments Panel, and J1939
Post Reply
HardyK
Posts: 3
Joined: Sat 13. Sep 2014, 16:42

Cannot Create Virtual Net

Post by HardyK » Sun 14. Sep 2014, 15:18

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.
This pic shows that I can't select Virtual
This pic shows that I can't select Virtual
MissingActiveDevice.png (49.74 KiB) Viewed 10302 times
I think the cause is because the file pcan_virtual.sys is not listed under the Drivers tab. I attach another screenshot.
MissingPcan_virtual.sys.png
MissingPcan_virtual.sys.png (30.39 KiB) Viewed 10302 times
<Question>
Assuming this is the cause, how can get and register pcan_virtual.sys?

Thank you very much.

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Cannot Create Virtual Net

Post by PEAK-Support » Mon 15. Sep 2014, 11:46

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)

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
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.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Post Reply