News

30/09/2022 by Kvaser

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 something like: