CAN Bus Logger CLX000: How To Get Started

Congratulations on your CLX000!

Ready to get started?

In this guide we’ll take you step-by-step - from unboxing to data insights!

Key topics include,

  1. Testing your CAN logger out-of-the-box
  2. Configuring the logger via CANvas
  3. Converting your raw CAN bus data in CANvas
  4. Streaming real-time CAN data via CANvas & Wireshark

Let’s go!






1

CONNECT IT!

The CLX000 is ready to log data out of the box!

With auto bit-rate detection, you just connect the logger to your CAN application - e.g. a car, truck or production line.

The logger uses a DB9 connector, so you may need an adapter cable (e.g. for a car you’ll likely need a DB9-OBD2 adapter).
We offer adapters for OBD2, J1939 and ‘generic’ use. 

You can of course choose another adapter - just make sure the pin-out matches the CLX000.


When you connect the CLX000 to the CAN bus, you’ll see the status via the three LEDs - check our brief video guide to the right on how to interpret these.

If the logger successfully auto detects the bit rate, it will now be logging CAN bus data to the SD card!

Notice how the yellow and red LEDs flash to indicate CAN bus activity and data being written to the SD card.

Now let's check out the data!

After a few minutes of logging, disconnect the logger and connect it to your PC via USB.

The logger will show up as an external drive - open it and transfer your log file.

Great! You have now logged your 1st raw CAN bus data file! Below is an example of what it can look like:

.txt file not loaded correctly?

 

 


No data? Check our top 3 reasons:

  1. Custom Adapter Cable: Using an adapter cable not bought via us? Check if the pin-out is correct and check the physical wiring. The CAN-L/CAN-H and supply wires must be connected correctly to the respective pins of the DB9
  2. Non Standard Bit Rate: The logger ‘auto detects’ standard bit rates (cf. list in our manual). However, if the bit rate is inaccurate or non-standard, it must be set manually in the CONFIG.INI file
  3. No Data Broadcasted: In some cases, the application does not broadcast high speed CAN data - to check if this is the case, try logging data via an alternative device or test the CLX000 in a different application (e.g. a car)





2

CONFIGURE YOUR CAN LOGGER IN CANVAS

Our free software CANvas is a must-have!

With this, you are able to configure your logger, stream real-time data & convert your logged data.

Once you’ve tested that you can log data it’s time to configure your logger.

Download CANvas, open it and click ‘CONFIGURE CANLOGGER’.

Configure CAN Logger X000 in CANvas

Here, start by selecting the correct logger type (1000/2000/3000).

You’ve got a lot of options - let’s highlight a few key ones:

  1. Logger ID: We strongly recommend to give each of your loggers a unique ID
  2. File Split Limit: Use this to cap the size of log files at a specific #MB
  3. Cyclic Logging: Turn this on to delete oldest files first when the SD is full
  4. Adjust Real Time Clock: Adjust the real-time clock to your timezone

Note: If you've got a CL3000, you'll definitely want to configure WiFi and potentially FTP settings.

Once you've set up the configuration, click the "Export" button to export the CONFIG.INI file to the logger's SD card.

This also saves an XML file on the SD with your configuration, which can be loaded again in CANvas.


CANvas Configure CAN Logger Data

We also recommend to check out our brief CANvas video for a video walkthrough!

Note: Your CANvas version must match your logger’s Firmware - go to Downloads for latest of both! Further, if you wish to check your logger's Firmware version you can open the 'FIRMWARE_VERSION.TXT' from the SD card.





3

CONVERT YOUR DATA

Now you’ve logged some raw CAN bus log files - how do you interpret them?

To do so, you need a set of ‘conversion rules’.

I.e. for a specific CAN ID, you’ll need to know what part of the 8 data bytes to read - and how this should be scaled and offset. 

For more on this, check our simple intros to CAN bus, OBD2 and J1939.

In CANvas you can easily enter your conversion rules - or load a *.DBC file.

After this, simply load your raw log files and hit convert.

You now have human-readable data - ready for analysis!

For more on your conversion options, check out the below articles:

CAN bus convert raw data to human-readable form with CAnvas




4

STREAM CAN BUS DATA IN WIRESHARK

Want to stream real-time CAN bus data to your PC via USB?

With the CLX000 you can easily do this.

We leverage the popular Wireshark platform as user interface.

To get started, go through the following steps:

  • Download Wireshark 2.4 and install it
  • During installation, make sure to enable “Wireshark 1” as well
  • Next, connect the logger to the CAN bus and then to your PC via USB
  • Open CANvas, go to ‘LIVE STREAM DATA’, click Connect and then Start

! CANvas will promt you to auto-install our Wireshark Plugin.

! In rare cases, you may need to manually install USB drivers.

You will now be streaming data in Wireshark - ready to analyse!

A few starter tips (incl. links to in-depth articles)

Overview: How to Access Most Common Wireshark Features

In this section we briefly list how to find the most commonly used Wireshark features - incl. from our plugin.

OBD2 Conversion Real-Time Data

Convert OBD2 data: If you wish to decode OBD2 data in real-time, right click on an OBD2 response message (ID 7e8), choose “Decode As …” and select OBD-II from the list. You should now see message descriptions and converted data. This feature of course requires that your CLX000 is configured to log OBD2 data.

Reverse Engineer CAN Bus Data Real-Time

CAN Live IDs: This plugin feature lets you analyze one row per CAN ID, showing only changes in data values - great for reverse engineering. You can open the CAN Live IDs tab under Statistics while you're streaming data. To modify the tab settings, go to Edit/Preferences/Statistics/CAN Live.

CAN Bus DBC Conversion Wireshark

Use DBC Conversion: When you stream CAN data in Wireshark, you'll see the raw data, cf. the picture. To load a DBC file, go to "Edit/Preferences/Protocols/CAN DBC". Next, click Edit and browse your way to your *.DBC database. After this, specify "DBC type" to distinguish between regular and J1939. Finally, right-click a CAN Message and click Decode As and choose “CAN DBC”

Wireshark Columns CAN Bus Customize

Configure your columns: We prefer to use a view as seen in the below screen. To match this, you can remove columns (right click them) and add new ones by right-clicking the respective fields in the middle view box (choosing “Add as Column”).

CAN Bus Plot Graph Real-Time

Plot your data: If you wish to show converted CAN or OBD2 data in a graphical plot, you can do so by choosing Statistics/IO Graph. Here you can add up to 5 graphs. In the “Y Field”, simply write e.g. “obd-ii.mode01” and you’ll get a drop-down of PID options. In the “Y Axis” drop down, choose “AVG(Y Field)” and finally click the checkmark to the far left to plot the data.

Wireshark CAN Bus Filters

Add filters: You can add filters by writing in the “Filter:” text field in the top left corner of the main window. Say you’re streaming OBD2 data with both the “request” (ID 7DF) and “response” (ID 7E8) and you want to look only at the latter. Here, Simply write “can.id == 0x000007e8” in the filter. It’ll turn green to show that it’s valid and you can click enter.

CAN Bus Colorized Messages

Use colorization: Filtering can also be used for conditional formatting. Looking to quickly spot the occurrence of a particular CAN message in your stream, e.g. when sniffing out CAN messages? By right clicking a field in the middle part of the window you can e.g. color all occurrences red where a specific CAN message contains a specific range of data bytes. In the OBD2 context you can e.g. color Vehicle Speed yellow when the ‘Converted value’ goes above 50 km/h and red when above 50 km/h (cf. the figure).

CAN Bus Custom Output Format via Wireshark

Save data in a common format & load log files: Wireshark lets you easily save recorded data in various formats. Simply go to File/Export Packet Dissections to select format (*.txt, *.ps, *.csv, *.psml, *pdml, *.c, *.json) and settings. Further, you're also able to load a CLX000 log file and analyse it using Wireshark using the plugin.





RESOURCES & NEXT STEPS

You should now be ready to use your CLX000!


For more guidance, check our key resources:



Of course, you can always reach out to us - we aim to get back in < 24 hours!

We hope this has helped you get started in a simple way!




This site uses cookies to enhance your experience

OK!