With each project, there are hurdles to overcome, and it seems like we consistently revisit 3 resources. Let me share:
Yes, t-Script examples are included (and hidden!) in their SDK (you can download the latest SDK from Kvaser’s site here). After installation, you can find them in this Windows directory-> C:\Program Files (x86)\Kvaser\Canlib\Samples\tScript. You will find examples from the ubiquitous “Hello World” sample to more niche samples that walk you through how to use a Database Container File (.dbc file or DBC file), and File I/O. Make sure to check out the Learn More/Misc subdirectory as well.
This is the handbook of t The easiest way to access it is to open up TRX (the t Script IDE) click on “Help” from the upper toolbar, and select “Open the Kvaser t Language Manual.”
This is a life saver for tracking down any problem you run into. You can use simple implementations of this like printf(“Reached Condition A”); to make sure a code block is reached.