{"id":2748,"date":"2023-04-25T17:38:07","date_gmt":"2023-04-25T09:38:07","guid":{"rendered":"https:\/\/www.tosunai.com\/?p=2748"},"modified":"2024-04-23T16:02:44","modified_gmt":"2024-04-23T08:02:44","slug":"tsmaster-record-functional-requirements-and-practices","status":"publish","type":"post","link":"https:\/\/www.tosunai.com\/en\/tsmaster\u7684\u8bb0\u5f55\u529f\u80fd\u9700\u6c42\u4e0e\u5b9e\u8df5\/","title":{"rendered":"Best Practices Guide for TSMaster Data Logging and Trace Replay"},"content":{"rendered":"
1.1 I'm a beginner, how do I start using the TSMaster record module?<\/p>\n
1.2 When testing, I always forget to start recording messages, how can I achieve [automatic recording] of message traces after the project starts?<\/p>\n
1.3 I want to implement [specific messages] recorded to [different blf files] for [different channels] How to configure?<\/p>\n
1.4 When recording for a long period of time, is the record file by [file size] or by [number of message frames]? Is it better to create a new log file or All in [Unlimited] to generate one log file?<\/p>\n
1.5 How can a recorded blf file be quickly converted to asc file and mat file formats?<\/p>\n
1.6 Can recorded blf files be merged or split?<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t 1.1 I'm a beginner, how do I start using the TSMaster record module?<\/b><\/p> Step1: The logging module is located in the main menu [Analysis] -> [Bus Logging].<\/span> Step2: [Add Bus Record] module, you can add multiple record modules.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t Step3: Set the record data folder path.<\/p> Case1:When \"Default\" is checked, the log files are saved in the default project \\Logging\\Bus\\ folder; Case1:When \"Default\" is checked, the log files are saved in the default project \\Logging\\Bus\\ folder. Bus\\ folder:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t \u25cf Case2: Remove \"Default\", and you can click \"...\" to choose a custom save path:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t Step4: Data file name naming, you can manually enter a custom name, such as \"Model 1\", \"ECU1\", you can also add the project name, system time, user name, etc. in [Name Rules].<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t Step5: Click the Start Logging button to start logging bus messages, with pause and stop logging buttons.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t 1.2 When testing, I always forget to start recording messages, how can I achieve [automatic recording] of message traces after the project starts?<\/b><\/p> \u25cf\u00a0<\/span>Simply click on the lightning bolt button at the top right of the bus logging module to activate the automatic start logging function.<\/span> \u25cf The bus logging function will start automatically when the project is started.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t 1.3 I want to implement [specific messages] recorded to [different blf files] for [different channels] How to configure?<\/b><\/p> For example: you want to record the message of channel 1 into the blf file named \"model 1\"; record the message of channel 2 into the blf file named \"model 2\", and record only the message ID starting with 6.<\/span><\/p> Step1: First create two bus record modules, \"Bus Record\" and \"Bus Record #2\", and name each record file name.<\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t Step2: Open [Measurement Settings], select bus record and bus record #2 respectively, right click-insert filter.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t Step3: Configure the filters separately: the bus record is set to [pass] any message of CAN1.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t Bus record #2, set to [via] CAN2, add identifier range and filter set to identifier start: 0x600 \/ identifier end: 0x6FF<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t Recorded results validation:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t 1.4 When recording for a long period of time, is the record file by [file size] or by [number of message frames]? Is it better to create a new log file or All in [Unlimited] to generate one log file?<\/b> Depending on the test occasion, different log file sizes can be configured for generation.<\/span><\/font> \u25cf Unlimited: Only one record file is generated, and all messages are saved in this file.<\/p> \u25b2 Note: It is generally not recommended to use infinite mode when recording for a long time, because recording all messages to one file for a long time will cause the record file to be too large to open or take up too much computer memory during the recording process and cause the record file to be lost.<\/p> \u25cf When the number of frames is greater than xx frames: create a new record file with the number of message entries.<\/span><\/p> For reference: a CAN standard frame with one million message count has a file size of approximately 4.5M.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\tFull text<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
<\/b><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
<\/b><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
<\/p>\n
<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t