太阳集团6138(CHINA)澳门企业-环球百科 /en/flexible-application-of-system-variables-in-tsmaster-diagnostic-module/ /en/flexible-application-of-system-variables-in-tsmaster-diagnostic-module/#respond Fri, 17 Jun 2022 08:01:51 +0000 /?p=6351 overviewPreface TSMaster introduces system variables as parameters into the diagnostic module, which greatly expands the interaction between the diagnostic module and other modules [...].

The post New Feature Release | Flexible Application of System Variables in TSMaster Diagnostic Module first appeared on Shanghai TOSUN Technology Ltd..

]]>
overviewPreface
TSMaster introduces system variables as parameters into the diagnostic module, which greatly expands the ability of the diagnostic module to interact with data from other modules, and this paper mainly demonstrates the specific operation.

A. System variables as parameters

System variables have the ability to interact with data between internal and external modules of the software. TSMaster introduces system variables as parameters into the diagnostic module, which greatly expands the ability of the diagnostic module to interact with data from other modules. Below are a few typical application scenarios to illustrate its functions:

First, create two system variables, VIN_Code, and Voltage, as shown below:

The VIN_Code variable is of type string:
Flexible Application of System Variables in TSMaster Diagnostic Module
The Voltage variable is of type Double:
Flexible Application of System Variables in TSMaster Diagnostic Module
Associate system variables to Panel and Graphic as shown below:
Flexible Application of System Variables in TSMaster Diagnostic Module
[1] Set the voltage value Voltage in Panel and write it to ECU through diagnosis:
Flexible Application of System Variables in TSMaster Diagnostic Module
[2] Set the VIN code in Panel and write it to ECU through diagnosis:
Flexible Application of System Variables in TSMaster Diagnostic Module
[3] The internal voltage value of the ECU is read through diagnostics and displayed in Graphic:
Flexible Application of System Variables in TSMaster Diagnostic Module

Note: Variables that are read, need to be set manually by the user before they will be synchronized to the system variables.

[4] ECU internal VIN code is read through diagnostics and displayed in Panel:
Flexible Application of System Variables in TSMaster Diagnostic Module

B. System variables associated with the Console service

In the previous chapters, users can flexibly configure diagnostic services in the Diagnostic Console as needed. After these diagnostic services have been configured, users need to double-click on the diagnostic console to start the diagnostic services. However, if you want to start the diagnostic commands in the Panel interface, you need to use system variables. The steps are as follows:

[1] First, in the Diagnostic BasicConfig form, select the target service, and then register the diagnostic service as a system variable in the right-click menu, as shown below:

Flexible Application of System Variables in TSMaster Diagnostic Module
After the registration is completed, the icon of the service item changes to the following icon, indicating that it becomes a service with system variables registered, as shown below:
Flexible Application of System Variables in TSMaster Diagnostic Module
[2] After the registration is completed, you can see the system variable in the System Variable Manager, as shown below:
Flexible Application of System Variables in TSMaster Diagnostic Module
[3] Add a Button to Panel and associate this system variable as shown below:
Flexible Application of System Variables in TSMaster Diagnostic Module
[4] Run the program and click the Test button on Panel, you can see that the Diagnostic module executes the DiagnosticSessionControl service. As shown below:
Flexible Application of System Variables in TSMaster Diagnostic Module

C. External process control diagnostics

External programs can exchange data with TSMaster through system variables.

The post New Feature Release | Flexible Application of System Variables in TSMaster Diagnostic Module first appeared on Shanghai TOSUN Technology Ltd..

]]>
/en/flexible-application-of-system-variables-in-tsmaster-diagnostic-module/feed/ 0