太阳集团6138(CHINA)澳门企业-环球百科 /en/record-calibration-variables-dbc-blf-tsmaster/ /en/record-calibration-variables-dbc-blf-tsmaster/#respond Mon, 25 Mar 2024 07:42:43 +0000 /?p=8208 When customers use the calibration function of TSMaster software, they have the following usage scenario: the signals in the DBC file and the calibration variables in the A2L file are recorded at the same time [...].

The post Sharing | How to Record Calibration Variables and DBC Signals to BLF File Simultaneously in TSMaster first appeared on Shanghai TOSUN Technology Ltd..

]]>
When customers use the calibration function of TSMaster software, they have the following usage scenario: the signals in the DBC file and the calibration variables in the A2L file are recorded in one record file at the same time. For this application scenario, TSMaster software provides a method to fulfill this requirement. Today, we would like to share with you how to record calibration variables and DBC signals to BLF file at the same time in TSMaster software.

KEYWORDS IN THIS ARTICLE: calibration variables, DBC signals, BLF files

Table of Contents for this article

I. Load the A2L file and add calibration variables to the graphical observation

❖ Load A2L file

Create a new ECU at the Calibration Manager Calibration page Device Configuration before loading the A2L file at the Database. The contents of the loaded A2L file are displayed on the Database page.
How to Record Calibration Variables and DBC Signals to BLF File Simultaneously in TSMaster

❖ Adding calibration variables to the measurement list

Open the Calibration page, select the calibration variable you want to observe and record in the Database page and click the right mouse button, select "Add to Measurement List only".
How to Record Calibration Variables and DBC Signals to BLF File Simultaneously in TSMaster
After adding all the variables to be observed, you can see all the variables that have been added in the Measurement List window.
How to Record Calibration Variables and DBC Signals to BLF File Simultaneously in TSMaster

❖ Add calibration variables to the graphs

In the calibration page, select the calibration data that needs to be observed and recorded in the database page and click the right mouse button, select "Add to Graph" and select the corresponding graph window (if there is no graph window to select, you can select "Create New Graphics Window").
After adding the calibration variables to the graph window, the graph window will show all the variables that have been added. Start the project at this point and you can observe the graph of the calibration variables.

II. Enabling recording of calibration variables

❖ Enable recording of calibration variables

After adding all the variables and signals to be observed to the graph window, it is necessary to enable the recording of calibrations in order to record the calibrations in the same BLF file as the DBC signals. This is done as follows:

Click System Variables on the Simulation page to bring up the System Variable Management window. Select the "Internal Variables" button under the window to select the calibration variables you want to record on the page (you can enter the keywords of the calibration variables in the "Filter" column for quick filtering).

Once you have found the variable you want to log, select it and right-click on it and select "Enable logging".

How to Record Calibration Variables and DBC Signals to BLF File Simultaneously in TSMaster

III. Adding DBC signals to graphical observation

To record both signal data and calibration data from the DBC database, you need to load the DBC database into the TSMaster software and add the signals to be observed to the graph window. The specific operation is as follows.

❖ Load DBC database

Click "Show CAN Database" in the Software Analysis - Database page, the CAN Database window will be displayed, in which you can load the DBC database. select a channel in the CAN Database window and click the right mouse button, select "Load CAN Database", a file selection window will pop up, select the database you need to load in the folder. Select a channel in the CAN database window, right click the mouse and select "Load CAN database", a file selection window will pop up, select the database you need to load in the folder.
How to Record Calibration Variables and DBC Signals to BLF File Simultaneously in TSMaster

❖ Add Message Sending

Clicking "Add CAN/CANFD Transmit" in the Analyze - Transmit page displays the CAN/CANFD Transmit window, where you can add any frame to the Transmit and set the generator type of the signal to be observed under this message.

Right-click on the CAN/CANFD Transmit window, select "Add Message from Database", select the message to be observed in the pop-up database window and click OK to add the message to the CAN/CANFD Transmit window.

How to Record Calibration Variables and DBC Signals to BLF File Simultaneously in TSMaster
When this message is selected, the signal contained in the message is displayed, and the generator type of the signal is set here.
How to Record Calibration Variables and DBC Signals to BLF File Simultaneously in TSMaster

❖ Adding signals to graphical observations

Clicking on the Graph button on the Analyze page will display the Graph window where you can add the DBC signals you want to observe.

Click the right mouse button on the left side of the graph window, select "Add CAN Signal", the database window will pop up, the user can select the signal to be observed according to the needs of the user, after the selection is complete, click OK, the signal can be added to the graph window.

How to Record Calibration Variables and DBC Signals to BLF File Simultaneously in TSMaster
How to Record Calibration Variables and DBC Signals to BLF File Simultaneously in TSMaster

Four, start the project, enable all variables and record as BLF file

In TSMaster software, click Analyze - Bus Logger button to add bus logging, then the Bus Logging window will pop up, in which you can set the save location and file naming method of BLF file.
How to Record Calibration Variables and DBC Signals to BLF File Simultaneously in TSMaster
After setting the above contents, start the project and enable all variables, click the Analyze-Start Logging button to record both the calibration variables and DBC signals into the same BLF file. When you want to stop logging, click the Analyze - Stop Logging button.
How to Record Calibration Variables and DBC Signals to BLF File Simultaneously in TSMaster

V. Bus Replay of BLF files

Before playing back the BLF file, you need to load the A2L and DBC files and add the calibration variables and DBC signals to be observed to the graphic page, and then do the following.

The BLF file is played back to view the recorded calibration variables and DBC signal data, using offline playback as an example:

How to Record Calibration Variables and DBC Signals to BLF File Simultaneously in TSMaster
  1. Open the Offline Playback page in the Bus Playback window.
  2. Right-click on the blank space and click on the pop-up function menu to select Record File - Record Module.
  3. The BLF loads in and shows up in the offline playback window.
  4. Select the BLF file on the Offline Playback page, click the Start Playback button, and finally view the signal data and message data of the calibration signals in the Graphics window and the CAN/CANFD Message Information window.
How to Record Calibration Variables and DBC Signals to BLF File Simultaneously in TSMaster

The post Sharing | How to Record Calibration Variables and DBC Signals to BLF File Simultaneously in TSMaster first appeared on Shanghai TOSUN Technology Ltd..

]]>
/en/record-calibration-variables-dbc-blf-tsmaster/feed/ 0