Knowledge Base

Drivers

  • Driver and Hardware Install Guide

    How to install your Kvaser hardware under Windows XP, Win2000 and Windows Server 2003

    This guide describes how to install Kvaser Hardware under Windows XP. The information given here is also valid for Windows 2000 and Windows Server 2003, since the steps are basically the same.
    1. Administrator. Log on to Windows as an administrator or as a user with administrator privileges.

    2. Run the installation program. Execute the file that is labeled “kvaser_drivers_w2k_xp.exe”. If you install under Windows 2000 or Windows Server 2003, simply execute the same file.

    3. View README file? When the installation program has loaded, you are asked if you wish to read the README file. We recommend that you do so, it contains information that is very useful for you.
    canlib38_installxp_0

    4. Welcome. At this point, you are ready to set-up the installation on your computer. Click on the “Next” button to continue.
    canlib38_installxp_1

    5. Select Destination Directory. We recommend that you keep the default value. Click on the “Next” button to continue.
    calib38_installxp_2

    6. Select Start Menu Group. We recommend that you to keep the default value. Click on the “Next” button to continue.
    canlib38_installxp_3

    7. Ready to install. The set-up is now complete and you are ready to install drivers for all your Kvaser hardware. Click on the “Next” button to continue.
    canlib38_installxp_4

    8. Copying and registering files. The installation program will copy the driver files to your hard disk and register them with Windows. Wait a few moments for registration to finish. This will normally take about 10 seconds, but could take as long as a few minutes.

    9. Installation of drivers complete. If the installation of drivers is completed successfully, the following message pops-up. Click on the “OK”-button to continue.
    canlib38_installxp_5

    10. Control Panel. Open the Control Panel. Double-click on the icon labeled Kvaser Hardware.  You should see a window like the one shown below. You are now ready to install all your Kvaser hardware.
    canlib38_installxp_6

    11. Plug-in Kvaser Hardware. You have two options:If you are about to install a Kvaser PCcan/PCIcan/PCIcan II board, shut-down the computer before you insert the board. And then restart the computer again.If you are about to install a Kvaser Leaf/Memorator/USBcan device or KvaserLAPcan/LAPcan II card, just plug-in the device. You don’t have to shut down the computer.

    12. Found New Hardware Wizard. The Found New Hardware Wizard will detect your Kvaser hardware. We recommend that you select “Install the software automatically”. Click the “Next”-button to continue and follow the on-screen instructions.
    canlib38_installxp_7

    13. Your Kvaser hardware is installed and ready to use. Open the Control Panel. Double-click on the icon labeled Kvaser Hardware.  This program handles all Kvaser Hardware that is connected to the computer. Clicking on a device channel opens up a panel with more detailed information, for example CANLIB channel, firmware revision, serial number, etc. Press F1 for Help.
    canlib38_installxp_8

    14. How to install Kvaser hardware under Vector CANalyzer/CANoe. If you use Vector CANalyzer/CANoe, please go back to the Support note index and read the “How to install Kvaser hardware under Vector CANalyzer/CANoe” note.
  • How To: Install LABview drivers

    1. Install your Kvaser hardware. Since the VI library calls the canlib32.dll directly, you must install Kvaser’s CANLIB driver package and your Kvaser hardware. Installations instructions can be found under the headline Drivers.

    2. Install Kvaser’s CANLIB SDK. We recommend installing CANLIB SDK, i.e. Kvaser’s API to all Kvaser hardware.  Installing the SDK should not be necessary for using the VI library but provides useful documentation.  The API provides overview documentation on the order of the calls.  This is useful when looking at the VI calls since they are just wrappers for the API. Download the CANLIB SDK from theSoftware Download Area

    3. Kvaser’s VI library for LabVIEW. Do not start LabVIEW. Instead, double click on our VI library.  This will launch the kvCanTree.vi and kvCanQuickStart.vi.  kvCanTree is a list of all the VI’s in the library when you select show Diagram from the menu.  kvCanQuickStart.vi is the example program which provides a dumbed down bus monitor. This is the easiest way to see what Kvaser’s VI library for LabVIEW is capable of. Shown below is a graphical demonstration.
    This is the results of double clicking on the kvCanVI.lib file.
    labw1
    The window below shows the kvCanExample1.vi in the full screen.  This VI replaced the original quickstart.vi.
    labw2
    The window below shows the menu item to select on kvCanTree.vi to see the full diagram.
    labw3
    The window below shows the full tree diagram which shows the individual VI’s in the library that can be called (compare these functions to functions in CANlib SDK)
    labw4 
  • DIAdem driver on LAPcan

    This guide describes how to install a LAPcan card under DIAdem version 7 with Kvaser’s DIAdem driver. The information given here should also be valid for DIAdem version 6.Please not that this guide is only valid for Kvaser’s DIAdem driver. If you want to use Vector’s DIAdem driver, follow the “Installation instructions for Vector’s DIAdem driver on LAPcan” note.

    1. Install DIAdem version 6 or 7. Version 4 is 16-bit, and so out of the question.
    2. Install Kvaser’s CANLIB driver package and your LAPcan card.
    3. Copy the files kcandrv.dll and kcandrv.g5d into the DIAdem program
      directory (e.g. c:\Program Files\Gfs\DIAdem.) If you can’t find kcandrv.dll, go to Windows Explorer, select View | Folder Options | View tab and make sure “Show All Files” is checked. Then go back to DIAdem.
    4. Copy the file kcandrv.bmp into the symbols directory of DIAdem
      (e.g. c:\Program Files\Gfs\DIAdem\symbols).
    5. Start DIAdem. Select Options | GPI-DLL Registration. Press the Add… button. Select the directory where you installed the DIAdem driver, step 3 above, and select the file kcandrv.dll.
    6. Now you are back in the “Registration of GPI-extensions” dialog you opened in the previous step. Press the Close button. DIAdem asks you if you want to save the list of registered drivers in the desktop. Select Yes and do as DIAdem suggests, i.e. save the settings in desktop.DDD.
    7. DIAdem will now restart.
    8. After DIAdem has restarted, press the DAC button (the one with the green board on it).
    9. Select Options | Single Value Processing | Configure Driver…
    10. Press New Entry, check the Hardware/Driver button and press OK.
    11. In the list on the left, select “Kvaser CAN” and press OK.
    12. Optional: press the Info button to make a sanity test. A dialog with driver information should now display.
    13. Press Close.
    14. Press the “Inputs(driver)” button in the vertical toolbar on the left. Somewhere on the now appearing horizontal toolbar a button labeled CAN appears. Select it.
    15. Hooray! You now have a CAN block.
    16. Double-click on the CAN block. A combined CANdb editor and configuration dialog now appears.
    17. Select a suitable LAPcan channel and set the bit rate. Assign one or more CANdb files and select the signals you are interested in.
  • Adding Virtual Channels

    The two virtual channels that comes with the driver installed are connected, working as for example two Leafs connected by a loopback cable.

    If you want more virtual channels, or channels not connected, you can use the Add Hardware Wizard to add a second pair. These will be connected to each other, but not to the first pair.

    1. Press Windows + R, and type hdwwiz and click OK
    2. Click Next, and manual install. Select CAN Hardware (Kvaser) and Next
    3. Scroll down to Kvaser Virtual CAN driver, and then Next until it finishes.

    You should now have an additional pair of virtual channels ready to use.

  • Driver installation problems

    Driver installation problems are often caused by antivirus software. A common issue is failing to install the enumeration service during the driver install.

    Solution:  Make sure your antivirus software is turned off and then install the driver again.

  • Installing with J2534 support

    1. Download the latest drivers from www.kvaser.com.
    2. Make sure you have administrator privileges on the computer before attempting to run the driver installation.
    3. Run the driver installation package
    4. Check the optional J2534 support and press Next.
    5. Follow remaining dialogs until driver installation is complete.
    6. Attach Kvaser hardware to the PC and complete the found new hardware wizard.
  • Does Kvaser provide drivers for Windows CE?

    We do have Windows CE support.  However, we build the driver for each customer’s platform.  This means we require the following information:

    1. Processor on target platform.
    2. OS version on target platform
    3. Software Developers Kit (SDK) for the target platform

    Send this information to [email protected], and we can begin the process of building a custom driver for your platform.

Feedback