No, you only need one Blackbird. A Blackbird can connect to an existing wireless router network in infrastructure mode or directly to a PC in ad hoc mode. The PC will use our standard Windows drivers to configure the Blackbird and select the Blackbird for use.
No, Kvaser does not have this connectivity at this time.
Yes, by using our supporting library kvrlib.
Kvrlib can be used to connect to units connected to the host computer, scan for networks, and all other configuration that is usually done trough the Kvaser Hardware -> Tools -> Setup a Kvaser Blackbird / Select Kvaser BlackBird from the Network configuration tools.
Once a BlackBird or Blackbird v2 is configured and setup for use on a specific computer, Canlib can be used as usual, just as if the unit was connected on USB.
Kvrlib comes with the canlib install.
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 the Software 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.
The window below shows the kvCanExample1.vi in the full screen. This VI replaced the original quickstart.vi.
The window below shows the menu item to select on kvCanTree.vi to see the full diagram.
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)
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.
- Install DIAdem version 6 or 7. Version 4 is 16-bit, and so out of the question.
- Install Kvaser’s CANLIB driver package and your LAPcan card.
- 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.
- Copy the file kcandrv.bmp into the symbols directory of DIAdem
(e.g. c:\Program Files\Gfs\DIAdem\symbols).
- 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.
- 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.
- DIAdem will now restart.
- After DIAdem has restarted, press the DAC button (the one with the green board on it).
- Select Options | Single Value Processing | Configure Driver…
- Press New Entry, check the Hardware/Driver button and press OK.
- In the list on the left, select “Kvaser CAN” and press OK.
- Optional: press the Info button to make a sanity test. A dialog with driver information should now display.
- Press Close.
- 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.
- Hooray! You now have a CAN block.
- Double-click on the CAN block. A combined CANdb editor and configuration dialog now appears.
- Select a suitable LAPcan channel and set the bit rate. Assign one or more CANdb files and select the signals you are interested in.
You will need to install the standard Kvaser Windows drivers and the Kvaser VI library. Both of these items are available on our website in the download section.
HS stands for “High Speed” CAN, “LS” stands for “Low Speed” CAN, and “SWC” stand for Single Wire Channel CAN.
The majority of current applications use HS – High Speed CAN. For more details on these different types of CAN networks, see Slide 6 of the CAN Protocol Tutorial which discusses the Physical Layers.
Galvanic Isolation is a combination of magnetic and optical isolation that is used to prevent ground-loops. A signal ground wire is often connected to prevent ground differential buildup between nodes on a CANbus. If the nodes are connected to the same power source, this type of isolation may be needed on your CAN interface.
1. Choose CAN->Driver Selection->Kvaser CAN
2. If this is the first time to choose Kvaser device, a “Hardware Selection” windows will be popped up. Otherwise go to CAN->Channel Selection to choose the Hardware Channel.
3. Choose CAN->Channel Configuration, to configuration the Bus Parameters such as Baudrate, Sampling Point, SJW, Filter..etc
4. CAN->Connect to go Bus On.
To configure the Memorator, Memorator Professional, or Memorator R Semipro, you must have:
1) the Kvaser driver installed, and
2) the Memorator Tools software installed (available on our downloads page).
Using the Memorator Tools software, you can configure your Memorator device. For a thorough walk-through, watch the instructional video below:
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.
SocketCAN is a set of open source CAN drivers and a networking stack, and is included in many Linux distributions. Many Kvaser CAN interfaces are supported by SocketCAN, including Leaf, USBcan and PCI cards. The elinux.org site currently lists supported Kvaser hardware as:
**UPDATE – October 25, 2018**
Linux Kernel v4.19, is updated with support for the following devices:
- Kvaser Leaf Pro HS v2 (EAN: 73-30130-00843-4)
- Kvaser Hybrid 2xCAN/LIN (EAN: 73-30130-00965-3)
- Kvaser Hybrid Pro 2xCAN/LIN (EAN: 73-30130-01042-0)
- Kvaser Memorator 2xHS v2 (EAN: 73-30130-00821-2)
- Kvaser Memorator Pro 2xHS v2 (EAN: 73-30130-00819-9)
- Kvaser Memorator Pro 5xHS (EAN: 73-30130-00778-9)
- Kvaser USBcan Light 4xHS (EAN: 73-30130-00831-1)
- Kvaser USBcan Pro 2xHS v2 (EAN: 73-30130-00752-9)
- Kvaser USBcan Pro 5xHS (EAN: 73-30130-00779-6)
- ATI Memorator Pro 2xHS v2 (Go to ATI website)
- ATI USBcan Pro 2xHS v2 (Go to ATI website)
- Supports all PCI-[mini]PCI[e] variants
- Supports USB Leaf / Memorator / Blackbird / R
- Kvaser USBCan-II HS/LS
- Kvaser USBCan-II HS/HS
- Kvaser USBcan Rugged (“USBcan Rev B”)
- Kvaser Memorator HS/LS
- Kvaser Memorator HS/HS
- Scania VCI2 (if you have the Kvaser logo on top)
Full details can be found at http://elinux.org/CAN_Bus#SocketCAN_Supported_Controllers
If you require SocketCAN support for Kvaser products designated “v2”, please contact [email protected] for more information.
* Please note that SocketCAN is not maintained or developed by Kvaser, so Kvaser does not have direct control over which interfaces will be supported.
Our Linux driver should work on any Linux distribution with kernel headers installed, but is only regularly tested on Ubuntu.
Just plug your MagiSync™ USB devices into your computer, the rest is automatic.
Yes, of course, but the Kvaser Leafs must be on the same root hub for the Kvaser MagiSync™ to work. This means that you need to connect your hubs in a tree-like structure so they all are connected to the same root hub.
Yes, use the “Kvaser Hardware” software program (it’s in the Control Panel) to identify a MagiSync™ group.
Mat file, CSV file and Vector MFG Log files are compatible.
Yes. Just do not remove the SD card while the Memorator Professional is powered on (indicated by the green power LED). Removing the SD card while the unit is powered can lead to a corrupted card.
You can place the SD card in a card reader or copy the KMF files from the SD card to your hard drive. You then run the Memorator Tools and start the Connect wizard. Check the “Use a device other than a Memorator Professional” checkbox and hit next. You will now have the option to connect to a card reader or the KMF files directly. Once you complete the connection process, you can list the log files and run the conversion wizard like normal.
The Memorator series of dataloggers does not have a built-in way to perform playback.
In order to playback a stream of recorded CAN messages onto the bus, there are two options:
1. Extract the recorded data from the Memorator to a desired format. Then write a software application using our CANlib SDK to play the messages back on the bus using the Memorator Professional or other Kvaser USB to CAN interface (see products).
2. Kvaser also has several Technical Associates (TA’s) whose software supports playback. This would mean:
a) extracting the data from the Memorator to a format that the TA software supports, then
b) running the TA software to play the data back on to the bus using the Memorator Professional or other Kvaser USB to CAN interface.
TA software can be found on our “Associate Software” page: https://www.kvaser.com/products-services/associate-software/
Use the filters on the right side of the screen to limit the number of applications to only “Bus Analyzers”. Visit these software pages to confirm the playback feature.
The canlib32.dll used by your application comes in 32 bit and 64 bit. The appropriate version is placed in the Windows\system32 and the Windows SysWow64 subdirectories by the driver installation. So, the 32 in the dll name does not indicate 32 bit.
If you are getting an exception thrown, you could be running into one of the following:
- Missing the proper Framework version for the application target.
- The Visual Studio x64 C++ runtime is not installed. The canlibCLSNET.dlls are built using C++. So, you need the x64 bit version of the C++ runtime redistributable for the 64 bit canlibCLSNET.dll.
The Kvaser USBcan Pro 5xHS has five CAN channels integrated in a single 26-pin HD D-SUB connector. A five channel breakout cable is included. If needed, this cable can be bought separately, sen a question to [email protected] and we will help you.
Yes, FreeMASTER 2.0.7 has just been released on www.nxp.com/freemaster and it contains an early support of the Kvaser CAN interfaces. Support for Kvaser will continue to be developed; Kvaser LIN devices are not supported at this time of writing.
FreeMASTER is a user-friendly real-time debug monitor and data visualization tool that you can use for application development and information management. Supports non-intrusive monitoring of variables on a running system. You can display multiple variables changing over time on an oscilloscope-like display, or view the data in text form. As well, FreeMASTER supports additional capabilities and targets with an on-target driver for transmitting data from the target to the host computer.
Ideal for automotive, industrial or consumer applications.
CANlib is the shorthand name for Kvaser’s CANlib Software Development Kit (SDK). It is also the name for the first library contained in CANlib SDK. CANlib is used to interact with Kvaser CAN devices connected to your computer and the CAN bus. At its core you have functions to set bus parameters (e.g. bit rate), go bus on/o and read/write CAN messages. You can also use CANlib to download and start t programs on supported devices. If you can see your device listed in the Kvaser Device Guide tool, it is connected and you can communicate with it through CANlib.
The Kvaser CANlib SDK is available for free download.
AutonomouStuff has created ROS (Robot Operating System) support for Kvaser interfaces using the Kvaser Linux driver. You can find the Kvaser ROS support package and dependency information here: https://github.com/astuff/kvaser_interface
If you still have questions, please contact AutonomouStuff support at: [email protected]
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.
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.
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.