I2C SPI USB CAN eSPI Cable Testing View All Videos Quick Start Guides Software Downloads App Notes White Papers User Manuals Knowledge Base Sales Support About Us
Products Blog Sales Support Contact Search
What are the Options to Batch and Store CAN Messages with the Komodo CAN Duo Interface?
Rena

Question from the Customer:

I am using a Komodo CAN interface. Is there a way to access data from CAN messages from the batch script, not just sending messages? Also, how can I store the received CAN messages in a file?

Response from Technical Support:

Thanks for the questions! Total Phase offers two options for sending and receiving CAN data with a Komodo CAN Duo Interface -  the Komodo GUI Software or the Komodo Software API, both of which are Windows, Linux, and Mac OS X compatible and available as free downloads.

 

Komodo CAN Duo Interface Komodo CAN Duo Interface

When using the Komodo GUI in batch mode, you can send and receive CAN data and then export the transaction log to a csv file. The Komodo GUI supports many other features, including periodic messaging and configuring the GPIO interface. For more information about the available features, please refer to section 3 of the Komodo GUI Software User Manual.  

Export Data from Komodo GUI Export Data from Komodo GUI

The Komodo Software API is a more flexible option for an engineers who wants create their own custom applications.  The API provides example programs that can be used as is or customized to meet your requirements. In your case, to save the data in a separate file, you will need to customize the API. The Komodo Software API supports multiple operating systems (Windows, Linux, and Mac) as well as multiple languages (C, Python, Net, and C#). It also includes program examples, following is a list of those provided with the Komodo API:

  • detect: Detect Komodo devices attached to the system.
  • async: Uses the asynchronous interface to send packets on CAN channel A.
  • gpio: Performs simple GPIO operations with a Komodo interface, including monitoring the pins for voltage changes.
  • monitor: Monitors CAN bus and GPIO activity. This program prints out timestamps, status messages, errors messages, and data.
  • request: Requests data from specified CAN ID and prints the received data.
  • loopback: Demonstrates how to open ports, acquire features, write and read data. This example connects CAN channels A and B together with a properly-terminated cable. Please note, this example applies only to CAN Duo interfaces.

For additional information about the Komodo API, please refer to section 5 of the Komodo CAN Interface User Manual.

Additional resources that you may find helpful include:

We hope this answers your questions. If you have other questions about our CAN interface or other Total Phase products, feel free to email us at sales@totalphase.com.  If you already own one of our devices and have a technical question, please submit a request for technical support.