11/08/2017 by Dynamic
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.