Tips and tricks for using TSMaster's real-time annotations in graphics

In the sea of automotive bus data, we often capture a huge number of messages and signals. However, how to quickly mark, locate and interpret those critical events in these fast-scrolling data streams has become a major challenge for engineers. For TSMaster Bus Analysis module, I have compiled 7 related practical tutorial articles for you. In this issue, we will unlock the [TSMaster Bus Analyzer 1] - Real-time annotations in the graph of the use of skills.

Keywords:TSMaster, real-time annotation, automated annotation


Before we get into tips on using real-time annotations, let's understand what a real-time annotation is and what it does.

Real-time annotation is a function used in graphs, which is mainly implemented by placing a vertical cursor as a marker in the graph window in real time. The marker can not only annotate and locate the signal sampling point in real time, but also record it in the blf file, so that we can easily view the corresponding signal point at the annotation.


1. Directly annotate as follows:

(1) Create a graphical module by clicking the right button to import signals for observation.

Tips for using real-time annotations

(2) Start the project, click the live annotation icon in the analysis and perform live annotation, you can see that the live annotation cursor has been hit on the graph at this time.

Click on the Live Annotation icon in Analytics and perform live annotations
The real-time annotation cursor hits the graphic

(3) Click on the live annotation bar in the graph to see the annotated cursor and its timestamp, and click on the cursor option to locate the time point of the live annotation for easy observation.

The annotated cursor and its timestamp

2. Use the script to automate annotations as follows:

(1) Create a graphical module by clicking the right button to import signals for observation.

Tips for using real-time annotations

(2) To write a script for automated commenting, first create a callback event, then write the comment condition in the event, and then use the app.write_realtime_comment() function to complete the automated commenting implemented in the script.

Scripting automated annotations

(3) Start the project and start the script, observe the graphic window, and find that when the signal value reaches the judgment condition in the script, a real-time annotation will be performed, and the automatic annotation effect is achieved.

Start the project and launch the script

3. The use of real-time annotations in recording and playback proceeds as follows:

(1) First of all, we implement the automatic annotation according to the method of automatic annotation, then we start the project and turn on the bus record.

Start the project and turn on bus logging

(2) Stop the project, add the recorded blf file to the bus playback, we use offline playback here to facilitate rapid observation of the recorded graphics, playback is complete, open the graphics window, click on the real-time comments column, found that the real-time comments are also synchronized back to the blf file, so that we can record the direct location of the signal sampling point to view.

Stoppage of works

(3) If there is no real-time annotation in the record, then we can also synchronize the annotation to achieve the same effect in the playback, first of all, it is also the first script to achieve automatic annotation, and then playback, you can see that it also achieved with the real-time annotations recorded to the same effect in the blf file (the following chart).

No real-time annotation at the time of recording
Scripts to automate annotations
Automatic commenting after playback

Which feature of TSMaster are you most interested in? Or what problems have you encountered in practical applications?

Welcome to share your experience or questions in the comment section, any ideas or suggestions can also be comment section message interaction, will have the opportunity to win the TOSUN mystery gift bag Oh ~!

Tip:
1. Software download:
Click on the software download link below to download and install directly, beta version is recommended:

2. Software upgrades:
You can check for upgrades to the latest version within the software, provided that your computer has an Internet connection.

Note: TOSUN Technical Support Email:support@tosunai.cnWe welcome inquiries! (Company and contact information must be indicated)
×
×

产品入口: 产品添加到购物车

XML 地图