{"id":19703,"date":"2025-06-10T12:16:51","date_gmt":"2025-06-10T04:16:51","guid":{"rendered":"https:\/\/www.tosunai.com\/?p=19703"},"modified":"2025-06-10T12:17:17","modified_gmt":"2025-06-10T04:17:17","slug":"tsmaster-graphical-signal-expressions-hands-on-guide","status":"publish","type":"post","link":"https:\/\/www.tosunai.com\/en\/tsmaster-graphical-signal-expressions-hands-on-guide\/","title":{"rendered":"Sharing | TSMaster Graphical Signal Expressions Hands-on Guide"},"content":{"rendered":"

TSMaster\u8f6f\u4ef6\u652f\u6301\u5728\u56fe\u5f62\u91cc\u9762\u7684\u4fe1\u53f7\u8868\u8fbe\u5f0f\u529f\u80fd\uff0c\u4e3b\u8981\u7528\u4e8e\u591a\u4fe1\u53f7\u8868\u8fbe\u5f0f\u8fd0\u7b97\u548c\u663e\u793a\u7684\u573a\u666f\u3002\u672c\u6587\u5c06\u4ee5A2L\u4e2d\u7684\u6807\u5b9a\u53d8\u91cf\u4e3a\u4f8b\uff0c\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u56fe\u5f62\u4e2d\u7684\u4fe1\u53f7\u8868\u8fbe\u5f0f\u529f\u80fd\u8fdb\u884c\u591a\u4fe1\u53f7\u7684\u540e\u5904\u7406\u8fd0\u7b97\u548c\u663e\u793a\u3002<\/p>\n\n\n\n

<\/p>\n\n\n\n

Keywords in this article: graphs, signal expressions, signal computation, expression arithmetic, scalar quantization<\/strong><\/p>\n\n\n\n

<\/div>\n\n\n\n

1<\/strong>. Introduction to Graphical Signal Expressions<\/strong><\/strong><\/strong><\/strong><\/h2>\n\n\n\n
\n\n\n\n

Graphical Signal Expressions is a function included in the \u201cAnalyze-Graph\u201d module of TSMaster software<\/strong>. The specific use scenario is that multiple signals can be expressed and displayed. Generally, you can add, subtract, multiply, divide, and trigonometric functions of multiple signals. The following figure shows the built-in arithmetic rules in the current software:<\/p>\n\n\n

\n
\"\u56fe\u5f62\u4fe1\u53f7\u8868\u8fbe\u5f0f\u529f\u80fd\"<\/figure><\/div>\n\n\n

The signal types supported by this function specifically include: CAN signals, LIN signals, FlexRay signals, Ethernet signals, system variables and other types. Before configuring the signal expression function, you need to load the database file of the corresponding format and add the variables to be observed to the graphic window.<\/p>\n\n\n\n

<\/div>\n\n\n\n

2. Examples of application scenarios for graphical signal expressions and calibration variables<\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/h2>\n\n\n\n
\n\n\n\n

Graphical signal expression function for arithmetic scenarios with multiple calibrated variables<\/strong>. The following describes how to calculate the sum of two calibrated variables using the graphical signal expression function for this application scenario.<\/p>\n\n\n\n

The calibration variables ecu1.sineSignal, ecu1.noiseSignal and ecu1.sineNoiseMixSignal have now been added to the graphics window ahead of time, where ecu1.sineNoiseMixSignal is the variable uploaded back from the ECU and represents the sum of the values of the ecu1.sineSignal and the ecu1.noiseSignal values.<\/p>\n\n\n

\n
\"Examples<\/figure><\/div>\n\n\n

Using the Signal Expression function in Graphics, create a signal expression that is also used to calculate the sum of the values of the ecu1.sineSignal and ecu1.noiseSignal variables. Also compare it with the signal value of ecu1.sineNoiseMixSignal uploaded back from the ECU. The specific operation is as follows.<\/p>\n\n\n\n

1) Right-click in the blank space of the graph window and select \u201cAdd Signal Expression\u201d;<\/p>\n\n\n

\n
\"Examples<\/figure><\/div>\n\n\n

<\/p>\n\n\n\n

2) Double-click the variable Expr1524 corresponding to the newly added signal expression, and then click the icon button shown below;<\/p>\n\n\n

\n
\"Examples<\/figure><\/div>\n\n\n

<\/p>\n\n\n\n

3) The Signal Expression Editor interface is shown below;<\/p>\n\n\n

\n
\"Examples<\/figure><\/div>\n\n\n

\u2460 When more than one signal needs to be calculated, click this button to add a new independent variable downwards.<\/p>\n\n\n\n

\u2461 After selecting an independent variable, click this button to delete the selected independent variable.<\/p>\n\n\n\n

\u2462 Click on this button to view some of the supported arithmetic rules<\/p>\n\n\n

\n
\"\u56fe\u5f62\u4fe1\u53f7\u8868\u8fbe\u5f0f\u529f\u80fd\"<\/figure><\/div>\n\n\n

4) According to the test requirements, add a signal expression to calculate the sum of the values of the two variables ecu1.sineSignal and ecu1.noiseSignal. First, click the arrow selector to the right of the first variable x1 to associate the signal corresponding to the first variable;<\/p>\n\n\n\n

[Note]: The signals available for association must be those that have been added to the graph window. If the signal to be selected has not been added to the graph window, the signal to be associated needs to be added to the graph window first.<\/p>\n\n\n

\n
\"Examples<\/figure><\/div>\n\n
\n
\"Examples<\/figure><\/div>\n\n\n

<\/p>\n\n\n\n

5) The second variable is associated with the same operation as 4) above;<\/p>\n\n\n\n

(6) After the variables are associated, edit the calculation rules of the corresponding variables. Click \u201cOK\u201d after the setting is completed, and finally click \u201cApply\u201d;<\/p>\n\n\n

\n
\"Examples<\/figure><\/div>\n\n
\n
\"Examples<\/figure><\/div>\n\n\n

<\/p>\n\n\n\n

7) Start the measurement and observe the values of the calibrated variables that have been added in the graphic window. It can be seen that the values of the variables of Expr1524 calculated using the signal expression and the values of the variables of ecu1.sineNoiseMixSignal uploaded back by the ECU are always equal, as expected.<\/p>\n\n\n

\n
\"Examples<\/figure><\/div>\n\n\n
<\/div>\n\n\n\n

Which feature of TSMaster are you most interested in? Or what problems have you encountered in practical applications?<\/strong><\/p>\n\n\n\n

Welcome to share your experience or questions in the comment section, any ideas or suggestions can also be comment section message interaction, will have the opportunity to win the TOSUN mystery gift bag Oh ~!<\/strong><\/p>\n\n\n\n

\n
\n
Tip:<\/strong>
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.cn<\/a>We welcome inquiries! (Company and contact information must be indicated)<\/strong><\/pre>\n\n\n\n
\n
Download TSMaster<\/a><\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"

TSMaster\u8f6f\u4ef6\u652f\u6301\u5728\u56fe\u5f62\u91cc\u9762\u7684\u4fe1\u53f7\u8868\u8fbe\u5f0f\u529f\u80fd\uff0c\u4e3b\u8981\u7528\u4e8e\u591a\u4fe1\u53f7\u8868\u8fbe\u5f0f\u8fd0\u7b97\u548c\u663e\u793a\u7684\u573a\u666f\u3002\u672c\u6587\u5c06\u4ee5A2L\u4e2d\u7684\u6807 […]<\/p>","protected":false},"author":11,"featured_media":19718,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":"[]"},"categories":[90],"tags":[65,131,262],"class_list":{"0":"post-19703","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-software-tutorial","8":"tag-tsmaster","10":"tag-analysis","11":"entry","12":"has-media","13":"owp-thumbs-layout-horizontal","14":"owp-btn-normal","15":"owp-tabs-layout-horizontal","16":"has-no-thumbnails","17":"has-product-nav"},"acf":[],"_links":{"self":[{"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/posts\/19703","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/comments?post=19703"}],"version-history":[{"count":3,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/posts\/19703\/revisions"}],"predecessor-version":[{"id":19720,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/posts\/19703\/revisions\/19720"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/media\/19718"}],"wp:attachment":[{"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/media?parent=19703"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/categories?post=19703"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/tags?post=19703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}