Knowledge Base

Troubleshooting

  • Azure Dynamics Ford Transit Connect Diagnostics

    Azure Dynamics was a developer of electric and hybrid engines. Specifically, they developed an engine for the Ford Transit Connect. Azure went bankrupt in 2012 however, many of these vehicles are still on the road today. When there is a fault with the vehicle, the owner would need a Kvaser interface to read the DTC codes or even reset the codes once the actual problem has been fixed.

    Though Azure Dynamics is no more, the necessary diagnostics drivers, some software and manuals have been archived by EVtv in their forums. To access their forums you will need a free account. The Azure Dynamics software suite is only compatible with Windows XP SP4. The software does not work with Windows Vista or 7.

    The required Kvaser device is a Leaf Light HS v2 OBDII.

  • How can I connect multiple CAN interfaces to my CAN bus network?

    Use the Kvaser T-cannector v2 breakout box.

    If the CAN bus network is accessed through an OBD diagnostic port, simply pair the Kvaser T-cannector v2 with Kvaser’s OBD II to DSUB9 Adapter Cable (00723-9) to connect multiple CAN devices to the network.

    In any system with CAN – a car, for example – you may want to experiment with different ways of data logging and set different triggers or filters. To log standard fault conditions, a good choice is a Kvaser Memorator Light – a fully automatic datalogger that requires no set-up whatsoever. However, to configure different filters in order to determine how, when and what data should be logged on separate channels, you’ll need a more complex datalogger such as a Kvaser Memorator Pro. To connect both devices to the same CAN network, use the T-cannector v2 breakout box, which is compatible with most CAN interfaces or dataloggers and best of all, can distribute power to those that require it. Critically, you won’t need to do any soldering or wiring whatsoever – simple click and connect using the T-cannector v2, and get gathering data within minutes.

  • My Windows 7 MacBook freezes when I connect a Leaf Light. How can I solve this?

    We have heard customers having problem where their MacBook, running Windows 7, freezes when they try to use a Leaf Light. From what we gather, this might be due to a MacBook hardware issue, where the (System management Controller) needs to be reset. This is done by restarting, and then holding the Command + Option + P + R keys before the Apple sign appears on the screen. Please consult with an Apple technician first if you are unsure, as we do not regularly use MacBooks in house, and cannot vouch for the results.

  • Why do I get error frames?

    Error frames indicate a problem with the network topology/configuration.

    You need to make sure:
    1. The CAN bus is properly terminated.  You should have 120 Ohm termination at the furthest points of the CAN network between CAN_H and CAN_L.  This would mean you should measure approximately 60 Ohms between CAN)_H and CAN_L.  We do not have termination in our products.

    2. The software application talking through the Kvaser interface should be using the same bus parameter settings as the other nodes on the bus.  This would be bit rate, sample point, and SJW.  You will need to make sure the application you are using is setting the bus parameters correctly.

    3. At least CAN_H, CAN_L, and SIG_GND need to be connected. In most vehicle scenarios, all nodes are using battery for V+ and GND, so the SIG_GND would be connected to this ground.

    4. The network must have at least 2 active nodes on the network to have successful CAN communication.  If there is just one other node on the network, you cannot be in silent mode. If no unit can acknowledge a sent frame, the sending unit will create error frames.

  • How To: Get Hexadecimal output in Kvaser CanKing

    Find the “Select Formatters” window in Kvaser CanKing and select “Standard Text Format” then click Options.

    support_canking_hex

    Then select Hexadecimal from the Dialog below.

    support_canking_hex_option

    Click OK and you are done!

  • Error -37 in Setup Tools

    I get Error code -37 in in Setup Tools when trying to connect to my Memorator Professional / Memorator Light:

    error37

    The most common cause of this error is trying to connect to a new firmware with an old version of Setup Tool.

    Update to the latest version of the setup tool to solve this problem, downloads can be found here: www.kvaser.com/support/downloads

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

  • The Kvaser VI appears to be broken when I load the VI in LabVIEW.

    The Kvaser VI library was originally created using LabVIEW 6.0.  We have noticed that some of the newer versions of LabVIEW break wires and change constants in the VIs during the up-conversion process.  This can be remedied by reattaching the broken wires and adjusting the constants back.

    If you have a particular version of LabVIEW you are using, send an email to [email protected] stating the version of LabVIEW you are using.  We may be able to provide a version of the Kvaser VI library that has already been corrected for that version.

  • Dell 6410

    The Dell E6410 has known issues with IRQ and I/O Range assignment with our drivers.

    The following steps should resolve your issue:

    • You need to make sure that you are using version 4.4 or later of our drivers.
      The drivers are available on our website at the following location:  www.kvaser.com/support/downloads
      Set the Download Type to Drivers
      The second item in the Results list should be Kvaser Drivers for Windows 2000/XP/Vista/Windows 7
      You must have administrator rights when you install the driver.
      You can confirm the driver version you are using by running the Kvaser Hardware Configuration program and checking the CANLib version on the About tab.
      The Kvaser Hardware Configuration program can be found on your PC at:
      Start -> Programs -> Kvaser CAN Drivers -> Kvaser Hardware Configuration
    •  Next, you will need to run:
      dell_e6410.reg which is found in the driver install directory:
      \Program Files\Kvaser\Drivers\ and reboot your computer.

    These step should hopefully resolve this issue, please let us know if it doesn’t.

  • Why does my LabVIEW VI sometimes fail to find the Kvaser hardware?

    When you call kvCanInitializeLibrary.vi in your application, the driver determines what hardware is attached to the PC and assigns channel numbers.  The driver will not recognize any additional hardware until the dynamic link library (DLL) is unloaded.  This would normally happen when the application exits.  However, Windows associates the DLL with LabVIEW – not the running VI.  Therefore, the DLL is not unloaded until LabVIEW is completely exited.

    So, if you run your VI until the VI exits, then attach Kvaser hardware.  When you run the VI again, the newly attached Kvaser hardware will not be recognized unless you completely exit LabVIEW first.

    If you would like to unload the DLL within you VI, you can create a VI wrapper for the canlib32.dll function canUnloadLibrary().

  • Using Vector CANalyzer 5.2 with Kvaser hardware

    How to install CANalyzer 5.2 with Kvaser hardware. This note also explains the basics on how to set up a configuration in CANalyzer with several CAN and LIN channel. Please note that since version 7.1 of CANalyzer Kvaser hardware are no longer supported.

    1. Close all programs. Shut-down all programs before you proceed.

    2. Kvaser – Install. Install the drivers and your hardware from Kvaser. If you need detailed instructions, please follow the “Driver and Hardware Installation Guides For Windows” note in the Support Note Index. Otherwise, please proceed.

    3. Vector – Install Application. Insert the Vector CD, and press “Install Application” and follow the on-screen instructions.
    pic1

    4. Vector – Select CAN card. During the set up of the installation, your are asked to select CAN hardware. It does not matter which type of hardware you specify, i.e. although you will use Kvaser Leaf Professional you can specify any of the Kvaser hardware types, as shown below. In this example we will use Kvaser Leaf Professional. Kvaser Leaf Professional is supported under CANalyzer 5.2 by Vector GmbH.
    picextra

    5. Vector – Select LIN card. In the next dialogue, you are asked to select LIN hardware. Simply press LAPcan DRVlin for using a LIN product from Kvaser, as shown below.  Then complete the remaining parts of the set up and install the software.
    pic8

    6. Vector – Channel Info. When the installation process has finished, open the Control Panel. And double click on the “Kvaser hardware” icon. Select “Channel Info”, as shown in the picture below. In this example, we will use 2 CAN channels and 1 LIN channel.
    pic15

    7. Vector – Application Settings. When you are about to use more than two channels, you need to change the number of channels used. Simply press “App Settings” button under “Channel Info”. Then select “Edit” in the “Application Settings” window, and specify the number of channels you wish to use, as shown below.
    pic13

    8. Vector – Assign to application. Select “Channel Info” again and select a channel. This is how you assign a channel:

    1. Click on the “Assignments” button to open the “Assign to Application” window,
    2. Select application and click the “Assign” button,
    3. Close the “Assign to Application” window
    4. To assign another channel, just go back to “Channel Info” and select another channel.
    pic14

    9. Vector – Check Licenses. In the menu, select “Devices”. If you got licenses on your hardware, you will see an icon labeled “Licenses” in the left column.Please note that CANalyzer/CANoe version 5.2 with LIN option requires three licenses bits on your Kvaser hardware.
    lic

    10. Vector – Start CANalyzer 5.2. Start CANalyzer 5.2 and select “New configuration” under the File menu. You will now have a clean configuration file to start working with. Now, select “Options” under “Configurations” in the menu and specify the number of channels you wish to use, as shown in the picture below.
    pic16

    11. Vector –  Hardware Configuration. Select “Hardware Configuration” under “Configuration” in the menu. And specify the baud rates for CAN1, CAN2 and LIN1.Dont forget to select “Filter” under the CAN2. CAN1 default setting is to pass all traffic (X means do not consider bit value). CAN2 default setting is to block all traffic. To let CAN2 pass all traffic set the value of the bit Masks to 0.
    piccan1

    11. Vector – Select CAN database, LIN database or LIN Description File. To associate a *.dbc or *.ldf file in your configuration, select “Associate database..” under File in the menu.
    picdatabase

    6. Press “Run”. You can now use your Kvaser hardware with CANalyzer/CANoe.
    pictrafic
  • Unknown Device: computer doesn’t recognize the CAN hardware

    The example below is taken from Win2000 (and some specific has been taken from XP), it’s not exactly the  same on Win98/ME/XP but it should not be a significant problem for anyone. Pay attention to the red colored text.

    Troubleshooting instructions:

    1. Make sure that you have installed the latest drivers.

    2. Open the Control Panel (click Start -> Settings -> Control Panel)

    3. In the Control Panel double click the “System” icon (opens the “System Properties” window). In the “System Properties” window click the “Hardware” folder and then the “Device Manager” button (Win98: There is no “Hardware”-folder in Win98, instead there is a “Device Manager” folder that you may use instead to open the “Device Manager Window”, see point 3).

    Windows 2000:

    upgr2k1

     

     

    Windows XP:

    upgrxp1

     

    3. In the “Device Manager” window double-click the “KVASER hardware” icon (that will open the “KVASER hardware Properties“-window). Use the the mouse right mouse button and open the “Properties” window..

    upgr2k3

     

     

    4. In the “KVASER [hardware] Properties” mark the “Driver” folder and then you click the “Update Driver” button.

    Windows 2000:

    upgr2k4

    Windows XP:

     

    upgrxp4

     

     

    5. By clicking the “Update Driver” button the “Upgrade Device Driver Wizard” will start. Click “Next

    Windows 2000:

    upgr2k5

    Windows XP:

     

    upgrxp6a

     

     

    6. In the “Install Hardware Device Drivers” window mark “Display a list of the known drivers for this device so that I can choose a specific“. (DO NOT LET WINDOWS SEARCH BY ITS OWN!)

    Windows 2000:

    upgr2k6

    Windows XP:

    upgrxp6

     

     

    7. In the next window (“Select a Device Driver“) click the “Have Disk” button.
    ( DO NOT CLICK “Next”, that’s very important )

    upgr2k7

     

     

    8. In the next Window (“Install from disk“) click “Browse” and browse to the directory where you chose to install the drivers(point 1 of this document). You may find either of “kvaser.inf” or “kvaser2.inf” file in that directory; open this file. (The default location is “C:\Program Files\KVASER\Drivers”)

    33_unknown_device_ts

     

     

    9. The CANLib Drivers (represented by the INF file you opened in the previous step) contains drivers for most KVASER hardware, therefore you have to mark the “KVASER hardware” and then you click “Next“.

    upgr2k9

     

     

    10. In the next window (“Start Device Installation“) just click “Next“.

    upgr2k910

     

     

    11.  In the next window (“Completing the Upgrade Device Driver Wizard“) just click the “Finish” button.

    upgr2k911

     

     

    12. Reboot your computer!!!

    upgr2k912