17 Search Result
Library Results
Introduction to Environment Variables
Environment variables are used to communicate between different t programs or with a PC using CANlib. Figure 1 shows three scripts that are currently running on a Kvaser device. When Script 1 sets an environment variable, the new value will be available for reading in the other scripts, as well as from a PC using CANlib. In […]
Kvaser TRX and Environment Variables
In this last part of the environment variable series, we’ll see how we can interact with environment variables using the Kvaser TRX. Kvaser TRX is a light weight IDE for developing t programs for Kvaser devices and is included in the CANlib SDK 1. Full program listings are available on http://github.com/Kvaser/developer-blog.
t Landing Page
The t programming language is compiled on the developer’s PC into efficient byte code for execution on t-capable hardware i.e. the Kvaser USBcan Pro or Memorator Pro series. As an event driven language – where the program flow is determined by events such as incoming CAN messages – t programs support functions that respond to events, such as timers, floating point […]
t Script Roadblock Resolutions: Implementing a Program Flow Using Hooks
If you are familiar with t scripts, you know that they are based on “hooks”. Hooks are like interrupts. The runtime engine waits for these hooks, then executes the code that is inside its code block. For example, let’s say you need to respond to a CAN message with an ID of 0x200. The t script code would look […]
t Script Roadblock Resolutions: 3 t script resources you can’t do without
We have been using t-Scripts to tackle a wide variety of cases lately. Here’s a list for a little inspiration for your projects: handheld reflashing/recalibration tools node simulators CAN FD gateways with data encryption light Hardware-In-the-Loop controllersWith each project, there are hurdles to overcome, and it seems like we consistently revisit 3 resources.
Accessing Environment Variables from CANlib
This is the second post in a 3-part series about Environment Variables in t programs: Introduction to Environment Variables Accessing Environment Variables from CANlib Kvaser TRX and Environment Variables The first post in this series introduced the environment variable and showed how the environment variable can be used in a tprogram. This second post shows how environment variables […]
Getting Started with t Programming
The new Kvaser professional products have script feature called t. The t language is a ‘c like’, event oriented language. The t-programs run on the device and can be loaded and started either from a pc or autonomously on the device. This is a short introduction to get started with t programming.
ICC2020 Improved CAN-driver KL
ICC2020 paper written by Kent Lennartsson.
Virtual CAN Bus
This whitepaper is based on a presentation that was made to SAE’s J1939 NextGen committee in September 2018. The paper proposes a theoretical solution to CAN’s low bandwidth, suggesting that a Virtual CAN Converter (VCC) cooperates with the standard CAN Controller in instances where it would be beneficial to transmit CAN information on a high-speed physical layer, such as Ethernet. By employing a VCC that multiplexes CAN with another protocol with a higher bitrate for requirements other than system control, CAN’s many unique advantages would be retained, including the independency of the design and execution of control tasks, and a faster bitrate could be achieved.
An Introduction to J1939 and DBC files
This is an introductory guide to understanding and working with J1939 DBC files.