Book Name:TSMaster Development from Beginner to Master
Book number:9787302667193
Author:Yang Jinsheng Liu Chu Liu Gongshen
Pricing:99.80
This book aims to help the majority of R&D engineers in the automotive industry to quickly master the basic application of TSMaster, simulation development, diagnostics and automated test implementation and other practical skills to improve work efficiency and shorten the development cycle. Provides source code and QQ Q&A group.
Another masterpiece from the author of CANoe Development from Beginner to Master!
This book follows the principle of going from the shallow to the deep and divides the content into three parts in three chapters. The basic part firstly introduces the related knowledge of on-board network, and then introduces the TSMaster development environment and the use of common functions, so that beginners can master the use of TSMaster to carry out general bus simulation, testing and analysis; the introductory part firstly guides the readers to develop the first TSMaster simulation project, and then combines the examples to focus on the bus database, panel design, and C small The advanced chapter combines the technical difficulties that the majority of development engineers may face, and introduces some typical examples from simple to complex, in order to improve the readers' practical skills.
This book can be used as a reference material for teachers and students of vehicle engineering, electronic information, electrical engineering, automatic control and other related majors in ordinary colleges and universities, as well as a tool for those who are engaged in the development and testing of automotive electronic hardware and software.
- Hardware and software developer for the automotive industry.
- Test and verification personnel in the automotive industry.
- Faculty and students of universities and colleges majoring in automotive electronics related fields.
- Engineers who want to work in automotive electronics development and testing.
Part I. Foundations
Chapter 1 In-vehicle Network Basics
1.1 Origins of in-vehicle networks
1.2 CAN bus overview
1.2.1 Brief history of the CAN bus
1.2.2 CAN bus characteristics
1.2.3 CAN bus main applications
1.2.4 Introduction to the CAN-FD Protocol
1.2.5 Introduction to the CAN-XL Protocol
1.3 LIN bus overview
1.3.1 Brief History of the LIN Bus
1.3.2 LIN bus characteristics
1.3.3 LIN bus main applications
1.4 FlexRay Bus Overview
1.4.1 Brief History of the FlexRay Bus
1.4.2 FlexRay bus characteristics
1.4.3 FlexRay bus main applications
1.5 Introduction to major in-vehicle networks
1.6 Development trend of in-vehicle network
Chapter 2 TSMaster Overview
2.1 Introduction to TSMaster
2.2 TSMaster Installation
2.2.1 System configuration requirements
2.2.2 Download path
2.2.3 Automatic updates
2.2.4 Installation process
2.3 About TSMaster Authorization
Chapter 3 Introduction to the TSMaster Development Environment
3.1 Introduction to the User Interface
3.2 TSMaster Main Menu
3.2.1 Menu options
3.2.2 New construction
3.3 Functional areas
3.3.1 Analyzing functional areas
3.3.2 Hardware Functional Area
3.3.3 Program Functional Area
3.3.4 Simulation Functional Area
3.3.5 Testing functional areas
3.3.6 Application functional areas
3.3.7 Engineering functional areas
3.3.8 Tools ribbon
3.3.9 Help ribbon
3.4 Common Shortcuts
3.5 General functions
3.5.1 Drag-and-drop functionality
3.5.2 Common Window Buttons
3.6 About the TSMaster Project
3.6.1 TSMaster Project Catalog
3.6.2 Release of works
3.7 About the classic example EasyDemo
Chapter 4 Hardware Configuration
4.1 Hardware Channel Mapping
4.2 Significance of TSMaster channel mapping
4.3 On virtual channels
4.4 Loading Hardware Drivers
4.5 Channel Configuration
4.5.1 Selecting a Hardware Channel
4.5.2 Bus hardware
4.5.3 Channel Mapping Editor
Chapter 5 Introduction to Bus Measurement and Analysis
5.1 Measurement settings window
5.1.1 Introduction to functions
5.1.2 Data stream filtering
5.1.3 Measurement filtering module
5.1.4 Enabling/Disabling Filtering Conditions
5.2 System Message Window
5.2.1 Toolbars
5.2.2 Message types
5.3 Real-time comment window
5.4 Message information window
5.4.1 Toolbars
5.4.2 Message filter settings
5.4.3 Message information list items
5.4.4 Display of signals
5.4.5 Shortcut menu
5.5 Message sending window
5.5.1 Toolbar
5.5.2 Message delivery list entries
5.5.3 Signal Lists and Data Bytes
5.5.4 Introduction to Signal Generators
5.6 Graphical windows
5.6.1 Toolbars
5.6.2 Toolbar display settings
5.6.3 Toolbar Setting Options
5.6.4 Signal List Bar
5.7 Numeric Display Window
5.7.1 Toolbar
5.7.2 Modifying signal display settings
5.8 Dashboard Window
5.8.1 Toolbar
5.8.2 Setting Signal Properties
5.9 Statistics window
5.9.1 CAN Statistics window
5.9.2 Toolbars
5.10 Bus Record Window
5.10.1 Toolbar
5.10.2 Shortcut menu
5.11 Bus Playback Window
5.11.1 Toolbar
5.11.2 Offline playback
5.11.3 Online playback
5.12 Record converters
5.13 Video Playback Window
Chapter 6 Introduction to the Basic Functions of Bus Emulation
6.1 System variables
6.1.1 System Variable Manager
6.1.2 Internal variables
6.1.3 User variables
6.2 Signal Mapping
6.2.1 Introduction to functions
6.2.2 Direct mapping
6.2.3 Expression Mapping
6.2.4 Mapping direction
6.3 Signal Excitation
6.3.1 Adding a Signal Excitation Window
6.3.2 Setting the excitation signal
6.4 Residual Bus Simulation
6.4.1 Residual Bus Simulation Overview
6.4.2 Configuration of Residual Bus Emulation
6.5 The "God's Eye" Mechanism for TSMasters
6.5.1 Degrees of freedom for applet scripts
6.5.2 Message reception event concepts for applets
Part II Getting Started
Chapter 7 Developing Your First TSMaster Simulation Project
7.1 Introduction to the first simulation project
7.2 New Simulation Project
7.3 Adding a CAN database
7.4 Creating panels
7.5 Writing C applets
7.6 Simulation scheme for the ECU to be tested
7.7 Running the test
Chapter 8 Introduction to Bus Databases
8.1 Basic Bus Database Concepts
8.2 CAN database window
8.2.1 Toolbars
8.2.2 Adding CAN database files
8.2.3 Channel assignment
8.2.4 CAN database information view
8.2.5 Database Field Definition View Area/Layout View Area
8.3 LIN Database Window
8.4 FlexRay Database Window
Chapter 9 Panel Design
9.1 Introduction to the Panel Design Window
9.2 Toolbar
9.3 Introduction to the TSMaster Control
9.3.1 Standard control list
9.3.2 Basic control operations
9.3.3 Introduction to Common Attributes
9.4 Introduction to Typical Controls
9.4.1 Text boxes
9.4.2 Input and output boxes
9.4.3 Buttons
9.4.4 Switches
9.4.5 Indicator lights
9.4.6 Image buttons
9.4.7 Path button
9.4.8 Instruments
9.4.9 Graphics
9.4.10 Pie charts
9.4.11 Relationship diagrams
9.4.12 Containers
9.4.13 Start Stop Button
9.5 Mechanisms for Panel Triggered Events and Displays
9.5.1 Trigger event mechanism
9.5.2 Mechanisms for displaying values
9.6 Multilingual Support Panel
9.6.1 Creating a panel
9.6.2 Activation of functions for multilingual support
9.6.3 Creating Multilingual Translation Files
9.6.4 Testing the Multilingual Panel
Chapter 10 C Code Programming Fundamentals
10.1 C Code Overview
10.2 C Code Editor
10.2.1 Toolbars
10.2.2 Object Browsing Area
10.2.3 Function Browsing Area
10.2.4 Attribute Edit Area
10.2.5 Code Edit Area
10.2.6 Real-time variable viewing area
10.2.7 Immediate Document Viewing Area
10.2.8 Compile Output Area
10.2.9 API Documentation Viewing Area
10.3 C code running mechanism
10.3.1 Step function
10.3.2 Timer Definitions and Trigger Events
10.3.3 CAN receive events
10.3.4 CAN transmit events
10.3.5 CAN pre-transmission events
10.3.6 LIN receive events
10.3.7 LIN send events
10.3.8 LIN pre-send events
10.3.9 Variable change events
10.3.10 Program startup events
10.3.11 Key events
10.3.12 Program stop event
10.3.13 Custom Functions
10.4 Common Variable Types and Structures
10.4.1 C Basic Data Types
10.4.2 Common TSMaster Data Types
10.4.3 TSMaster Common Structures
10.5 Applet Variables
10.5.1 Creating Applet Variables
10.5.2 Applet variable types
10.5.3 Monitoring of Applet Variables
10.5.4 Panel access to applet variable types
10.5.5 C applet access to applet variable types
10.5.6 Variable change events
10.6 Database signaling operations (database-based)
10.6.1 Reading signal values
10.6.2 Modifying signal values
10.7 Database signaling operations (based on residual bus simulation)
10.7.1 CAN residual bus simulation setup
10.7.2 Reading signal values
10.7.3 Modifying signal values
10.8 System Variable Access
10.8.1 Panel correlation system variables
10.8.2 Applets reading and writing system variables
10.9 Introduction to the TSMaster API Library Functions
10.9.1 The app function library
10.9.2 The com function library
10.9.3 The test library
10.9.4 Function Return Value Definitions
Chapter 11 C Code Programming Techniques
11.1 Zero-Code Paste Method
11.1.1 Code Generation via the Send Message Window
11.1.2 Code generation via the message information window
11.1.3 Code Generation via the Residual Bus Simulation Window
11.1.4 Code Generation via System Variable Manager
11.2 Quick Copy Signal Path
11.3 Online Help for TSMaster Library Functions
11.4 Calling the C++ Standard Library
11.4.1 Adding headers to global definitions
11.4.2 Adding String Handling Code
11.5 Calling Windows Library Functions
11.6 Common debugging methods for applets
11.6.1 Debugging Code with the System Message Window
11.6.2 Floating windows
11.6.3 Debugging Code with Applet Variables
11.7 Debugging Code in the Visual Studio Environment
11.7.1 Preparing Code for Debugging
11.7.2 Generating code to debug a project
11.8 Application of the applet library
11.8.1 Introduction to the Applet Library
11.8.2 Development of applet libraries
11.8.3 Use of applet libraries
11.8.4 Management of the applet library
Chapter 12 Introduction to Simulation Engineering Development - CAN/CAN FD
12.1 Bus Emulation Engineering Development Process and Strategy
12.1.1 Development process
12.1.2 Simulation Engineering Development Strategy
12.2 Introduction to Project Examples
12.2.1 Network Topology Diagram
12.2.2 Realization of functions
12.3 Project realization - IPC test environment simulation project
12.3.1 Creating a Simulation Project
12.3.2 Introduction and import of DBC files
12.3.3 CAN residual bus simulation setup
12.3.4 System variables
12.3.5 Panel design
12.3.6 C Code Implementation
12.4 Engineering Realization - IPC Simulation Project
12.4.1 CAN residual bus simulation setup
12.4.2 System variables
12.4.3 Panel design
12.4.4 C code implementation
12.5 Engineering Operational Tests
Chapter 13 Getting Started in Simulation Engineering Development - LIN
13.1 Common API Functions for the LIN Bus
13.2 Introduction to Project Examples
13.2.1 Network Topology Diagram
13.2.2 Realization of functions
13.3 Engineering Realization
13.3.1 Adding LIN bus support
13.3.2 Database LDF file imports
13.3.3 Adding system variables
13.3.4 Panel design
13.3.5 C Code Implementation
13.3.6 Setting the page layout
13.4 Engineering Operational Testing
Chapter 14 Introduction to Simulation Engineering Development - FlexRay
14.1 FlexRay Basics
14.1.1 Common Terms
14.1.2 Dynamic and Static Frames
14.1.3 FlexRay Cold Start Mechanisms
14.2 Common API Functions for the FlexRay Bus
14.3 Introduction to Project Examples
14.3.1 Network Topology Diagram
14.3.2 About FlexRay's Cold Start Node
14.4 Project Example Realization
14.4.1 Importing an XML database
14.4.2 Setting up hardware channels
14.4.3 Setting up residual bus emulation
14.4.4 Panel Design - Control
14.4.5 Panel Design - Display
14.4.6 C code implementation
14.5 Engineering Operational Tests
Part III Advancement
Chapter 15 Simulation Engineering Development Advanced Ⅰ - Testing
15.1 ECU Testing Overview
15.2 Testing API Functions in Detail
15.2.1 Error Detection Functions
15.2.2 Result Determination Functions
15.2.3 Signal Detection Functions
15.2.4 Log generation functions
15.2.5 Report Generation Functions
15.3 Introduction to Project Examples
15.4 Project Example Realization
15.4.1 Test Method Design
15.4.2 Creating a Test System Project
15.4.3 User rights management
15.4.4 Test system configuration
15.4.5 DUT parameter management
15.4.6 Test parameter management
15.4.7 Test Case Creation Methods
15.4.8 Simulation of the component under test
15.4.9 Test Case Execution and Debugging
15.4.10 Test Report Templates and Generation
15.4.11 Test Log View
15.5 Engineering Operational Tests
15.5.1 Normal mode
15.5.2 Error injection mode
Chapter 16 Advanced Simulation Engineering Development II - Diagnostics
16.1 Overview of Automotive Diagnostics
16.1.1 Diagnostic terminology
16.1.2 OBD Diagnostics and Enhanced Diagnostics
16.1.3 Diagnostic protocols
16.1.4 Diagnostic interface
16.1.5 Diagnostic cycle
16.1.6 UDS diagnostic services
16.2 Introduction to the TSMaster Diagnostic Function
16.2.1 Transport Layer (ISO TP) Parameter Configuration
16.2.2 Basic diagnostic configuration
16.2.3 Diagnostic console
16.2.4 Automated diagnostic processes
16.3 Introduction to Project Examples
16.4 Project Example Realization
16.4.1 Simulation of the measured part
16.4.2 Transport layer configuration
16.4.3 Creating Associated System Variables
16.4.4 Basic diagnostic configuration
16.4.5 Automated diagnostic process realization
16.4.6 Setting up the control panel
16.5 Engineering Operational Tests
Chapter 17 Simulation Engineering Development Advanced III - Calibration
17.1 ECU Calibration Overview
17.1.1 ASAM Standards Organization
17.1.2 Introduction to Diagnostic Protocols
17.1.3 XCP packet types
17.1.4 XCP data structure
17.1.5 On the measurement model
17.1.6 On A2L documents
17.2 Introduction to the TSMaster Calibration Function
17.2.1 TSMaster Main Calibration Functions
17.2.2 Calibration Window
17.2.3 Calibration Data Manager
17.2.4 A2L synchronization module
17.2.5 On TSMaster calibration authorization
17.3 Introduction to Project Examples
17.4 Project Example Realization
17.4.1 Creating an XCP Calibration Project
17.4.2 Importing databases
17.4.3 XCP Settings
17.4.4 DAQ Settings
17.4.5 Memory settings
17.4.6 Adding a list of measurements
17.4.7 Recording engine settings
17.5 ECU Simulation for Calibration
17.6 Engineering Operational Tests
17.6.1 Updating Simplex Calibration Parameters
17.6.2 Updating calibration parameters such as curve type and Map type
17.6.3 Viewing log files
17.7 On automated calibration techniques
Chapter 18 Advanced Programming for TSMaster - Python Calls to COM Interface Technology
18.1 Introduction to COM Interface Technology
18.2 Introduction to TSMaster COM Server
18.3 TSMaster COM Server Interface Functions
18.3.1 TSApplication class interface functions
18.3.2 TSFormManager Class Interface Functions
18.3.3 TSCOM Class Interface Functions
18.3.4 TSDB Class Interface Functions
18.3.5 TSLog Class Interface Functions
18.3.6 TSMP Class Interface Functions
18.4 Introduction to Project Examples
18.5 Project Example Realization
18.5.1 Manipulating the TSMaster Application APIs
18.5.2 Creating TSCOM Objects
18.5.3 Running and stopping the RBS
18.5.4 Sending asynchronous messages
18.5.5 Adding a periodic message
18.5.6 Reading and writing signal values
18.5.7 Reading and writing system variables
18.5.8 Outputting Logs in the System Message Window
18.5.9 Complete Code
18.6 Engineering Operational Tests
Chapter 19 Advanced Programming for TSMaster - Python Applet Development
19.1 Introduction to the Python applet development environment
19.1.1 Checking the Python development environment for TSMaster
19.1.2 Debugging Environment Settings
19.2 Introduction to Common Functions for Python Applets
19.2.1 Generic functions
19.2.2 app class functions
19.2.3 Common functions of the com class
19.2.4 Common functions of the test class
19.3 Common class definitions
19.3.1 RawCAN class
19.3.2 CANSignal class
19.4 Introduction to Engineering Examples
19.5 Project Example Realization
19.5.1 Implementation of EasyDemo
19.5.2 Adding Custom Functions
19.5.3 Calling Custom Functions
19.5.4 Python Complete Code
19.6 Engineering Operational Tests
Chapter 20 Advanced Programming for TSMaster - Toolbox-based Design Development Environment Development
20.1 Introduction to the Toolbox Design and Development Environment
20.1.1 Toolbox list page
20.1.2 Toolbox Code Design Page
20.1.3 Applet Module Page
20.1.4 Real-time Python command line
20.1.5 Toolbox Window Designer
20.1.6 Authorization on toolbox design
20.2 Introduction to Toolbox Control Properties, Events
20.2.1 The frmTSForm class
20.2.2 Button class
20.2.3 RawCAN class
20.2.4 Invoking the TSMaster resource
20.3 Introduction to Project Examples
20.4 Project Example Realization
20.4.1 Simulation environment for ECUs to be tested
20.4.2 Form design
20.4.3 Toolbox Form Initialization
20.4.4 Adding toolbar buttons
20.4.5 Adding event callback functions
20.4.6 Signal Parsing in RawCAN
20.4.7 Callback function implementation
20.5 Engineering Operational Tests
20.5.1 Running the Toolbox as a Standalone Application
20.5.2 Setting the toolbar position and running it
Chapter 21 Advanced Programming for TSMaster - Graphical Program Module
21.1 Introduction to the Graphics Program Module
21.1.1 Graphical program interface
21.1.2 Graphical program interface
21.1.3 Toolbars
21.1.4 Module column
21.1.5 Attribute column
21.1.6 Graphical Program Settings Window
21.2 Introduction to Project Examples
21.3 Realization of engineering examples
21.3.1 Adding variables
21.3.2 Creating Internal Functions
21.3.3 Creating a flowchart for a graphics program
21.4 Engineering Operational Tests
bibliography
Appendix A List of Abbreviations vs. Full Names
postscript