FAQ

Drivers

  • 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.
  • 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.
  • 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.

  • 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.

  • If I change Kvaser USB interfaces, do I need new Drivers and SDK?

    All Kvaser interfaces share the same Drivers and SDK package. A software that has been written for the Kvaser Leaf light or Kvaser Leaf Pro can often be used with Kvaser U100 and Kvaser U100P without any changes. (But it is never wrong to update/recompile the software with the latest Kvaser SDK).

  • How do I install Kvaser drivers on my Macbook?

    We do not have drivers for Apple Macbooks or desktop computers.  We have drivers for Windows and Linux.  You can run a virtual machine on your Apple computer running Linux or Windows if your machine is based on an Intel x86 or x64 architecture.  This will not currently work with the M1 based Apple computers.

  • 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.