DIAdem driver on LAPcan

03/01/2014 by
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.