TSMaster 2025.06 is here! AIO/DIO/DDS fully optimized for an upgraded experience.

We are pleased to bring you the TSMaster 2025.06 version update summary! This upgrade focuses oncore features such as AIO, DIO, user events, DDS support, and API documentation web version, and releases multiple new APIs, comprehensively optimizing software performance and enhancing flexibility to make your development and testing work more efficient and convenient!

The 2025.06 version has been significantly upgraded! Focusing on the three major modules of hardware, simulation, and design, it comprehensively improves the efficiency and flexibility of automotive electronics development, helping you easily handle complex testing scenarios! Now, let's explore these features together!


technical articles 20250729 1 AIO

TSMaster has added IO functionality, supporting both DIO and AIO IO types for input and output. For different IO types, it supports setting the sampling rate for digital or module inputs, as well as the mode, voltage, and type for digital outputs.

1. DIO channel selection configuration

2. Numeric input parameters

Sampling rate (Hz): Selectable from 0.001, 0.01, 0.1, 1, 10, 25, and 100.

technical articles 20250729 3 AIO

When there is no voltage input to the DI pin, the value of the DI system variable is 0; when the voltage input to the DI pin exceeds the threshold, the value of the DI system variable becomes 1.

technical articles 20250729 4 AIO

3. Digital output parameters

The parameter settings for digital output are related to the device type and are divided into two types: the TC series and the Tlog recorder. The TC series digital output can be set to normal level output and PWM wave output. The Tlog recorder digital output supports normal level output settings.

(1) The TC series digital output parameters support setting the output voltage level, output mode, and output type.

Voltage Level: Optional 5V/12V

Output Mode:

Push-Pull: Can actively output high and low levels, suitable for high-speed and high-current drive.

Open-Drain: Can only output low levels; high levels require external pull-up resistors. Suitable for sharing signal lines among multiple devices.

Open-Drain-Pull: Similar to Open-Drain, this emphasizes the use of external pull-up resistors.

Open-Drain-Push: Output drive capability can be enhanced through external circuits as needed.

Output Type:

General Output: Normal Level Output

PWM Output: Output PWM wave

technical articles 20250729 5 AIO

(2) The Tlog series has digital output and supports periodic reporting settings for status readback monitoring.

Periodic reporting (Hz): 0.001, 0.01, 0.1, 1, 10, 25, 100.

technical articles 20250729 6 AIO

1. AIO channel selection configuration

technical articles 20250729 7 AIO

2. Analog input parameters

Sampling rate (Hz): 0.001, 0.01, 0.1, 1, 10, 25, 100.

technical articles 20250729 8 AIO

TSMaster supports monitoring IO values using system variables.

technical articles 20250729 9 AIO

The TSMaster mini program provides two functions to control DO output: a normal level output function and a PWM output function.

tsdio_set_vlevel_output_async: Normal level output function

Example 1:

Mode:

The digital output mode is set to normal level output, with an output voltage of 5V and a push-pull output mode.

Code:

com.tsdio_set_vlevel_output_async(CH1, 1);

Observation:

Use an oscilloscope to monitor the high level of the normal level output, which is 5V.

technical articles 20250729 10 AIO

tsdio_set_pwm_output_async: PWM output function

Example 2:

Mode:

The digital output mode is set to PWM output, with an output voltage of 5V and a push-pull output mode.

Code:

com.tsdio_set_pwm_output_async(CH1, 20, 1);

Observation:

The oscilloscope monitors the PWM output amplitude of 5V, duty cycle of 20%, and frequency of 1s.

technical articles 20250729 11 AIO

→[Design] - [User Events]

technical articles 20250729 12 AIO

Update function:

User events support the addition of custom events before or after certain events. After selecting the corresponding user event function, the program will automatically load a C mini-program library named “user events.” This mini-program library contains 10 custom functions corresponding to user events, and users can select the corresponding custom functions for editing. The “user events” mini-program library will run automatically after being loaded from the TSMaster project.

Example: You want to open a project without starting it, but run a specified C program.

technical articles 20250729 13 AIO

→[Simulation] - [DDS]

technical articles 20250729 14 AIO

Update function:

Supports DDS models and dynamic parsing of IDL files without the need to pre-generate code.

1. Supports importing and viewing basic IDL databases.

technical articles 20250729 15 AIO

2. Supports importing QoS XML configuration files.

technical articles 20250729 16 AIO

3. DDS communication

DataWriter

The DataWriter area displays the list of currently created DataWriters and key information: channel_id, domain_id, topicName, typeName, startup status, etc. Right-click to perform operations such as start, pause, and delete.

1) Create DataWriter:

technical articles 20250729 17 AIO

2) Data modification: Click “Start” and the DataWriter data display area on the right will show the data sent by DataWriter in real time.

technical articles 20250729 18 AIO

 3) Transmission frequency setting area (DataWriter only): Supports setting the data transmission cycle and controlling simulated transmission.

technical articles 20250729 19 AIO

DataReader

Displays a list of currently created DataReaders and key information, similar to DataWriter; right-click operations are the same.

1) Create a DataReader:

technical articles 20250729 20 AIO

2) After clicking “Start,” the DataReader data display area on the right side will show the data received by the DataReader in real time.

technical articles 20250729 21 AIO

[C Mini Program]

→ [API function interface update]

ui_show_main_form

Function description: Display the main form interface at a specific location.

rpc_data_channel_create

Function description: Creates an RPC-based pointer data channel between the master and slave nodes.

rpc_data_channel_transmit

Function description: Transfers data via the RPC data channel.

rpc_data_channel_delete

Function description: Delete RPC data channel.

Call example:

technical articles 20250729 22 AIO

→ [Help] - [API Documentation]

technical articles 20250729 23 AIO

Update function:

TSMaster has launched a new web version of its API documentation. The website integrates all existing API function descriptions, categorized by protocol and function. In addition to function and parameter descriptions, each API function also includes function call examples.

technical articles 20250729 24 AIO

If you have questions about the use of TSMaster software need technical support, welcome to scan the code to add TOSUN technical customer service enterprise micro direct contact and consultation:

Same Star Technical Support QRcode

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)

发表回复

en_USEnglish
×
×

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

XML 地图