<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>系统变量 &#8211; 上海同星智能科技有限公司</title>
	<atom:link href="https://www.tosunai.com/tag/%E7%B3%BB%E7%BB%9F%E5%8F%98%E9%87%8F/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tosunai.com</link>
	<description>Engineer Everything!</description>
	<lastBuildDate>Mon, 23 Nov 2026 04:08:14 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>

<image>
	<url>https://www.tosunai.com/wp-content/uploads/2024/09/112x112-100x100.webp</url>
	<title>系统变量 &#8211; 上海同星智能科技有限公司</title>
	<link>https://www.tosunai.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>软件更新 &#124; TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强</title>
		<link>https://www.tosunai.com/tsmaster-2026-0708-major-upgrade-test-start-end-flowchart-test-system-can-xl-api-release/</link>
					<comments>https://www.tosunai.com/tsmaster-2026-0708-major-upgrade-test-start-end-flowchart-test-system-can-xl-api-release/#respond</comments>
		
		<dc:creator><![CDATA[pan]]></dc:creator>
		<pubDate>Tue, 22 Sep 2026 05:57:33 +0000</pubDate>
				<category><![CDATA[软件更新]]></category>
		<category><![CDATA[CAN XL]]></category>
		<category><![CDATA[C小程序]]></category>
		<category><![CDATA[TSMaster]]></category>
		<category><![CDATA[TSMaster使用教程]]></category>
		<category><![CDATA[TSMaster新功能]]></category>
		<category><![CDATA[信号映射]]></category>
		<category><![CDATA[序列发送]]></category>
		<category><![CDATA[系统变量]]></category>
		<guid isPermaLink="false">https://www.tosunai.com/?p=26022</guid>

					<description><![CDATA[<p>TSMaster 2026年07、08月版软件更新汇总来啦！本次更新亮点满满：经典测试系统的Test Star [&#8230;]</p>
<p>&lt;p&gt;The post <a rel="nofollow" href="https://www.tosunai.com/tsmaster-2026-0708-major-upgrade-test-start-end-flowchart-test-system-can-xl-api-release/">软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强</a> first appeared on <a rel="nofollow" href="https://www.tosunai.com">上海同星智能科技有限公司</a>.&lt;/p&gt;</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">TSMaster 2026年07、08月版软件更新汇总来啦！本次更新亮点满满：<strong>经典测试系统的Test Start/Test End功能使用、流程图测试系统</strong>、通道映射功能扩展和地图查看器功能增强、信号映射模块中的映射管理，信号测试模块中条目的配置、查询与生命周期管理相关API，以及<strong>CAN XL接收回调事件注册、微秒级序列发送函数等相关API的正式释放</strong>等。多项升级旨在提升软件性能、灵活性与用户体验。接下来，一起看看本次更新的详细内容吧！</p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<blockquote class="wp-block-quote is-style-default is-layout-flow wp-block-quote-is-layout-flow">
<h2 class="wp-block-heading has-black-color has-text-color has-link-color wp-elements-16" style="font-style:normal;font-weight:600">TSMaster 2026.0708</h2>
</blockquote>



<p class="wp-block-paragraph" style="font-size:1em"></p>



<h2 class="wp-block-heading has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-17">测试模块</h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-18 wp-block-paragraph"><strong>【新增“流程图测试系统”模块】</strong></p>



<p class="wp-block-paragraph">→【测试】-【流程图测试系统】</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img fetchpriority="high" decoding="async" width="1057" height="616" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-01.webp" alt="TSMaster流程图测试系统模块界面，展示测试开始/测试用例/测试结束分支结构" class="wp-image-26024" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 1" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-01.webp 1057w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-01-768x448.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-01-800x466.webp 800w" sizes="(max-width: 1057px) 100vw, 1057px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>更新内容：</strong><br>测试功能模块新增“流程图测试系统”，该模块融合了流程图程序的便捷可视化设计， 支持导入同星标准excel格式用例生成流程图程序，结合测试系统的用例管理及报告自动生成能力，用户无需编写复杂代码，使用流程图中执行单元的不同操作属性实现不同的动作，即可快速搭建并运行自动化测试流程，大幅缩短测试准备时间，显著提升整体测试效率。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="1080" height="544" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-02.webp" alt="TSMaster流程图测试系统可视化设计界面" class="wp-image-26025" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 2" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-02.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-02-768x387.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-02-800x403.webp 800w" sizes="(max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>说明：</strong>创建流程图测试系统后，用户可在测试用例下添加测试模块，每个测试模块对应一个流程图程序窗口。使用时，可将用例下的每个测试模块视为一个用例组，且每个测试模块下还可继续添加多个子模块。测试模块完整继承了流程图程序的信号读写、API调用、表达式及单元组链接子模块等全部功能。用户可针对不同测试步骤编写对应的功能子模块，并通过流程图测试系统以用例形式进行统一管理与运行。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="824" height="560" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-03.webp" alt="TSMaster流程图测试系统断点调试功能示例一" class="wp-image-26026" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 3" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-03.webp 824w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-03-768x522.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-03-800x544.webp 800w" sizes="(max-width: 824px) 100vw, 824px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="831" height="313" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-04.webp" alt="TSMaster流程图测试系统断点调试功能示例二" class="wp-image-26027" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 4" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-04.webp 831w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-04-768x289.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-04-800x301.webp 800w" sizes="auto, (max-width: 831px) 100vw, 831px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="696" height="87" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-05.webp" alt="TSMaster流程图测试系统断点调试功能示例三" class="wp-image-26028" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 5"></figure>
</div>


<p class="wp-block-paragraph"><strong>说明：</strong>流程图测试系统支持任意步骤的断点调试，用户无需重新运行全部测试流程，可单步查看并修改中间状态。</p>



<p class="wp-block-paragraph">同时流程图测试系统支持导入标准同星标准excel格式用例生成流程图程序。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="289" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-06.webp" alt="TSMaster同星标准Excel格式测试用例表格示例" class="wp-image-26029" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 6" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-06.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-06-768x206.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-06-800x214.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph">同星标准excel格式由操作、操作类型、操作对象、参数组等可配置列组成。</p>



<p class="wp-block-paragraph">操作列固定可选三个动作,&#8221;设置&#8221;，&#8221;等待&#8221;，&#8221;检查&#8221;。</p>



<p class="wp-block-paragraph">设置:执行某一操作，可关联系统变量、信号变量、标定变量、API、操作集合。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="936" height="122" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-07.webp" alt="TSMaster流程图测试用例设置操作示例" class="wp-image-26030" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 7" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-07.webp 936w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-07-768x100.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-07-800x104.webp 800w" sizes="auto, (max-width: 936px) 100vw, 936px" /></figure>
</div>


<p class="wp-block-paragraph">检查：执行某一操作，可关联系统变量、信号变量、标定变量并通过参数组列的判断关系(>、&lt;、 ≥、 ≤ 、= 、!=)判断是否满足预期结果，当满足结果时，该步骤在流程图和测试报告中显示为Pass，不满足时显示为Fail。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="928" height="112" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-08.webp" alt="TSMaster流程图测试用例检查操作示例" class="wp-image-26031" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 8" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-08.webp 928w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-08-768x93.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-08-800x97.webp 800w" sizes="auto, (max-width: 928px) 100vw, 928px" /></figure>
</div>


<p class="wp-block-paragraph">等待:该操作为固定命令，等待xx时间后执行后续操作，具体格式如下：</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="94" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-09.webp" alt="TSMaster流程图测试用例等待操作格式说明" class="wp-image-26032" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 9" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-09.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-09-768x67.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-09-800x70.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph">操作类型列固定可选,&#8221;系统变量&#8221;，&#8221;信号变量&#8221;，&#8221;标定变量&#8221;，&#8221;功能实现&#8221;，&#8221;操作集合&#8221;；系统变量: xx系统变量组.xx系统变量  例:Application.Connected</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="494" height="119" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-10.webp" alt="TSMaster测试用例系统变量操作类型配置示例" class="wp-image-26033" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 10"></figure>
</div>


<p class="wp-block-paragraph">信号变量：[总线类型]/RBS数据库对应信号数据库路径路径；</p>



<p class="wp-block-paragraph">例：[CAN]/1/DBC/Node1/Msg1/Signal1</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="551" height="124" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-11.webp" alt="TSMaster测试用例信号变量操作类型配置示例" class="wp-image-26034" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 11"></figure>
</div>


<p class="wp-block-paragraph">标定变量: xx标定变量组.xx标定变量例:Calibration.Status</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="458" height="98" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-12.webp" alt="TSMaster测试用例标定变量操作类型配置示例" class="wp-image-26035" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 12"></figure>
</div>


<p class="wp-block-paragraph">功能实现：自定义API库的函数名，无需带前缀(多个API库需注意避免同名函数)</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="359" height="124" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-13.webp" alt="TSMaster测试用例功能实现操作类型配置示例" class="wp-image-26036" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 13"></figure>
</div>


<p class="wp-block-paragraph">参数组列支持无传参、单个传参、多个传参:</p>



<p class="wp-block-paragraph">无传参API: 参数组留空</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1070" height="115" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-14.webp" alt="TSMaster测试用例无传参API参数组配置示例" class="wp-image-26037" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 14" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-14.webp 1070w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-14-768x83.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-14-800x86.webp 800w" sizes="auto, (max-width: 1070px) 100vw, 1070px" /></figure>
</div>


<p class="wp-block-paragraph">单个传参API：支持数组类型和字符串类型，数值类型直接填写数值，字符串类型通过&#8221; &#8220;约束内容</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="956" height="135" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-15.webp" alt="TSMaster测试用例单个传参API参数组配置示例" class="wp-image-26038" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 15" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-15.webp 956w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-15-768x108.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-15-800x113.webp 800w" sizes="auto, (max-width: 956px) 100vw, 956px" /></figure>
</div>


<p class="wp-block-paragraph">多个传参API：不同传参之间固定使用;作为分隔符</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="143" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-16.webp" alt="TSMaster测试用例多个传参API参数组配置示例一" class="wp-image-26039" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 16" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-16.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-16-768x102.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-16-800x106.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1012" height="563" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-17.webp" alt="TSMaster测试用例多个传参API参数组配置示例二" class="wp-image-26040" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 17" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-17.webp 1012w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-17-768x427.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-17-800x445.webp 800w" sizes="auto, (max-width: 1012px) 100vw, 1012px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>说明：</strong>选择用例加载器添加配置完成的Excel测试用例文件，添加完成后加载信息栏无报错则表示用例导入成功。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="632" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-18.webp" alt="TSMaster用例加载器导入Excel测试用例文件界面一" class="wp-image-26041" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 18" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-18.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-18-768x449.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-18-800x468.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="636" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-19.webp" alt="TSMaster用例加载器导入Excel测试用例文件界面二" class="wp-image-26042" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 19" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-19.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-19-768x452.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-19-800x471.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>说明：</strong>用户可在“报告配置”中自定义用例执行后生成的测试报告路径、类型及模板样式等属性，同时支持使用记录文件夹后处理脚本进行处理。测试用例执行完毕后，系统会根据执行结果，按照配置信息自动生成测试报告，便于对用例执行情况进行后续分析与复盘。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="797" height="364" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-20.webp" alt="TSMaster测试报告配置设置界面一" class="wp-image-26043" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 20" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-20.webp 797w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-20-768x351.webp 768w" sizes="auto, (max-width: 797px) 100vw, 797px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1027" height="504" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-21.webp" alt="TSMaster测试报告配置设置界面二" class="wp-image-26044" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 21" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-21.webp 1027w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-21-768x377.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-21-800x393.webp 800w" sizes="auto, (max-width: 1027px) 100vw, 1027px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>说明：</strong>用户可选择报告配置勾选当所有测试用例执行完毕后自动驱动报告生成，在测试用模块点击开始，等待勾选用例执行完后，在配置的报告路径下自动生成测试报告。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1014" height="545" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-22.webp" alt="TSMaster报告自动生成模块手动导出测试报告界面" class="wp-image-26045" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 22" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-22.webp 1014w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-22-768x413.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-22-800x430.webp 800w" sizes="auto, (max-width: 1014px) 100vw, 1014px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>说明：</strong>用户可在报告自动生成模块勾选执行的用例手动导出勾选的测试报告。</p>



<p class="wp-block-paragraph"></p>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-19 wp-block-paragraph"><strong>【单用例执行自动包含Test Start/Test End】</strong></p>



<p class="wp-block-paragraph">→【测试】-【经典测试系统】</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="831" height="572" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-23.webp" alt="TSMaster经典测试系统单用例执行自动包含Test Start/Test End配置一" class="wp-image-26046" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 23" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-23.webp 831w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-23-768x529.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-23-800x551.webp 800w" sizes="auto, (max-width: 831px) 100vw, 831px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="858" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-24.webp" alt="TSMaster经典测试系统单用例执行自动包含Test Start/Test End配置二" class="wp-image-26047" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 24" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-24.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-24-768x610.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-24-800x636.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>更新内容：</strong><br>测试用例结构划分为 Test Start / Test Cases / Test End 三个分支，用户可根据实际测试需求在各分支下灵活添加内容。在“测试系统设置 → 执行”中，提供“单用例执行自动包含Test Start/Test End”配置项。勾选后，执行单个用例时将自动附带执行 Test Start 与 Test End 分支下的内容；取消勾选，则执行单个用例时会弹出提示框，由用户自行确认是否执行这两个分支。该功能尤其适用于需要固定启动与收尾步骤的标准化测试流程。</p>



<p class="wp-block-paragraph"></p>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-20 wp-block-paragraph"><strong>【Test Start失败后继续执行Test Cases】</strong></p>



<p class="wp-block-paragraph">→【测试】-【经典测试系统】</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="862" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-25.webp" alt="TSMaster经典测试系统Test Start失败后继续执行Test Cases配置界面" class="wp-image-26048" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 25" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-25.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-25-768x613.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-25-800x639.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>更新内容：</strong><br>在“测试系统设置 → 执行”中，提供“Test Start失败后继续执行Test Case”配置项。勾选后，若Test Start分支中的用例执行失败，则Test Cases下的用例会正常执行；取消勾选，则Test Start分支中的用例执行失败，会跳过Test Cases下的用例，若此时“中断或跳过主流程后仍执行Test End，而不是直接退出测试流程”，则会执行Test End下的用例，否则测试流程将直接结束。</p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-21">硬件模块</h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-22 wp-block-paragraph"><strong>【扩展A429逻辑通道配置】</strong></p>



<p class="wp-block-paragraph">→【硬件】-【通道选择】</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="372" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-26.webp" alt="TSMaster硬件通道选择模块A429逻辑通道配置界面" class="wp-image-26049" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 26" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-26.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-26-768x265.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-26-800x276.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>更新内容：</strong><br>硬件通道配置模块现已增强对A429逻辑通道的支持，新增逻辑通道数量保存、加载及通道能力判定等配套功能。用户现可将带有A429物理通道的设备接入TSMaster并进行正常使用。</p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-23">应用模块</h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-24 wp-block-paragraph"><strong>【支持GPS信号转为CAN信号后识别轨迹】</strong></p>



<p class="wp-block-paragraph">→【应用】-【地图查看器】</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1065" height="637" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-27.webp" alt="TSMaster地图查看器GPS信号转CAN信号轨迹显示界面" class="wp-image-26050" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 27" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-27.webp 1065w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-27-768x459.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-27-800x478.webp 800w" sizes="auto, (max-width: 1065px) 100vw, 1065px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>更新内容：</strong><br>本次更新为地图查看器模块新增了对同星TM2101设备的支持。使用时，用户可将TM2101设备接入TSMaster作为地图查看器的GPS数据输入源。设备接入后，TM2101会将接收到的GPS信号转换为标准CAN报文，地图查看器模块随后识别报文中的轨迹点信息，并在地图界面上进行实时标记与轨迹显示，便于用户进行定位与路径分析。</p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-25">仿真模块</h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-26 wp-block-paragraph"><strong>【新增信号映射管理】</strong></p>



<p class="wp-block-paragraph">→【仿真】-【信号映射】</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="381" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-28.webp" alt="TSMaster信号映射模块映射管理筛选功能界面" class="wp-image-26051" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 28" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-28.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-28-768x271.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-28-800x282.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>更新内容：</strong><br>信号映射模块新增“映射管理”功能，支持按照总线类型、映射类型、映射方向、启用状态及有效性等多种条件灵活筛选，并支持在工具栏中直接输入关键字搜索。当工程中存在大量信号映射关系时，该功能可帮助用户快速筛选和定位目标条目，大幅提升信息管理效率。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="439" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-29.webp" alt="TSMaster信号映射管理导入导出Excel模板功能" class="wp-image-26052" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 29" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-29.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-29-768x312.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-29-800x325.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>说明：</strong>映射管理模块支持映射关系的导入导出。用户可将整个工程中的映射关系导出至Excel，也可仅导出所选的部分映射条目；同时支持导出Excel模板，用户可在模板中批量编辑映射关系后重新导入工程，从而实现信号映射关系的快速建立。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="751" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-30.webp" alt="TSMaster导入信号映射Excel文件信息确认界面一" class="wp-image-26053" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 30" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-30.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-30-768x534.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-30-800x556.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="754" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-31.webp" alt="TSMaster导入信号映射Excel文件信息确认界面二" class="wp-image-26054" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 31" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-31.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-31-768x536.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-31-800x559.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>说明：</strong>在使用Excel模板导入信号映射条目时，TSMaster会先确认文件信息，用户需选择导入模式为更新或替换，并选择总线范围类型。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="755" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-32.webp" alt="TSMaster信号映射条目状态解析与确认写入界面一" class="wp-image-26055" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 32" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-32.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-32-768x537.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-32-800x559.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="765" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-33.webp" alt="TSMaster信号映射条目状态解析与确认写入界面二" class="wp-image-26056" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 33" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-33.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-33-768x544.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-33-800x567.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>说明：</strong>在正式更新导入前，TSMaster会解析每个条目的状态属性，并列出Excel中因故障而被阻断的条目。若所有条目均可正常导入，TSMaster将进入最终信息确认环节，用户勾选“确认写入/读写映射”后点击“应用”，即可将Excel中的信号映射条目导入到工程中。</p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-27">API更新</h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-28 wp-block-paragraph"><strong>【C小程序API】</strong></p>



<p class="wp-block-paragraph">本次更新了特定时间戳的系统变量操作API，可设置带有特定时间戳的int64类型系统变量。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="485" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-34.webp" alt="TSMaster C小程序API设置带时间戳的系统变量函数说明" class="wp-image-26057" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 34" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-34.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-34-768x345.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-34-800x359.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>更新内容：</strong><br>本次更新了设置系统变量相关的api共1个，函数名为set_system_var_int64_array_w_time，可以设置带有特定时间戳的int64类型系统变量，可打开TSMaster中的C小程序编辑器查看该api的函数说明以及示例。</p>



<p class="wp-block-paragraph"></p>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-29 wp-block-paragraph"><strong>【C小程序API】</strong></p>



<p class="wp-block-paragraph">本次API更新围绕信号测试模块及CAN XL总线通信能力进行了功能扩展。在信号测试方面，新增了共计7个API函数，涵盖对信号测试条目的运行、停止、清除等生命周期管理操作，同时支持通过API对测试条目进行查询与动态配置，增强了测试流程的可编程性与灵活度。</p>



<p class="wp-block-paragraph">此外，本次更新还新增了用于注册与注销CAN XL接收事件回调的API，方便用户对CAN XL报文进行实时处理；同时新增transmit_canfd_sequential函数，支持以微秒级精度控制连续CAN FD报文的发送间隔，满足对时序控制有严苛要求的测试场景。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="917" height="323" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-35.webp" alt="TSMaster信号测试模块与CAN XL接收回调API更新说明一" class="wp-image-26058" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 35" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-35.webp 917w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-35-768x271.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-35-800x282.webp 800w" sizes="auto, (max-width: 917px) 100vw, 917px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="547" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-36.webp" alt="TSMaster信号测试模块与CAN XL接收回调API更新说明二" class="wp-image-26060" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 36" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-36.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-36-768x389.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-36-800x405.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="548" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-37.webp" alt="TSMaster信号测试模块与CAN XL接收回调API更新说明三" class="wp-image-26061" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 37" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-37.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-37-768x390.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-37-800x406.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph">示例：</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="627" height="360" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-38.webp" alt="TSMaster C小程序API代码示例一：信号测试相关函数" class="wp-image-26062" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 38"></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="637" height="269" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-39.webp" alt="TSMaster C小程序API代码示例二：信号测试相关函数" class="wp-image-26063" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 39"></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="799" height="217" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-40.webp" alt="TSMaster C小程序API代码示例三：信号测试相关函数" class="wp-image-26064" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 40" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-40.webp 799w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-40-768x209.webp 768w" sizes="auto, (max-width: 799px) 100vw, 799px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="758" height="358" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-41.webp" alt="TSMaster C小程序API代码示例四：CAN XL回调事件注册" class="wp-image-26065" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 41"></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="718" height="150" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-42.webp" alt="TSMaster C小程序API代码示例五：CAN XL回调事件注销" class="wp-image-26066" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 42"></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="819" height="166" src="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-43.webp" alt="TSMaster C小程序API代码示例六：transmit_canfd_sequential序列发送函数" class="wp-image-26067" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 43" srcset="https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-43.webp 819w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-43-768x156.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/09/technical-articles-20260922-43-800x162.webp 800w" sizes="auto, (max-width: 819px) 100vw, 819px" /></figure>
</div>


<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<blockquote class="wp-block-quote is-style-default is-layout-flow wp-block-quote-is-layout-flow">
<h3 class="wp-block-heading has-black-color has-text-color has-link-color wp-elements-30" style="font-style:normal;font-weight:600">欢迎下载体验 TSMaster 最新版本</h3>
</blockquote>



<div class="wp-block-group box-margin has-background is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-977340ba wp-block-group-is-layout-flex" style="background-color:#f9f9f9">
<h2 class="wp-block-heading has-text-align-center has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-31"><strong>TSMaster 技术交流群</strong></h2>



<p class="has-text-align-center wp-block-paragraph"></p>



<p class="has-text-align-center wp-block-paragraph">如您有关于TSMaster软件使用问题需要技术支持，欢迎扫码添加<strong><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-cyan-blue-color">TOSUN同星技术客服</mark></strong>企微直接联系和咨询：</p>



<p class="has-text-align-center wp-block-paragraph"><img loading="lazy" decoding="async" width="150" height="150" class="wp-image-12425" style="width: 150px;" src="https://www.tosunai.com/wp-content/uploads/2024/08/technical-articles-20240820-6.webp" alt="同星技术支持 QRcode" title="软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强 44" srcset="https://www.tosunai.com/wp-content/uploads/2024/08/technical-articles-20240820-6.webp 463w, https://www.tosunai.com/wp-content/uploads/2024/08/technical-articles-20240820-6-300x300.webp 300w, https://www.tosunai.com/wp-content/uploads/2024/08/technical-articles-20240820-6-150x150.webp 150w, https://www.tosunai.com/wp-content/uploads/2024/08/technical-articles-20240820-6-100x100.webp 100w" sizes="auto, (max-width: 150px) 100vw, 150px" /></p>
</div>



<div class="wp-block-columns are-vertically-aligned-top has-background is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex" style="background-color:#f9f9f9">
<div class="wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:100%">
<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<p class="wp-block-paragraph"><strong>小贴士：</strong></p>



<ol class="wp-block-list">
<li>软件下载：<br>点击下方软件下载链接，直接下载安装，建议下载 beta 版本<br></li>



<li>软件升级：<br>在电脑有互联网连接的前提下，可以在软件内检查升级至最新版本。</li>
</ol>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph"><strong>注：同星智能技术支持邮箱：<a title="" href="mailto:support@tosunai.cn">support@tosunai.cn</a>，欢迎大家前来咨询！（须注明公司及联系方式）</strong></p>



<div class="wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link has-vivid-cyan-blue-background-color has-background wp-element-button" href="https://www.tosunai.com/downloads/">下载 TSMaster</a></div>
</div>
</div></div>
</div>
</div>



<p class="wp-block-paragraph"></p>
<p>&lt;p&gt;The post <a rel="nofollow" href="https://www.tosunai.com/tsmaster-2026-0708-major-upgrade-test-start-end-flowchart-test-system-can-xl-api-release/">软件更新 | TSMaster 2026.0708硬核迭代！Test Start/End、流程图测试系统、CAN XL API正式释放，多项功能增强</a> first appeared on <a rel="nofollow" href="https://www.tosunai.com">上海同星智能科技有限公司</a>.&lt;/p&gt;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.tosunai.com/tsmaster-2026-0708-major-upgrade-test-start-end-flowchart-test-system-can-xl-api-release/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>软件更新 &#124; TSMaster 12月更新了啥？ARXML深度解析、新硬件支持、BLF转换…全在这里！</title>
		<link>https://www.tosunai.com/software-update-whats-new-in-tsmaster-december-update/</link>
					<comments>https://www.tosunai.com/software-update-whats-new-in-tsmaster-december-update/#respond</comments>
		
		<dc:creator><![CDATA[pan]]></dc:creator>
		<pubDate>Tue, 27 Jan 2026 07:54:31 +0000</pubDate>
				<category><![CDATA[软件更新]]></category>
		<category><![CDATA[ARXML]]></category>
		<category><![CDATA[C小程序]]></category>
		<category><![CDATA[DDS]]></category>
		<category><![CDATA[J1939]]></category>
		<category><![CDATA[TSMaster]]></category>
		<category><![CDATA[TSMaster新功能]]></category>
		<category><![CDATA[其他]]></category>
		<category><![CDATA[小程序]]></category>
		<category><![CDATA[系统变量]]></category>
		<guid isPermaLink="false">https://www.tosunai.com/?p=22680</guid>

					<description><![CDATA[<p>想知道TSMaster十二月版本带来了哪些能让你事半功倍的“效率利器”？别急，本期我们已经为你梳理好了所有重点 [&#8230;]</p>
<p>&lt;p&gt;The post <a rel="nofollow" href="https://www.tosunai.com/software-update-whats-new-in-tsmaster-december-update/">软件更新 | TSMaster 12月更新了啥？ARXML深度解析、新硬件支持、BLF转换…全在这里！</a> first appeared on <a rel="nofollow" href="https://www.tosunai.com">上海同星智能科技有限公司</a>.&lt;/p&gt;</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">想知道TSMaster十二月版本带来了哪些能让你事半功倍的“效率利器”？别急，本期我们已经为你梳理好了所有重点更新，助你精准提升开发与测试效能。</p>



<p class="wp-block-paragraph">本次更新给用户带来了<strong>arxml新增算法解析、硬件支持80M/40M时钟切换、DDS功能更新、测试系统基础版上新、blf格式转换模块上新、新硬件上新和新API释放</strong>等。让通信开发与测试更高效、更可控。</p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<blockquote class="wp-block-quote is-style-default is-layout-flow wp-block-quote-is-layout-flow">
<h2 class="wp-block-heading has-black-color has-text-color has-link-color wp-elements-55" style="font-style:normal;font-weight:600"><strong>TSMaster 2025.11</strong></h2>
</blockquote>



<p class="wp-block-paragraph" style="font-size:1em"></p>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-56" style="color:#007bd1"><strong><strong><strong><strong><strong><strong>分析</strong></strong></strong></strong></strong></strong></h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-57 wp-block-paragraph"><strong>【工具新增选项】</strong></p>



<p class="wp-block-paragraph">→【分析】-【数据库】</p>



<p class="wp-block-paragraph"><strong>更新功能：</strong><br>TSMaster在 E2E算法方面进行了兼容性增强，既支持从 AUTOSAR ARXML 中直接解析并仿真 E2E，也兼容传统未明确定义 E2E 的 DBC 文件：</p>



<ul class="wp-block-list">
<li>支持E2E P01、P02、P04、P05、P06、P07、P11 和 P22算法</li>



<li>支持从 ARXML 数据库中自动解析 E2E 配置（包括 Profile、Data ID等参数）</li>



<li>对于传统 DBC 文件中未显式定义 E2E 的情形，支持从DBC中自动提取预定义信息从而获取 E2E 配置。特殊DBC可能存在一定适配性工作。</li>
</ul>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-58 wp-block-paragraph"><strong>【<strong>J1939报文解析支持按优先级区分</strong>】</strong></p>



<p class="wp-block-paragraph">→【分析】-【报文信息窗口】</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="547" src="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-1.webp" alt="J1939报文解析支持按优先级区分" class="wp-image-22682" title="软件更新 | TSMaster 12月更新了啥？ARXML深度解析、新硬件支持、BLF转换…全在这里！ 45" srcset="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-1.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-1-768x389.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-1-800x405.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>更新内容：</strong></p>



<p class="wp-block-paragraph">对于PGN相同的J1939报文，支持按照报文优先级进行区分。</p>



<p class="wp-block-paragraph"></p>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-59 wp-block-paragraph"><strong>【<strong><strong>图形窗口支持导出csv数据</strong></strong>】</strong></p>



<p class="wp-block-paragraph">→【分析】-【图形】</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="545" src="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-2.webp" alt="图形窗口支持导出csv数据" class="wp-image-22683" title="软件更新 | TSMaster 12月更新了啥？ARXML深度解析、新硬件支持、BLF转换…全在这里！ 46" srcset="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-2.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-2-768x388.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-2-800x404.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph">导出的csv文件内容包含时间戳、信号值等，如下图：</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="932" height="271" src="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-3.webp" alt="图形窗口支持导出csv数据" class="wp-image-22684" title="软件更新 | TSMaster 12月更新了啥？ARXML深度解析、新硬件支持、BLF转换…全在这里！ 47" srcset="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-3.webp 932w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-3-768x223.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-3-800x233.webp 800w" sizes="auto, (max-width: 932px) 100vw, 932px" /></figure>
</div>


<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-60" style="color:#007bd1"><strong><strong><strong>硬件</strong></strong></strong></h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-61 wp-block-paragraph"><strong>【<strong>硬件升级支持80M/40M时钟切换</strong> 】</strong></p>



<p class="wp-block-paragraph">→【硬件】-【总线硬件】</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="600" src="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-4.webp" alt="硬件升级支持80M/40M时钟切换" class="wp-image-22686" title="软件更新 | TSMaster 12月更新了啥？ARXML深度解析、新硬件支持、BLF转换…全在这里！ 48" srcset="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-4.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-4-768x427.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-4-800x444.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>更新内容：</strong><br>TC1018、TC017、同星pro系列CAN设备升级后支持80M时钟源配置，满足更高负载CAN调试。</p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-62" style="color:#007bd1"><strong><strong><strong><strong>仿真</strong></strong></strong></strong></h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-63 wp-block-paragraph"><strong>【<strong><strong>AUTOSAR E2E查看器</strong></strong>】</strong></p>



<p class="wp-block-paragraph">→【仿真】-【AUTOSAR E2E】</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="563" src="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-5.webp" alt="AUTOSAR E2E查看器" class="wp-image-22685" style="object-fit:cover" title="软件更新 | TSMaster 12月更新了啥？ARXML深度解析、新硬件支持、BLF转换…全在这里！ 49" srcset="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-5.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-5-768x400.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-5-800x417.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>更新内容：</strong><br>AUTOSAR E2E查看器支持按照总线/通道进行过滤，优化使用体验。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="117" src="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-6.webp" alt="AUTOSAR E2E查看器" class="wp-image-22687" style="object-fit:cover" title="软件更新 | TSMaster 12月更新了啥？ARXML深度解析、新硬件支持、BLF转换…全在这里！ 50" srcset="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-6.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-6-768x83.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-6-800x87.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-64 wp-block-paragraph"><strong>【DDS功能更新】</strong></p>



<p class="wp-block-paragraph">→【仿真】-【DDS】</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="552" src="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-7.webp" alt="DDS功能更新" class="wp-image-22691" style="object-fit:cover" title="软件更新 | TSMaster 12月更新了啥？ARXML深度解析、新硬件支持、BLF转换…全在这里！ 51" srcset="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-7.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-7-768x393.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-7-800x409.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>更新内容：</strong></p>



<ol class="wp-block-list">
<li>修改union储存方式，只覆盖相同case值变量，并标记当前活动case值。</li>



<li>TSMaster未连接时可以创建实体快照信息，并在连接时真正创建。</li>



<li>创建实体快照信息同样创建对应系统变量。</li>



<li>断开TSMaster时保留所有实体的系统变量。</li>



<li>实体信息及实体变量数据默认跟随工程保存及加载（删除手动保存和加载）。</li>



<li>新增小程序接口</li>
</ol>



<p class="wp-block-paragraph">manually_refresh_datawriter_data：手动写入DataWriter数据。</p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-65" style="color:#007bd1"><strong><strong><strong><strong>测试</strong></strong></strong></strong></h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-66 wp-block-paragraph"><strong><strong>【<strong>测试系统基础版上线</strong>】</strong></strong></p>



<p class="wp-block-paragraph">→【测试】-【测试系统基础版】</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="327" src="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-8.webp" alt="测试系统基础版上线" class="wp-image-22690" style="object-fit:cover" title="软件更新 | TSMaster 12月更新了啥？ARXML深度解析、新硬件支持、BLF转换…全在这里！ 52" srcset="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-8.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-8-768x233.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-8-800x242.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>更新内容：</strong><br>使用测试系统基础版模块前，在工程内导入测试用例的mp文件以及生成测试报告的dll库，然后将json文件导入到测试系统基础版模块内部即可进行用例执行。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="242" src="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-9.webp" alt="测试系统基础版上线" class="wp-image-22689" style="object-fit:cover" title="软件更新 | TSMaster 12月更新了啥？ARXML深度解析、新硬件支持、BLF转换…全在这里！ 53" srcset="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-9.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-9-768x172.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-9-800x179.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-67 wp-block-paragraph"><strong><strong>【<strong><strong>测试系统用户变量</strong></strong>】</strong></strong></p>



<ol class="wp-block-list">
<li>TestSystemLite_IsRunning：<br>该系统变量设置为非零，则控制测试执行。设置为0则控制测试停止(停止会等当前在执行的测试用例跑完以及继续跑完结束事件)。<br></li>



<li>TestSystemLite_JsonFileName：<br>给json文件的绝对地址即可切换，使用该系统变量，只能默认加载一个json文件。<br></li>



<li>TestSystemLite_SelectedCases：<br>动态勾选测试用例，使用“;”进行分割，比如TG0.TC1;TG0.TC2。</li>
</ol>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-68" style="color:#007bd1"><strong><strong><strong><strong><strong>应用</strong></strong></strong></strong></strong></h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-69 wp-block-paragraph"><strong><strong><strong>【cbf解析】</strong></strong></strong></p>



<p class="wp-block-paragraph">→【应用】-【诊断模块】</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="538" src="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-10.webp" alt="测试系统用户变量" class="wp-image-22688" style="object-fit:cover" title="软件更新 | TSMaster 12月更新了啥？ARXML深度解析、新硬件支持、BLF转换…全在这里！ 54" srcset="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-10.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-10-768x383.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-10-800x399.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>更新内容：</strong>诊断343637服务增加cbf文件解析。</p>



<p class="wp-block-paragraph"></p>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-70 wp-block-paragraph"><strong>【<strong>标定测量列表支持导入导出*.xls格式文件</strong>】</strong></p>



<p class="wp-block-paragraph">→【应用】-【标定管理器】</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="547" src="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-11.webp" alt="标定测量列表支持导入导出*.xls格式文件" class="wp-image-22692" style="object-fit:cover" title="软件更新 | TSMaster 12月更新了啥？ARXML深度解析、新硬件支持、BLF转换…全在这里！ 55" srcset="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-11.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-11-768x389.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-11-800x405.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph">导出的*.xls文件内容包含信号名称、测量模式等，如下图：</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="172" src="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-12.webp" alt="标定测量列表支持导入导出*.xls格式文件" class="wp-image-22695" style="object-fit:cover" title="软件更新 | TSMaster 12月更新了啥？ARXML深度解析、新硬件支持、BLF转换…全在这里！ 56" srcset="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-12.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-12-768x122.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-12-800x127.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-71 wp-block-paragraph"><strong>【<strong><strong>blf转csv、mat、mdf</strong></strong>】</strong></p>



<p class="wp-block-paragraph">→【应用】-【数据处理】</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="582" src="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-13.webp" alt="blf转csv、mat、mdf" class="wp-image-22694" style="object-fit:cover" title="软件更新 | TSMaster 12月更新了啥？ARXML深度解析、新硬件支持、BLF转换…全在这里！ 57" srcset="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-13.webp 1080w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-13-768x414.webp 768w, https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-13-800x431.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>更新内容：</strong></p>



<p class="wp-block-paragraph">数据处理模块中实现blf转csv、mat、mdf，进入模块后添加手填添加需要转换的blf文件，然后在所在通道上添加需要进行转换的报文信号，修改完导出配置后，点击导出实现文件格式转换。</p>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-72 wp-block-paragraph"><strong><strong>【blf转file】</strong></strong></p>



<ol class="wp-block-list">
<li><strong>导出文件类型：</strong>新增blf转csv、mat、mdf格式选项。</li>



<li><strong>时间类型：</strong>时间轴新增“选择信号为当前时间轴”/“选择信号计算新的公共时间轴”选项。</li>



<li><strong>值类型：</strong>信号值新增导出“上一次的值”/“下一次的值”/“插值”选项。</li>



<li><strong>启用时间范围：</strong>新增按照指定时间戳进行导出，使能“启用时间范围”选项后可以在开始时间和结束时间处进行导出时间戳配。</li>
</ol>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-73" style="color:#007bd1"><strong><strong><strong><strong>新硬件支持</strong></strong></strong></strong></h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="wp-block-paragraph">→【硬件】-【通道选择】</p>



<p class="wp-block-paragraph"><strong>更新内容：</strong><br>新设备TLog1057、 TC1017Pro、GW2202, GW2204, GW2212, TA821已加入支持列表。其中，GW2202, GW2204, GW2212, TA821增加self ACK特性。</p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-74" style="color:#007bd1"><strong><strong><strong><strong><strong>API 更新</strong></strong></strong></strong></strong></h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-75 wp-block-paragraph"><strong>【<strong><strong>C小程序API</strong></strong>】</strong></p>



<pre class="wp-block-code"><code>&nbsp;app.can_set_load_balance_control ()</code></pre>



<p class="wp-block-paragraph">函数说明：设置CAN总线发送帧间隔。</p>



<p class="wp-block-paragraph">示例：</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="762" height="168" src="https://www.tosunai.com/wp-content/uploads/2026/01/technical-articles-20260127-14.webp" alt="C小程序API" class="wp-image-22693" style="object-fit:cover" title="软件更新 | TSMaster 12月更新了啥？ARXML深度解析、新硬件支持、BLF转换…全在这里！ 58"></figure>
</div>


<pre class="wp-block-code"><code>com. can_rbs_fault_inject_disturb_sequencecounter()</code></pre>



<p class="wp-block-paragraph">函数说明：向指定的 PDU 注入序列计数器故障。</p>



<pre class="wp-block-code"><code>com. can_rbs_fault_inject_disturb_checksum()</code></pre>



<p class="wp-block-paragraph">函数说明：向指定的 PDU 注入校验和错误。</p>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-76 wp-block-paragraph"><strong><strong>【Python小程序API】</strong></strong></p>



<pre class="wp-block-code"><code>app.ui_show_tsmaster_window()</code></pre>



<p class="wp-block-paragraph">函数说明：按标题文本显示或隐藏特定窗口。</p>



<pre class="wp-block-code"><code>app.ui_show_hardware_configuration()</code></pre>



<p class="wp-block-paragraph">函数说明：展示硬件配置页面。</p>



<pre class="wp-block-code"><code>app. ui_show_channel_mapping_window()</code></pre>



<p class="wp-block-paragraph">函数说明：展示通道映射页面。</p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<blockquote class="wp-block-quote is-style-default is-layout-flow wp-block-quote-is-layout-flow">
<h3 class="wp-block-heading has-black-color has-text-color has-link-color wp-elements-77" style="font-style:normal;font-weight:600"><strong>欢迎下载体验 TSMaster 最新版本</strong></h3>
</blockquote>



<div class="wp-block-group box-margin has-background is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-977340ba wp-block-group-is-layout-flex" style="background-color:#f9f9f9">
<h2 class="wp-block-heading has-text-align-center has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-78"><strong>TSMaster 技术交流群</strong></h2>



<p class="has-text-align-center wp-block-paragraph"></p>



<p class="has-text-align-center wp-block-paragraph">如您有关于TSMaster软件使用问题需要技术支持，欢迎扫码添加<strong><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-cyan-blue-color">TOSUN同星技术客服</mark></strong>企微直接联系和咨询：</p>



<p class="has-text-align-center wp-block-paragraph"><img loading="lazy" decoding="async" width="150" height="150" class="wp-image-12425" style="width: 150px;" src="https://www.tosunai.com/wp-content/uploads/2024/08/technical-articles-20240820-6.webp" alt="同星技术支持 QRcode" title="软件更新 | TSMaster 12月更新了啥？ARXML深度解析、新硬件支持、BLF转换…全在这里！ 59" srcset="https://www.tosunai.com/wp-content/uploads/2024/08/technical-articles-20240820-6.webp 463w, https://www.tosunai.com/wp-content/uploads/2024/08/technical-articles-20240820-6-300x300.webp 300w, https://www.tosunai.com/wp-content/uploads/2024/08/technical-articles-20240820-6-150x150.webp 150w, https://www.tosunai.com/wp-content/uploads/2024/08/technical-articles-20240820-6-100x100.webp 100w" sizes="auto, (max-width: 150px) 100vw, 150px" /></p>
</div>



<div class="wp-block-columns are-vertically-aligned-top has-background is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex" style="background-color:#f9f9f9">
<div class="wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:100%">
<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<p class="wp-block-paragraph"><strong>小贴士：</strong></p>



<ol class="wp-block-list">
<li>软件下载：<br>点击下方软件下载链接，直接下载安装，建议下载 beta 版本<br></li>



<li>软件升级：<br>在电脑有互联网连接的前提下，可以在软件内检查升级至最新版本。</li>
</ol>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph"><strong>注：同星智能技术支持邮箱：<a title="" href="mailto:support@tosunai.cn">support@tosunai.cn</a>，欢迎大家前来咨询！（须注明公司及联系方式）</strong></p>



<div class="wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link has-vivid-cyan-blue-background-color has-background wp-element-button" href="https://www.tosunai.com/downloads/">下载 TSMaster</a></div>
</div>
</div></div>
</div>
</div>



<p class="wp-block-paragraph"></p>
<p>&lt;p&gt;The post <a rel="nofollow" href="https://www.tosunai.com/software-update-whats-new-in-tsmaster-december-update/">软件更新 | TSMaster 12月更新了啥？ARXML深度解析、新硬件支持、BLF转换…全在这里！</a> first appeared on <a rel="nofollow" href="https://www.tosunai.com">上海同星智能科技有限公司</a>.&lt;/p&gt;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.tosunai.com/software-update-whats-new-in-tsmaster-december-update/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>软件更新 &#124; 不止于升级！TSMaster 11月版发布，解锁六大核心功能新体验</title>
		<link>https://www.tosunai.com/more-than-just-an-upgrade-tsmaster-november-edition-released/</link>
					<comments>https://www.tosunai.com/more-than-just-an-upgrade-tsmaster-november-edition-released/#respond</comments>
		
		<dc:creator><![CDATA[pan]]></dc:creator>
		<pubDate>Tue, 16 Dec 2025 04:28:58 +0000</pubDate>
				<category><![CDATA[软件更新]]></category>
		<category><![CDATA[C小程序]]></category>
		<category><![CDATA[MBD]]></category>
		<category><![CDATA[RBS]]></category>
		<category><![CDATA[RPC]]></category>
		<category><![CDATA[TSMaster]]></category>
		<category><![CDATA[TSMaster新功能]]></category>
		<category><![CDATA[其他]]></category>
		<category><![CDATA[小程序]]></category>
		<category><![CDATA[检测信号]]></category>
		<category><![CDATA[系统变量]]></category>
		<guid isPermaLink="false">https://www.tosunai.com/?p=22496</guid>

					<description><![CDATA[<p>TSMaster软件的每一次更新，都旨在让您的工程更高效、探索更自由。11月版本现已发布，本次更新聚焦于核心功 [&#8230;]</p>
<p>&lt;p&gt;The post <a rel="nofollow" href="https://www.tosunai.com/more-than-just-an-upgrade-tsmaster-november-edition-released/">软件更新 | 不止于升级！TSMaster 11月版发布，解锁六大核心功能新体验</a> first appeared on <a rel="nofollow" href="https://www.tosunai.com">上海同星智能科技有限公司</a>.&lt;/p&gt;</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">TSMaster软件的每一次更新，都旨在让您的工程更高效、探索更自由。11月版本现已发布，本次更新聚焦于核心功能模块的深度优化与拓展，涵盖<strong>小程序易用性升级、API 更新、面板进阶、MBD功能升级、示例工程更新和新硬件支持</strong>等内容。这些升级将显著提升软件的性能、灵活性与用户体验，助您更高效地应对复杂开发与测试挑战。</p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<blockquote class="wp-block-quote is-style-default is-layout-flow wp-block-quote-is-layout-flow">
<h2 class="wp-block-heading has-black-color has-text-color has-link-color wp-elements-94" style="font-style:normal;font-weight:600"><strong>TSMaster 2025.11</strong></h2>
</blockquote>



<p class="wp-block-paragraph" style="font-size:1em"></p>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-95" style="color:#007bd1"><strong><strong><strong><strong><strong>小程序易用性升级</strong></strong></strong></strong></strong></h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">→【设计】-【C小程序】</p>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-96 wp-block-paragraph"><strong>【工具新增选项】</strong></p>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph"><strong>更新功能：</strong></p>



<ul class="wp-block-list">
<li>系统变量直接读写访问选项，默认激活，自动生成系统变量直接访问代码</li>



<li>支持信号直接读写访问选项，默认激活，自动生成信号直接访问代码</li>
</ul>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="687" height="462" src="https://www.tosunai.com/wp-content/uploads/2025/12/technical-articles-20251216-1.webp" alt="technical articles 20251216 1 TSMaster 11月版" class="wp-image-22502" title="软件更新 | 不止于升级！TSMaster 11月版发布，解锁六大核心功能新体验 60"></figure>
</div>


<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-97 wp-block-paragraph"><strong>【新增变量/信号直接访问】</strong></p>



<p class="wp-block-paragraph"><strong>更新内容：</strong></p>



<ul class="wp-block-list">
<li>新增数组类型系统变量直接访问</li>



<li>新增RBS信号直接访问</li>
</ul>



<p class="wp-block-paragraph">【数组类型系统变量】在 C 小程序中可直接使用 SYSVAR_ARRAY(xArr)[i] = val; 语法。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="868" height="517" src="https://www.tosunai.com/wp-content/uploads/2025/12/technical-articles-20251216-2.webp" alt="technical articles 20251216 2 TSMaster 11月版" class="wp-image-22503" title="软件更新 | 不止于升级！TSMaster 11月版发布，解锁六大核心功能新体验 61" srcset="https://www.tosunai.com/wp-content/uploads/2025/12/technical-articles-20251216-2.webp 868w, https://www.tosunai.com/wp-content/uploads/2025/12/technical-articles-20251216-2-768x457.webp 768w, https://www.tosunai.com/wp-content/uploads/2025/12/technical-articles-20251216-2-800x476.webp 800w" sizes="auto, (max-width: 868px) 100vw, 868px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="868" height="617" src="https://www.tosunai.com/wp-content/uploads/2025/12/technical-articles-20251216-3.webp" alt="technical articles 20251216 3 TSMaster 11月版" class="wp-image-22504" title="软件更新 | 不止于升级！TSMaster 11月版发布，解锁六大核心功能新体验 62" srcset="https://www.tosunai.com/wp-content/uploads/2025/12/technical-articles-20251216-3.webp 868w, https://www.tosunai.com/wp-content/uploads/2025/12/technical-articles-20251216-3-768x546.webp 768w, https://www.tosunai.com/wp-content/uploads/2025/12/technical-articles-20251216-3-800x569.webp 800w" sizes="auto, (max-width: 868px) 100vw, 868px" /></figure>
</div>


<p class="wp-block-paragraph">【RBS信号】在 C 小程序中可直接对 RBS 信号赋值或读取，如：</p>



<p class="wp-block-paragraph">$(EngSpeed) = 125;</p>



<p class="wp-block-paragraph">$(0::CAN_FD_Powertrain::Engine::EngineData::EngSpeed) = 126;</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="868" height="351" src="https://www.tosunai.com/wp-content/uploads/2025/12/technical-articles-20251216-4.webp" alt="technical articles 20251216 4 TSMaster 11月版" class="wp-image-22505" style="object-fit:cover" title="软件更新 | 不止于升级！TSMaster 11月版发布，解锁六大核心功能新体验 63" srcset="https://www.tosunai.com/wp-content/uploads/2025/12/technical-articles-20251216-4.webp 868w, https://www.tosunai.com/wp-content/uploads/2025/12/technical-articles-20251216-4-768x311.webp 768w, https://www.tosunai.com/wp-content/uploads/2025/12/technical-articles-20251216-4-800x324.webp 800w" sizes="auto, (max-width: 868px) 100vw, 868px" /></figure>
</div>


<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-98" style="color:#007bd1"><strong><strong>API更新</strong></strong></h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="wp-block-paragraph">→【设计】-【小程序】</p>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-99 wp-block-paragraph"><strong>【 RBS读写API 】</strong></p>



<pre class="wp-block-code"><code>rbs_set_signal_value_by_address</code></pre>



<p class="wp-block-paragraph">函数说明：使用其符号地址设置RBS信号的值。这是一个协议无关的功能，它自动检测总线类型并将请求路由到适当的特定于总线的RBS处理程序。</p>



<pre class="wp-block-code"><code>rbs_get_signal_value_by_address</code></pre>



<p class="wp-block-paragraph">函数说明：使用其符号地址检索RBS信号的当前值。这是一个协议无关的功能，它自动从符号地址检测总线类型，并将请求路由到适当的特定于总线的RBS处理程序（CAN、LIN或FlexRay）。</p>



<p class="wp-block-paragraph"></p>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-100 wp-block-paragraph"><strong>【 <strong>数组类型系统变量元素API</strong>】</strong></p>



<pre class="wp-block-code"><code>get_system_var_double_array_element</code></pre>



<p class="wp-block-paragraph">函数说明：从指定索引位置的系统变量数组中检索单个Double元素；</p>



<p class="wp-block-paragraph"></p>



<pre class="wp-block-code"><code>get_system_var_int32_array_element</code></pre>



<p class="wp-block-paragraph">函数说明：从指定索引位置的系统变量数组中检索单个Int32元素；</p>



<p class="wp-block-paragraph"></p>



<pre class="wp-block-code"><code>get_system_var_int64_array_element</code></pre>



<p class="wp-block-paragraph">函数说明：从指定索引位置的系统变量数组中检索单个Int64元素；</p>



<pre class="wp-block-code"><code>get_system_var_uint8_array_element</code></pre>



<p class="wp-block-paragraph">函数说明：从指定索引位置的系统变量数组中检索单个UInt8元素；</p>



<pre class="wp-block-code"><code>set_system_var_double_array_element</code></pre>



<p class="wp-block-paragraph">函数说明：在指定的索引位置设置系统变量数组中的单个Double元素。该操作为同步操作；</p>



<pre class="wp-block-code"><code> set_system_var_int32_array_element</code></pre>



<p class="wp-block-paragraph">函数说明：在指定的索引位置设置系统变量数组中的单个Int32元素。该操作为同步操作；</p>



<pre class="wp-block-code"><code>set_system_var_int64_array_element</code></pre>



<p class="wp-block-paragraph">函数说明：在指定的索引位置设置系统变量数组中的单个Int64元素。该操作为同步操作；</p>



<pre class="wp-block-code"><code>set_system_var_uint8_array_element</code></pre>



<p class="wp-block-paragraph">函数说明：在指定的索引位置设置系统变量数组中单个UInt8元素。该操作是同步的，并立即更新数组元素。</p>



<p class="wp-block-paragraph"></p>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-101 wp-block-paragraph"><strong>【&nbsp;<strong><strong>CAN 周期统计 API</strong></strong>&nbsp;】</strong></p>



<pre class="wp-block-code"><code>metric_register_can_frame_interval</code></pre>



<p class="wp-block-paragraph">函数说明：在指定通道注册CAN帧；在使用周期统计API时，必须先注册，否则采样列表为空；</p>



<pre class="wp-block-code"><code>metric_start</code></pre>



<p class="wp-block-paragraph">函数说明：将统计状态机置为 RUNNING，开始对所有已注册通道的接收帧记录时间戳并累积间隔数据；</p>



<pre class="wp-block-code"><code>metric_is_running</code></pre>



<p class="wp-block-paragraph">函数说明：返回全局运行状态，确认已处于 RUNNING状态后再读数据，在metric_start函数后使用；</p>



<pre class="wp-block-code"><code>metric_get_can_frame_interval_stat</code></pre>



<p class="wp-block-paragraph">函数说明：仅读取当前已累积的 CAN 周期统计信息（最小值、最大值、当前值、平均值、标准差等）；如需清零则使用下一条函数；</p>



<pre class="wp-block-code"><code>metric_get_w_reset_can_frame_interval_stat</code></pre>



<p class="wp-block-paragraph">函数说明：在返回CAN 周期统计信息的同时，清零其统计数据；</p>



<pre class="wp-block-code"><code>metric_stop</code></pre>



<p class="wp-block-paragraph">函数说明：将状态机切换至 STOPPED，停止采样与时间戳记录，后续仍可再start继续累计；</p>



<pre class="wp-block-code"><code>metric_reset_can_frame_interval_stat</code></pre>



<p class="wp-block-paragraph">函数说明：对指定通道的CAN帧统计执行清零操作，在stop状态或运行状态均可调用；</p>



<pre class="wp-block-code"><code>metric_reset_frames_interval_stat_of_channel</code></pre>



<p class="wp-block-paragraph">函数说明：按总线和通道清零，仅清除指定总线与逻辑通道的统计数据，该函数的粒度比上条函数更细；</p>



<pre class="wp-block-code"><code>metric_reset_frames_interval_stat_of_bus</code></pre>



<p class="wp-block-paragraph">函数说明：按总线清零，仅清除指定总线类型的统计数据；</p>



<pre class="wp-block-code"><code>metric_reset_frames_interval_stat_of_all</code></pre>



<p class="wp-block-paragraph">函数说明：清零所有的周期统计，可用于测试用例的复位；</p>



<pre class="wp-block-code"><code>metric_unregister_can_frame_interval</code></pre>



<p class="wp-block-paragraph">函数说明：最后调用该函数，将指定通道的CAN帧从统计系统移除，释放关联资源，同时丢弃该通道的统计数据，此后对应的句柄无效。</p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-102" style="color:#007bd1"><strong><strong><strong>面板功能进阶</strong></strong></strong></h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="wp-block-paragraph">→【仿真】-【面板】</p>



<p class="wp-block-paragraph"><strong>更新内容：</strong><br>Page Control 新增删除单页功能：可在设计界面直接删除选中标签页。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="665" height="422" src="https://www.tosunai.com/wp-content/uploads/2025/12/technical-articles-20251216-5.webp" alt="technical articles 20251216 5 TSMaster 11月版" class="wp-image-22506" style="object-fit:cover" title="软件更新 | 不止于升级！TSMaster 11月版发布，解锁六大核心功能新体验 64"></figure>
</div>


<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-103" style="color:#007bd1"><strong><strong><strong>MBD模块升级</strong></strong></strong></h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="wp-block-paragraph"><strong>更新内容：</strong><br>在MBD框图中突出显示源/目的地。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="638" height="403" src="https://www.tosunai.com/wp-content/uploads/2025/12/technical-articles-20251216-6.webp" alt="technical articles 20251216 6 TSMaster 11月版" class="wp-image-22507" style="object-fit:cover" title="软件更新 | 不止于升级！TSMaster 11月版发布，解锁六大核心功能新体验 65"></figure>
</div>


<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-104" style="color:#007bd1"><strong><strong><strong><strong>示例工程更新</strong></strong></strong></strong></h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-105 wp-block-paragraph"><strong><strong>【信号测试器高级示例】</strong></strong></p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="716" src="https://www.tosunai.com/wp-content/uploads/2025/11/technical-articles-202501103-13.webp" alt="technical articles 202501103 13 TSMaster 11月版" class="wp-image-21755" style="object-fit:cover" title="软件更新 | 不止于升级！TSMaster 11月版发布，解锁六大核心功能新体验 66" srcset="https://www.tosunai.com/wp-content/uploads/2025/11/technical-articles-202501103-13.webp 1080w, https://www.tosunai.com/wp-content/uploads/2025/11/technical-articles-202501103-13-768x509.webp 768w, https://www.tosunai.com/wp-content/uploads/2025/11/technical-articles-202501103-13-800x530.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<p class="wp-block-paragraph"></p>



<p class="has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-106 wp-block-paragraph"><strong>【联合仿真RPC服务器实现】</strong></p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1080" height="558" src="https://www.tosunai.com/wp-content/uploads/2025/12/technical-articles-20251216-7.webp" alt="technical articles 20251216 7 TSMaster 11月版" class="wp-image-22508" style="object-fit:cover" title="软件更新 | 不止于升级！TSMaster 11月版发布，解锁六大核心功能新体验 67" srcset="https://www.tosunai.com/wp-content/uploads/2025/12/technical-articles-20251216-7.webp 1080w, https://www.tosunai.com/wp-content/uploads/2025/12/technical-articles-20251216-7-768x397.webp 768w, https://www.tosunai.com/wp-content/uploads/2025/12/technical-articles-20251216-7-800x413.webp 800w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></figure>
</div>


<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-107" style="color:#007bd1"><strong><strong><strong><strong>新硬件支持</strong></strong></strong></strong></h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="wp-block-paragraph">→【硬件】-【通道选择】</p>



<p class="wp-block-paragraph"><strong>更新内容：</strong><br>新设备TC1052、TTS1017Pro已加入支持列表。</p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<blockquote class="wp-block-quote is-style-default is-layout-flow wp-block-quote-is-layout-flow">
<h3 class="wp-block-heading has-black-color has-text-color has-link-color wp-elements-108" style="font-style:normal;font-weight:600"><strong>欢迎下载体验TSMaster 2025最新版本</strong></h3>
</blockquote>



<div class="wp-block-group box-margin has-background is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-977340ba wp-block-group-is-layout-flex" style="background-color:#f9f9f9">
<h2 class="wp-block-heading has-text-align-center has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-109"><strong>TSMaster 技术交流群</strong></h2>



<p class="has-text-align-center wp-block-paragraph"></p>



<p class="has-text-align-center wp-block-paragraph">如您有关于TSMaster软件使用问题需要技术支持，欢迎扫码添加<strong><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-cyan-blue-color">TOSUN同星技术客服</mark></strong>企微直接联系和咨询：</p>



<p class="has-text-align-center wp-block-paragraph"><img loading="lazy" decoding="async" width="150" height="150" class="wp-image-12425" style="width: 150px;" src="https://www.tosunai.com/wp-content/uploads/2024/08/technical-articles-20240820-6.webp" alt="同星技术支持 QRcode" title="软件更新 | 不止于升级！TSMaster 11月版发布，解锁六大核心功能新体验 68" srcset="https://www.tosunai.com/wp-content/uploads/2024/08/technical-articles-20240820-6.webp 463w, https://www.tosunai.com/wp-content/uploads/2024/08/technical-articles-20240820-6-300x300.webp 300w, https://www.tosunai.com/wp-content/uploads/2024/08/technical-articles-20240820-6-150x150.webp 150w, https://www.tosunai.com/wp-content/uploads/2024/08/technical-articles-20240820-6-100x100.webp 100w" sizes="auto, (max-width: 150px) 100vw, 150px" /></p>
</div>



<div class="wp-block-columns are-vertically-aligned-top has-background is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex" style="background-color:#f9f9f9">
<div class="wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:100%">
<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<p class="wp-block-paragraph"><strong>小贴士：</strong></p>



<ol class="wp-block-list">
<li>软件下载：<br>点击下方软件下载链接，直接下载安装，建议下载 beta 版本<br></li>



<li>软件升级：<br>在电脑有互联网连接的前提下，可以在软件内检查升级至最新版本。</li>
</ol>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph"><strong>注：同星智能技术支持邮箱：<a title="" href="mailto:support@tosunai.cn">support@tosunai.cn</a>，欢迎大家前来咨询！（须注明公司及联系方式）</strong></p>



<div class="wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link has-vivid-cyan-blue-background-color has-background wp-element-button" href="https://www.tosunai.com/downloads/">下载 TSMaster</a></div>
</div>
</div></div>
</div>
</div>



<p class="wp-block-paragraph"></p>
<p>&lt;p&gt;The post <a rel="nofollow" href="https://www.tosunai.com/more-than-just-an-upgrade-tsmaster-november-edition-released/">软件更新 | 不止于升级！TSMaster 11月版发布，解锁六大核心功能新体验</a> first appeared on <a rel="nofollow" href="https://www.tosunai.com">上海同星智能科技有限公司</a>.&lt;/p&gt;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.tosunai.com/more-than-just-an-upgrade-tsmaster-november-edition-released/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>干货分享 &#124; TSMaster RPC 基础入门：编程指导和使用说明</title>
		<link>https://www.tosunai.com/tsmaster-rpc-programming-guide-and-instructions/</link>
					<comments>https://www.tosunai.com/tsmaster-rpc-programming-guide-and-instructions/#respond</comments>
		
		<dc:creator><![CDATA[pan]]></dc:creator>
		<pubDate>Wed, 17 Jul 2024 05:29:52 +0000</pubDate>
				<category><![CDATA[软件操作教程]]></category>
		<category><![CDATA[RPC]]></category>
		<category><![CDATA[TSMaster使用教程]]></category>
		<category><![CDATA[其他]]></category>
		<category><![CDATA[系统变量]]></category>
		<guid isPermaLink="false">https://www.tosunai.com/?p=11643</guid>

					<description><![CDATA[<p>介绍RPC模块前，我们先浅聊一下RPC的相关说明，以及在什么样的情况下需要了解本文 。 RPC 说明远程过程调 [&#8230;]</p>
<p>&lt;p&gt;The post <a rel="nofollow" href="https://www.tosunai.com/tsmaster-rpc-programming-guide-and-instructions/">干货分享 | TSMaster RPC 基础入门：编程指导和使用说明</a> first appeared on <a rel="nofollow" href="https://www.tosunai.com">上海同星智能科技有限公司</a>.&lt;/p&gt;</p>
]]></description>
			<style id="elementor-post-11643">.elementor-11643 .elementor-element.elementor-element-a1c6786{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--align-items:stretch;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:20px;--padding-bottom:20px;--padding-left:0px;--padding-right:0px;}.elementor-11643 .elementor-element.elementor-element-0714c95{--display:flex;}.elementor-widget-text-editor{color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-11643 .elementor-element.elementor-element-10a20b6{line-height:2em;letter-spacing:1px;}.elementor-11643 .elementor-element.elementor-element-4e071bd{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--align-items:stretch;--gap:10px 10px;--row-gap:10px;--column-gap:10px;--margin-top:25px;--margin-bottom:25px;--margin-left:0px;--margin-right:0px;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.elementor-11643 .elementor-element.elementor-element-4e071bd:not(.elementor-motion-effects-element-type-background), .elementor-11643 .elementor-element.elementor-element-4e071bd > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-783ff77 );}.elementor-11643 .elementor-element.elementor-element-f7f2601{--display:flex;}.elementor-widget-heading .elementor-heading-title{color:var( --e-global-color-primary );}.elementor-11643 .elementor-element.elementor-element-0d1e6d6 .elementor-heading-title{font-size:22px;letter-spacing:1.5px;color:#000000;}.elementor-widget-table-of-contents{--header-color:var( --e-global-color-secondary );--item-text-color:var( --e-global-color-text );--item-text-hover-color:var( --e-global-color-accent );--marker-color:var( --e-global-color-text );}.elementor-11643 .elementor-element.elementor-element-3b43478{--box-border-width:0px;--separator-width:0px;--box-padding:0px;--item-text-hover-decoration:underline;}.elementor-11643 .elementor-element.elementor-element-3b43478 .elementor-toc__header-title{text-align:start;}.elementor-11643 .elementor-element.elementor-element-3b43478 .elementor-toc__list-item{font-size:13px;line-height:1.5em;}.elementor-11643 .elementor-element.elementor-element-04d9166{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--align-items:stretch;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:20px;--padding-bottom:20px;--padding-left:0px;--padding-right:0px;}.elementor-11643 .elementor-element.elementor-element-1427f65{--display:flex;}.elementor-11643 .elementor-element.elementor-element-b9289b5 > .elementor-widget-container{padding:40px 40px 40px 40px;}.elementor-11643 .elementor-element.elementor-element-b9289b5{text-align:center;}.elementor-11643 .elementor-element.elementor-element-b9289b5 .elementor-heading-title{font-size:20px;font-weight:600;line-height:1.3em;letter-spacing:1px;color:var( --e-global-color-secondary );}.elementor-11643 .elementor-element.elementor-element-ddf608e{line-height:2em;letter-spacing:1px;}.elementor-11643 .elementor-element.elementor-element-51bc960{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--align-items:stretch;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:20px;--padding-bottom:20px;--padding-left:0px;--padding-right:0px;}.elementor-11643 .elementor-element.elementor-element-380e139{--display:flex;}.elementor-11643 .elementor-element.elementor-element-127410f > .elementor-widget-container{padding:40px 40px 40px 40px;}.elementor-11643 .elementor-element.elementor-element-127410f{text-align:center;}.elementor-11643 .elementor-element.elementor-element-127410f .elementor-heading-title{font-size:20px;font-weight:600;line-height:1.3em;letter-spacing:1px;color:var( --e-global-color-secondary );}.elementor-11643 .elementor-element.elementor-element-48bb52c{line-height:2em;letter-spacing:1px;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );}.elementor-11643 .elementor-element.elementor-element-b3bd31d img{width:800px;}.elementor-11643 .elementor-element.elementor-element-ac5c8ca{line-height:2em;letter-spacing:1px;}.elementor-11643 .elementor-element.elementor-element-2de1d56{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--align-items:stretch;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:20px;--padding-bottom:20px;--padding-left:0px;--padding-right:0px;}.elementor-11643 .elementor-element.elementor-element-618720f{--display:flex;}.elementor-11643 .elementor-element.elementor-element-cf12770 > .elementor-widget-container{padding:40px 40px 40px 40px;}.elementor-11643 .elementor-element.elementor-element-cf12770{text-align:center;}.elementor-11643 .elementor-element.elementor-element-cf12770 .elementor-heading-title{font-size:20px;font-weight:600;line-height:1.3em;letter-spacing:1px;color:var( --e-global-color-secondary );}.elementor-11643 .elementor-element.elementor-element-b59cf63{line-height:2em;letter-spacing:1px;}.elementor-11643 .elementor-element.elementor-element-65fd41e{line-height:2em;letter-spacing:1px;}.elementor-11643 .elementor-element.elementor-element-e32fcb4{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--align-items:stretch;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:20px;--padding-bottom:20px;--padding-left:0px;--padding-right:0px;}.elementor-11643 .elementor-element.elementor-element-71053e6{--display:flex;}.elementor-11643 .elementor-element.elementor-element-7bfd9dd > .elementor-widget-container{padding:40px 40px 40px 40px;}.elementor-11643 .elementor-element.elementor-element-7bfd9dd{text-align:center;}.elementor-11643 .elementor-element.elementor-element-7bfd9dd .elementor-heading-title{font-size:20px;font-weight:600;line-height:1.3em;letter-spacing:1px;color:var( --e-global-color-secondary );}.elementor-11643 .elementor-element.elementor-element-1917d22{line-height:2em;letter-spacing:1px;}.elementor-11643 .elementor-element.elementor-element-600bf00{line-height:2em;letter-spacing:1px;}@media(max-width:767px){.elementor-11643 .elementor-element.elementor-element-0d1e6d6{text-align:center;}.elementor-11643 .elementor-element.elementor-element-b9289b5 > .elementor-widget-container{padding:20px 0px 20px 0px;}.elementor-11643 .elementor-element.elementor-element-127410f > .elementor-widget-container{padding:20px 0px 20px 0px;}.elementor-11643 .elementor-element.elementor-element-cf12770 > .elementor-widget-container{padding:20px 0px 20px 0px;}.elementor-11643 .elementor-element.elementor-element-7bfd9dd > .elementor-widget-container{padding:20px 0px 20px 0px;}}/* Start custom CSS for text-editor, class: .elementor-element-600bf00 */td{
border:1px solid rgb(95, 156, 239)!important;
}/* End custom CSS */
/* Start custom CSS */p{
    margin: 0;
}/* End custom CSS */</style>							<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="11643" class="elementor elementor-11643" data-elementor-post-type="post">
				<div class="elementor-element elementor-element-a1c6786 e-flex e-con-boxed e-con e-parent" data-id="a1c6786" data-element_type="container" data-e-type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-0714c95 e-con-full e-flex e-con e-child" data-id="0714c95" data-element_type="container" data-e-type="container">
				<div class="elementor-element elementor-element-10a20b6 elementor-widget elementor-widget-text-editor" data-id="10a20b6" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>介绍RPC模块前，我们先浅聊一下RPC的相关说明，以及在什么样的情况下需要了解本文 。</p><section><section><section><section><ol><li><strong>RPC 说明<br /></strong>远程过程调用（RPC, Remote Procedure Call）是一种网络通信协议，使得程序可以调用另一台计算机上的程序或服务，就像调用本地的程序一样。RPC 的主要目的是简化分布式计算，使得开发者无需关注底层的网络通信细节。<br /><br /></li><li><strong>什么情况下需要了解此文章？<br /></strong>用户基于 TSMaster 开发了对应的应用工程，想在外部程序中自动化控制TSMaster，可以查阅此文章。<span style="color: #ff0000;">（备注：除了 RPC，TSMaster还提供了基于COM的接口，有需求可另行查阅相关文章。）</span><br /><br />本文适用程控模式：TSMaster1 控制 TSMaster2，或者其他进程控制 TSMaster 进程（使用 TSMaster.dll）适用于语言:C++ 、Python、 C#等语言。</li></ol></section></section></section></section>								</div>
				</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-4e071bd e-flex e-con-boxed e-con e-parent" data-id="4e071bd" data-element_type="container" data-e-type="container" data-settings="{&quot;background_background&quot;:&quot;classic&quot;}">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-f7f2601 e-con-full e-flex e-con e-child" data-id="f7f2601" data-element_type="container" data-e-type="container">
				<div class="elementor-element elementor-element-0d1e6d6 elementor-widget elementor-widget-heading" data-id="0d1e6d6" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h6 class="elementor-heading-title elementor-size-default">本文目录</h6>				</div>
				</div>
				<div class="elementor-element elementor-element-3b43478 elementor-widget elementor-widget-table-of-contents" data-id="3b43478" data-element_type="widget" data-e-type="widget" data-settings="{&quot;headings_by_tags&quot;:[&quot;h2&quot;,&quot;h3&quot;,&quot;h4&quot;],&quot;exclude_headings_by_selector&quot;:&quot;.Mainfooter&quot;,&quot;marker_view&quot;:&quot;bullets&quot;,&quot;icon&quot;:{&quot;value&quot;:&quot;&quot;,&quot;library&quot;:&quot;&quot;},&quot;no_headings_message&quot;:&quot;No headings were found on this page.&quot;,&quot;hierarchical_view&quot;:&quot;yes&quot;,&quot;min_height&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_widescreen&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_laptop&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_tablet_extra&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_mobile_extra&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}" data-widget_type="table-of-contents.default">
				<div class="elementor-widget-container">
									<div id="elementor-toc__3b43478" class="elementor-toc__body">
			<div class="elementor-toc__spinner-container">
				<svg class="elementor-toc__spinner eicon-animation-spin e-font-icon-svg e-eicon-loading" aria-hidden="true" viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg"><path d="M500 975V858C696 858 858 696 858 500S696 142 500 142 142 304 142 500H25C25 237 238 25 500 25S975 237 975 500 763 975 500 975Z"></path></svg>			</div>
		</div>
						</div>
				</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-04d9166 e-flex e-con-boxed e-con e-parent" data-id="04d9166" data-element_type="container" data-e-type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-1427f65 e-con-full e-flex e-con e-child" data-id="1427f65" data-element_type="container" data-e-type="container">
				<div class="elementor-element elementor-element-b9289b5 headingTitleH2 elementor-widget elementor-widget-heading" data-id="b9289b5" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">01 | RPC的基本概念</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-ddf608e elementor-widget elementor-widget-text-editor" data-id="ddf608e" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong>客户端和服务器：</strong></p><p>客户端：发起 RPC 请求的程序。</p><p>服务器：接收 RPC 请求并执行相应过程的程序。</p><p> </p><p><strong>代理:</strong></p><p>客户端代理：封装请求并将其发送到服务器。</p><p>服务器代理：接收请求，解包并调用本地过程，之后将结果返回给客户端代理。</p><p> </p><p><strong>通信机制:</strong></p><p>传输协议：底层使用的协议，比如 TCP、UDP。</p><p>数据序列化：将数据结构或对象转换成可以传输的格式，比如 JSON、XML、Protocol Buffers。</p><p> </p><p><strong>RPC 工作流程:</strong></p><ul><li>客户端调用本地代理方法：客户端调用一个看似本地的方法，但实际上这个方法由客户端代理负责处理；</li><li>客户端代理序列化请求：将方法名、参数等信息打包成消息；</li><li>消息传输：客户端代理将消息通过网络传输到服务器；</li><li>服务器代理解包请求：接收到消息后，服务器代理解包消息并调用实际的本地方法；</li><li>执行方法并生成响应：本地方法执行完毕后，生成响应结果；</li><li>服务器代理打包响应：服务器代理将结果打包成消息并通过网络发送回客户端；</li><li>客户端代理解包响应：客户端代理接收到响应消息后，解包并将结果返回给客户端。</li></ul>								</div>
				</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-51bc960 e-flex e-con-boxed e-con e-parent" data-id="51bc960" data-element_type="container" data-e-type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-380e139 e-con-full e-flex e-con e-child" data-id="380e139" data-element_type="container" data-e-type="container">
				<div class="elementor-element elementor-element-127410f headingTitleH2 elementor-widget elementor-widget-heading" data-id="127410f" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">02、TSMaster RPC 应用

</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-48bb52c elementor-widget elementor-widget-text-editor" data-id="48bb52c" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h3>1｜RPC 功能</h3><p>基于 TSMaster 的 RPC 机制，用户可以在 TSMaster 上位机环境中搭建完整的工程，涵盖从测试用例开发到程控设备管理、总线通讯配置以及控制板卡操作等一系列流程。通过这一机制，用户能够高效地在客户端远程控制 TSMaster 服务器，<strong><span style="color: #3366ff;">实现对系统变量、CAN 信号、LIN 信号、FlexRay 信号以及以太网（ETH）信号等的读写操作。此外，用户还可以调用 TSMaster 服务器上定义的各种函数</span></strong>，进一步扩展和定制系统功能。</p><p> </p><p>这种集成化的解决方案使得工程管理和自动化测试更加便捷和高效。用户无需在多个平台之间切换，即可完成包括硬件配置、信号监控、数据采集和测试执行等复杂任务。通过TSMaster 的 RPC 机制，用户在客户端即可实现对服务器的远程程控，简化了操作流程，提高了测试和开发效率，确保了系统的稳定性和可靠性。</p><p><br />TSMaster 提供了强大的接口和丰富的功能模块，用户可以根据需求灵活组合使用，实现对各种信号和设备的精细控制和管理。这种架构不仅适用于研发测试阶段，也适用于生产环境中的实时监控和故障诊断，极大提升了工程项目的整体质量和效率。</p><p> </p><p>不仅如此，TSMaster 的 RPC 机制支持多种拓扑结构，不仅可以实现客户端与服务器之间的一对一通信，还能够实现以下复杂的通信拓扑：</p><p> </p><ol><li><strong><span style="color: #3366ff;">一对多 (One-to-Many)：</span></strong>单个客户端可以同时控制多个 TSMaster 服务器，适用于需要同时管理多个测试环境或设备的情况。</li><li><span style="color: #3366ff;"><strong>多对一 (Many-to-One)：</strong></span>多个客户端可以同时连接到一个 TSMaster 服务器，这样不同的用户或测试系统可以共享同一个服务器资源，实现协同工作和资源共享。</li><li><span style="color: #3366ff;"><strong>多对多 (Many-to-Many)：</strong></span>多个客户端和多个服务器之间可以进行灵活的通信和控制，构建复杂的分布式测试和控制系统，适用于大型工程项目和分布式测试环境。</li></ol>								</div>
				</div>
				<div class="elementor-element elementor-element-b3bd31d elementor-widget elementor-widget-image" data-id="b3bd31d" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="1024" height="294" src="https://www.tosunai.com/wp-content/uploads/2024/07/technical-articles-20240717-1-1024x294.webp" class="attachment-large size-large wp-image-11645" alt="TSMaster 的 RPC 机制：一对多 (One-to-Many)、多对一 (Many-to-One)、多对多 (Many-to-Many)" srcset="https://www.tosunai.com/wp-content/uploads/2024/07/technical-articles-20240717-1-1024x294.webp 1024w, https://www.tosunai.com/wp-content/uploads/2024/07/technical-articles-20240717-1-300x86.webp 300w, https://www.tosunai.com/wp-content/uploads/2024/07/technical-articles-20240717-1-768x220.webp 768w, https://www.tosunai.com/wp-content/uploads/2024/07/technical-articles-20240717-1-800x230.webp 800w, https://www.tosunai.com/wp-content/uploads/2024/07/technical-articles-20240717-1.webp 1080w" sizes="auto, (max-width: 1024px) 100vw, 1024px" title="干货分享 | TSMaster RPC 基础入门：编程指导和使用说明 70">															</div>
				</div>
				<div class="elementor-element elementor-element-ac5c8ca elementor-widget elementor-widget-text-editor" data-id="ac5c8ca" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>这种灵活的拓扑结构使得 TSMaster 能够适应各种复杂的工程需求，无论是在单一项目中还是在跨项目、跨地域的分布式测试中，都能提供高效、可靠的解决方案。通过这种多样化的通信模式，用户可以最大限度地利用硬件和软件资源，提高系统的扩展性和灵活性，满足不同规模和复杂度的工程项目需求。</p>								</div>
				</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-2de1d56 e-flex e-con-boxed e-con e-parent" data-id="2de1d56" data-element_type="container" data-e-type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-618720f e-con-full e-flex e-con e-child" data-id="618720f" data-element_type="container" data-e-type="container">
				<div class="elementor-element elementor-element-cf12770 headingTitleH2 elementor-widget elementor-widget-heading" data-id="cf12770" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">03、TSMaster RPC 使用说明</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-b59cf63 elementor-widget elementor-widget-text-editor" data-id="b59cf63" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									基于RPC本身机制，TSMaster提供了相应接口，在需要被程控的工程中，激活RPC server端，为程控脚本提供相应资源。

								</div>
				</div>
				<div class="elementor-element elementor-element-65fd41e elementor-widget elementor-widget-text-editor" data-id="65fd41e" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h3>1｜激活 server</h3><p>开启server端操作如下：</p><p> </p><p>新建一个C脚本，在启动事件中输入下面代码，即表示激活了当前工程的rpc server rpc_tsmaster_activate_server(true);</p><p>实际上，在 TSMaster v2024.06.05.1124 版本之后，所有TSMaster工程已经默认激活了RPC功能。</p><p> </p><h3>2｜活 client</h3><p>native_int h; //client 句柄</p><p>//参数 1 为提供 rpc 服务的 TSMaster 应用程序名</p><p>com.rpc_tsmaster_create_client(“TSMaster”,&amp;h);</p><p>//激活 client 端</p><p>Com.rpc_tsmaster_activate_client(h,true);</p><p> </p><h3>3｜修改 server 端数据</h3><p><span style="text-decoration: underline;"><strong>3.1 启动停止 server 工程</strong></span></p><p>启动工程：</p><p style="padding-left: 40px;">TSMaster 小程序：</p><p><span style="color: #3366ff;">com.rpc_tsmaster_cmd_start_simulation(h);</span></p><p style="padding-left: 40px;">API(C\C++\C#\Python):</p><p><span style="color: #3366ff;">rpc_tsmaster_cmd_start_simulation(h);</span></p><p> </p><p> </p><p><span style="text-decoration: underline;"><strong>3.2 读写系统变量</strong></span></p><p>设置系统变量：</p><p style="padding-left: 40px;">TSMaster 小程序：</p><p><span style="color: #3366ff;">com.rpc_tsmaster_cmd_write_system_var(h, &#8220;Var1&#8221;, &#8220;1.2345&#8221;);</span></p><p style="padding-left: 40px;">API(C\C++\C#\Python):</p><p><span style="color: #3366ff;">rpc_tsmaster_cmd_write_system_var(h,&#8221;Var1&#8243;,&#8221;1.2345&#8243;);</span></p><p> </p><p>获取系统变量：</p><p style="padding-left: 40px;">TSMaster 小程序：</p><p><span style="color: #3366ff;">com.rpc_tsmaster_cmd_read_system_var(h, &#8220;Var1&#8221;, &#8220;1.2345&#8221;);</span></p><p style="padding-left: 40px;">API(C\C++\C#\Python):</p><p><span style="color: #3366ff;">rpc_tsmaster_cmd_read_system_var(h,&#8221;Var1&#8243;,&#8221;1.2345&#8243;);</span></p><p> </p><p> </p><p><strong><span style="text-decoration: underline;">3.3 读写 CAN 信号</span></strong></p><p>设置 CAN 信号：</p><p style="padding-left: 40px;">TSMaster 小程序：</p><p><span style="color: #3366ff;">com.rpc_tsmaster_cmd_set_can_signal(h,&#8221;chnidx/net/node/msg/signal&#8221;, 1234)</span></p><p style="padding-left: 40px;">API(C\C++\C#\Python):</p><p><span style="color: #3366ff;">rpc_tsmaster_cmd_set_can_signal(h,&#8221;chnidx/net/node/msg/signal&#8221;, 1234)</span></p><p> </p><p>获取 CAN 信号：</p><p style="padding-left: 40px;">double d = 0;</p><p style="padding-left: 40px;">TSMaster 小程序：</p><p><span style="color: #3366ff;">com.rpc_tsmaster_cmd_get_can_signal(h,&#8221;chnidx/net/node/msg/signal&#8221;, %d)</span></p><p style="padding-left: 40px;">API(C\C++\C#\Python):</p><p><span style="color: #3366ff;">rpc_tsmaster_cmd_get_can_signal(h,&#8221;chnidx/net/node/msg/signal&#8221;, %d)</span></p><p> </p><p> </p><p><span style="text-decoration: underline;"><strong>3.4 读写 LIN 信号</strong></span></p><p>设置 LIN 信号：</p><p style="padding-left: 40px;">TSMaster 小程序：</p><p><span style="color: #3366ff;">com.rpc_tsmaster_cmd_set_lin_signal(h,&#8221;chnidx/net/node/msg/signal&#8221;, 1234);</span></p><p style="padding-left: 40px;">API(C\C++\C#\Python):</p><p><span style="color: #3366ff;">rpc_tsmaster_cmd_set_lin_signal(h,&#8221;chnidx/net/node/msg/signal&#8221;, 1234);</span></p><p> </p><p>获取 LIN 信号：</p><p style="padding-left: 40px;">double d = 0;</p><p style="padding-left: 40px;">TSMaster 小程序：</p><p><span style="color: #3366ff;">com.rpc_tsmaster_cmd_get_lin_signal(h,&#8221;chnidx/net/node/msg/signal&#8221;, %d);</span></p><p style="padding-left: 40px;">API(C\C++\C#\Python):</p><p><span style="color: #3366ff;">rpc_tsmaster_cmd_get_lin_signal(h,&#8221;chnidx/net/node/msg/signal&#8221;, %d);</span></p><p> </p><p> </p><p><span style="text-decoration: underline;"><strong>3.5 读写 FlexRay 信号</strong></span></p><p>设置 FR 信号：</p><p style="padding-left: 40px;">TSMaster 小程序：</p><p><span style="color: #3366ff;">com.rpc_tsmaster_cmd_set_flexray_signal(h,&#8221;chnidx/net/node/msg/signal&#8221;, 1234);</span></p><p style="padding-left: 40px;">API(C\C++\C#\Python):</p><p><span style="color: #3366ff;">rpc_tsmaster_cmd_set_flexray_signal(h,&#8221;chnidx/net/node/msg/signal&#8221;, 1234);</span></p><p> </p><p>获取 FR 信号：</p><p style="padding-left: 40px;">double d = 0;</p><p style="padding-left: 40px;">TSMaster 小程序：</p><p><span style="color: #3366ff;">com.rpc_tsmaster_cmd_get_can_signal(h,&#8221;chnidx/net/node/msg/signal&#8221;, %d);</span></p><p style="padding-left: 40px;">API(C\C++\C#\Python):</p><p><span style="color: #3366ff;">rpc_tsmaster_cmd_get_can_signal(h,&#8221;chnidx/net/node/msg/signal&#8221;, %d)</span></p><p> </p><p> </p><p><span style="text-decoration: underline;"><strong>3.6 RPC 使用 TSMaster 系统函数</strong></span></p><p> </p><p><span style="color: #3366ff;">// 第一步：准备调用函数的输入参数</span></p><p><span style="color: #3366ff;">#define STR_BUFFER_SIZE 1024</span></p><p><span style="color: #3366ff;">char args[4][STR_BUFFER_SIZE];</span></p><p><span style="color: #3366ff;">char* pArgs[4] = {&amp;args[0][0], &amp;args[1][0], &amp;args[2][0], &amp;args[3][0]};</span></p><p><span style="color: #3366ff;">sprintf_s(pArgs[0], STR_BUFFER_SIZE, &#8220;%s&#8221;, &#8220;var1&#8221;);</span></p><p><span style="color: #3366ff;">sprintf_s(pArgs[1], STR_BUFFER_SIZE, &#8220;%d&#8221;, svtString);</span></p><p><span style="color: #3366ff;">sprintf_s(pArgs[2], STR_BUFFER_SIZE, &#8220;%s&#8221;, &#8220;string default value&#8221;);</span></p><p><span style="color: #3366ff;">sprintf_s(pArgs[3], STR_BUFFER_SIZE, &#8220;%s&#8221;, &#8220;this is a comment&#8221;);</span></p><p> </p><p><span style="color: #3366ff;">// 步骤 2：调用任意 API</span></p><p><span style="color: #3366ff;">s32 ret;</span></p><p><span style="color: #3366ff;">ret = com.rpc_tsmaster_call_system_api(h, &#8220;app.create_system_var&#8221;, 4, STR_BUFFER_SIZE,</span></p><p><span style="color: #3366ff;">&amp;pArgs[0]);</span></p><p> </p><p><span style="color: #3366ff;">// 步骤 3：处理参数中的返回值（如果可用）</span></p><p><span style="color: #3366ff;">s32 i;</span></p><p><span style="color: #3366ff;">log(&#8220;API call result = %d&#8221;, ret);</span></p><p><span style="color: #3366ff;">for (i=0; i&lt;4; i++){</span></p><p><span style="color: #3366ff;">log(&#8220;Argument %d: %s&#8221;, i+1, pArgs[i]);</span></p><p><span style="color: #3366ff;">}</span></p><p> </p><p>上述代码等价与在 TSMaster 进程中使用 app.create_system_var 来创建系统变量，即：app.create_system_var(var1,svtString,”string default value”,”this is a comment”);</p><p> </p><p><span style="color: #ff0000;">需要注意的是，使用该方式调用 TSMaster 内的系统函数，无法使用参数为指针类型(报文类型除外)的函数。</span></p><p> </p><p> </p><p><span style="text-decoration: underline;"><strong>3.7 RPC 使用小程序库函数</strong></span></p><p> </p><p><span style="color: #3366ff;">// 第一步：准备调用函数的输入参数</span></p><p><span style="color: #3366ff;">#define STR_BUFFER_SIZE 1024</span></p><p><span style="color: #3366ff;">char args[4][STR_BUFFER_SIZE];</span></p><p><span style="color: #3366ff;">char* pArgs[4] = {&amp;args[0][0], &amp;args[1][0], &amp;args[2][0], &amp;args[3][0]};</span></p><p><span style="color: #3366ff;">sprintf_s(pArgs[0], STR_BUFFER_SIZE, &#8220;%s&#8221;, &#8220;var1&#8221;);</span></p><p><span style="color: #3366ff;">sprintf_s(pArgs[1], STR_BUFFER_SIZE, &#8220;%d&#8221;, svtString);</span></p><p><span style="color: #3366ff;">sprintf_s(pArgs[2], STR_BUFFER_SIZE, &#8220;%s&#8221;, &#8220;string default value&#8221;);</span></p><p><span style="color: #3366ff;">sprintf_s(pArgs[3], STR_BUFFER_SIZE, &#8220;%s&#8221;, &#8220;this is a comment&#8221;);</span></p><p> </p><p><span style="color: #3366ff;">//步骤 2：调用任意 API</span></p><p><span style="color: #3366ff;">s32 ret;TSMaster RPC 编程指导</span></p><p><span style="color: #3366ff;">ret = com.rpc_tsmaster_call_library_api(h, &#8220;mylib.create_system_var&#8221;, 4, STR_BUFFER_SIZE,</span></p><p><span style="color: #3366ff;">&amp;pArgs[0]);</span></p><p> </p><p><span style="color: #3366ff;">// 步骤 3：处理参数中的返回值（如果可用）</span></p><p><span style="color: #3366ff;">s32 i;</span></p><p><span style="color: #3366ff;">log(&#8220;API call result = %d&#8221;, ret);</span></p><p><span style="color: #3366ff;">for (i=0; i&lt;4; i++){</span></p><p><span style="color: #3366ff;">log(&#8220;Argument %d: %s&#8221;, i+1, pArgs[i]);</span></p><p><span style="color: #3366ff;">}</span></p>								</div>
				</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-e32fcb4 e-flex e-con-boxed e-con e-parent" data-id="e32fcb4" data-element_type="container" data-e-type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-71053e6 e-con-full e-flex e-con e-child" data-id="71053e6" data-element_type="container" data-e-type="container">
				<div class="elementor-element elementor-element-7bfd9dd headingTitleH2 elementor-widget elementor-widget-heading" data-id="7bfd9dd" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">04、TSMaster RPC 函数说明

</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-1917d22 elementor-widget elementor-widget-text-editor" data-id="1917d22" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									基于RPC本身机制，TSMaster提供了相应接口，在需要被程控的工程中，激活RPC server端，为程控脚本提供相应资源。

								</div>
				</div>
				<div class="elementor-element elementor-element-600bf00 elementor-widget elementor-widget-text-editor" data-id="600bf00" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h3>1｜rpc_tsmaster_create_client</h3><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><strong>函数名称</strong></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section>UInt32 rpc_tsmaster_create_client(const char* ATSMasterAppName,const psize_t AHandle)</section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><strong>功能介绍</strong></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section>创建一个 TSMaster Rpc 客户端</section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><strong>调用位置</strong></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section>初始化 tsmaster lib 库之后</section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><strong>输入参数</strong></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section>ATSMasterAppName: TSMaster server 端的应用程序名称;AHandle : TSMaster Rpc 客户端句柄</section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><strong>返回值</strong></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section>==0: 函数执行成功其他值：函数执行失败</section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><strong>示例</strong></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section>s32 h;rpc_tsmaster_create_client(&#8220;TSMaster1&#8221;, &amp;h)</section></section></td></tr></tbody></table><h3>2｜rpc_tsmaster_activate_client</h3><section><section><section><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>函数名称</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>UInt32 rpc_tsmaster_activate_client(const size_t AHandle,const bool AActivate)</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>功能介绍</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>激活或者停用一个 TSMaster Rpc 客户端</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>调用位置</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>创建 TSMaster Rpc 客户端之后</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>输入参数</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>AHandle : TSMaster Rpc 客户端句柄</p><p>AActivate: true=激活，false=停用</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>返回值</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>==0: 函数执行成功</p><p>其他值：函数执行失败</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>示例</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>rpc_tsmaster_activate_client(h, true)</p></section></section></td></tr></tbody></table></section></section></section><h3>3｜rpc_tsmaster_is_simulation_running</h3><section><section><section><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>函数名称</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>UInt32 rpc_tsmaster_is_simulation_running(const size_t AHandle,const pbool AIsRunning)</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>功能介绍</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>获取远程 TSMaster 仿真运行的状态</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>调用位置</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>创建 TSMaster Rpc 客户端之后</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>输入参数</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>AHandle : TSMaster Rpc 客户端句柄</p><p>AIsRunning：远程 TSMaster 仿真运行的状态的数据指针</p><p>True=正在运行，false=未运行</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>返回值</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>==0: 函数执行成功</p><p>其他值：函数执行失败</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>示例</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>bool b;</p><p>if (0 == com.rpc_tsmaster_is_simulation_running(h, &amp;b)){</p><p>if (b){</p><p>// current simulation is running</p><p>}</p><p>}</p></section></section></td></tr></tbody></table></section></section></section><p> </p><section><section><section><section><h3><em><strong>4</strong></em>｜<strong>rpc_tsmaster_cmd_set_mode_realtime</strong></h3></section></section><section><section><section></section></section></section></section></section><section><section><section><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>函数名称</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>UInt32 rpc_tsmaster_cmd_set_mode_realtime(const size_t AHandle)</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>功能介绍</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>将 TSMaster Rpc server 配置为实时模式</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>调用位置</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>创建 TSMaster Rpc 客户端之后，仿真运行之前</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>输入参数</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>AHandle : TSMaster Rpc 客户端句柄</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>返回值</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>==0: 函数执行成功</p><p>其他值：函数执行失败</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>示例</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>rpc_tsmaster_cmd_set_mode_realtime(h)</p></section></section></td></tr></tbody></table></section></section></section><section><section><section><section><h3><em><strong>5</strong></em>｜<strong style="font-size: 16px;">rpc_tsmaster_cmd_set_mode_sim</strong></h3></section></section><section><section><section></section></section></section></section></section><section><section><section><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>函数名称</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>UInt32 rpc_tsmaster_cmd_set_mode_sim(const size_t AHandle)</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>功能介绍</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>将 TSMaster Rpc server 配置为仿真模式</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>调用位置</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>创建 TSMaster Rpc 客户端之后，仿真运行之前</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>输入参数</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>AHandle : TSMaster Rpc 客户端句柄</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>返回值</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>==0: 函数执行成功</p><p>其他值：函数执行失败</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>示例</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>rpc_tsmaster_cmd_set_mode_sim(h)</p></section></section></td></tr></tbody></table></section></section></section><section><section><section><section><p> </p><h3><em><strong>6</strong></em>｜<strong>rpc_tsmaster_cmd_start_simulation</strong></h3></section></section><section><section><section></section></section></section></section></section><section><section><section><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>函数名称</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>UInt32 rpc_tsmaster_cmd_start_simulation(const size_t AHandle)</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>功能介绍</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>启动 TSMaster Rpc server 仿真</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>调用位置</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>创建 TSMaster Rpc 客户端之后</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>输入参数</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>AHandle : TSMaster Rpc 客户端句柄</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>返回值</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>==0: 函数执行成功</p><p>其他值：函数执行失败</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>示例</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>rpc_tsmaster_cmd_start_simulation(h)</p></section></section></td></tr></tbody></table></section></section></section><section><section><section><section><h3><em><strong>7</strong></em>｜<strong style="font-size: 16px;">rpc_tsmaster_cmd_set_can_signal</strong></h3></section></section><section><section><section></section></section></section></section></section><section><section><section><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>函数名称</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>UInt32 rpc_tsmaster_cmd_set_can_signal(const size_t AHandle,const</p><p>char* ASgnAddress,const double AValue)</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>功能介绍</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>在远程 TSMaster 上修改数据库中的 CAN 信号值</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>调用位置</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>创建 TSMaster Rpc 客户端之后</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>输入参数</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>AHandle : TSMaster Rpc 客户端句柄</p><p>ASgnAddress：数据库中信号的路径</p><p>AValue: 信号值</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>返回值</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>==0: 函数执行成功</p><p>其他值：函数执行失败</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>示例</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>if(0==rpc_tsmaster_cmd_set_can_signal(h,</p><p>&#8220;0/CAN_FD_Powertrain/Engine/EngineData/EngSpeed&#8221;, 1234)){</p><p>// signal written</p><p>}</p></section></section></td></tr></tbody></table></section></section></section><section><section><section><section><h3><em><strong>8</strong></em>｜<strong style="font-size: 16px;">rpc_tsmaster_cmd_get_can_signal</strong></h3></section></section><section><section><section></section></section></section></section></section><section><section><section><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>函数名称</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>UInt32 rpc_tsmaster_cmd_get_can_signal(const size_t AHandle,const</p><p>char* ASgnAddress,const pdouble AValue)</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>功能介绍</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>在远程 TSMaster 上获取数据库中的 CAN 信号值</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>调用位置</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>创建 TSMaster Rpc 客户端之后</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>输入参数</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>AHandle : TSMaster Rpc 客户端句柄</p><p>ASgnAddress：数据库中信号的路径</p><p>AValue: 信号值指针</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>返回值</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>==0: 函数执行成功</p><p>其他值：函数执行失败</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>示例</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>double d;</p><p>if(0==rpc_tsmaster_cmd_get_can_signal(h,</p><p>&#8220;0/CAN_FD_Powertrain/Engine/EngineData/EngSpeed&#8221;, &amp;d)){</p><p>// signal is retrieved</p><p>}</p></section></section></td></tr></tbody></table></section></section></section><section><section><section><section><h3><em><strong>9</strong></em>｜<strong style="font-size: 16px;">rpc_tsmaster_cmd_set_lin_signal</strong></h3></section></section><section><section><section></section></section></section></section></section><section><section><section><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>函数名称</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>UInt32 rpc_tsmaster_cmd_set_lin_signal(const size_t AHandle,const</p><p>char* ASgnAddress,const double AValue)</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>功能介绍</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>在远程 TSMaster 上修改数据库中的 LIN 信号值</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>调用位置</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>创建 TSMaster Rpc 客户端之后</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>输入参数</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>AHandle : TSMaster Rpc 客户端句柄</p><p>ASgnAddress：数据库中信号的路径</p><p>AValue: 信号值</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>返回值</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>==0: 函数执行成功</p><p>其他值：函数执行失败</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>示例</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>if(0==rpc_tsmaster_cmd_set_lin_signal(h,</p><p>&#8220;chnidx/net/node/msg/signal&#8221;, 1234)){</p><p>// signal written</p><p>}</p></section></section></td></tr></tbody></table></section></section></section><section><section><section><section><h3><em><strong>10</strong></em>｜<strong style="font-size: 16px;">rpc_tsmaster_cmd_get_lin_signal</strong></h3></section></section><section><section><section></section></section></section></section></section><section><section><section><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>函数名称</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>UInt32 rpc_tsmaster_cmd_get_lin_signal(const size_t AHandle,const</p><p>char* ASgnAddress,const pdouble AValue)</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>功能介绍</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>在远程 TSMaster 上获取数据库中的 LIN 信号值</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>调用位置</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>创建 TSMaster Rpc 客户端之后</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>输入参数</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>AHandle : TSMaster Rpc 客户端句柄</p><p>ASgnAddress：数据库中信号的路径</p><p>AValue: 信号值指针</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>返回值</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>==0: 函数执行成功</p><p>其他值：函数执行失败</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>示例</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>double d;</p><p>if(0==rpc_tsmaster_cmd_get_lin_signal(h,</p><p>&#8220;chnidx/net/node/msg/signal&#8221;, &amp;d)){</p><p>// signal is retrieved</p><p>}</p></section></section></td></tr></tbody></table></section></section></section><section><section><section><section><h3><em><strong>11</strong></em>｜<strong style="font-size: 16px;">rpc_tsmaster_cmd_set_flexray_signal</strong></h3></section></section><section><section><section></section></section></section></section></section><section><section><section><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>函数名称</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>UInt32 rpc_tsmaster_cmd_set_flexray_signal(const size_t  AHandle,const char* ASgnAddress,const double AValue)</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>功能介绍</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>在远程 TSMaster 上修改数据库中的 flexray 信号值</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>调用位置</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>创建 TSMaster Rpc 客户端之后</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>输入参数</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>AHandle : TSMaster Rpc 客户端句柄</p><p>ASgnAddress：数据库中信号的路径</p><p>AValue: 信号值</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>返回值</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>==0: 函数执行成功</p><p>其他值：函数执行失败</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>示例</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>if(0==rpc_tsmaster_cmd_set_flexray_signal(h,</p><p>&#8220;chnidx/net/node/msg/signal&#8221;, 1234)){</p><p>// signal written</p><p>}</p></section></section></td></tr></tbody></table></section></section></section><section><section><section><section><h3><em><strong>12</strong></em>｜<strong style="font-size: 16px;">rpc_tsmaster_cmd_get_flexray_signal</strong></h3></section></section><section><section><section></section></section></section></section></section><section><section><section><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>函数名称</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>UInt32 rpc_tsmaster_cmd_get_flexray_signal(const size_t AHandle,const char* ASgnAddress,const pdouble AValue)</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>功能介绍</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>在远程 TSMaster 上获取数据库中的 flexray 信号值</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>调用位置</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>创建 TSMaster Rpc 客户端之后</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>输入参数</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>AHandle : TSMaster Rpc 客户端句柄</p><p>ASgnAddress：数据库中信号的路径</p><p>AValue: 信号值指针</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>返回值</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>==0: 函数执行成功</p><p>其他值：函数执行失败</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>示例</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>double d;</p><p>if(0==rpc_tsmaster_cmd_get_flexray_signal(h,</p><p>&#8220;chnidx/net/node/msg/signal&#8221;, &amp;d)){</p><p>// signal is retrieved</p><p>}</p></section></section></td></tr></tbody></table></section></section></section><section><section><section><section><h3><em><strong>13</strong></em>｜<strong>rpc_tsmaster_cmd_write_system_var</strong></h3></section></section><section><section><section></section></section></section></section></section><section><section><section><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>函数名称</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>UInt32 rpc_tsmaster_cmd_write_system_var(const size_t AHandle,const char* ACompleteName,const char* AValue)</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>功能介绍</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>从远程 TSMaster 按名称写入系统变量</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>调用位置</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>创建 TSMaster Rpc 客户端之后</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>输入参数</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>AHandle : TSMaster Rpc 客户端句柄</p><p>ACompleteName：系统变量名称</p><p>AValue: 数据值</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>返回值</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>==0: 函数执行成功</p><p>其他值：函数执行失败</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>示例</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>rpc_tsmaster_cmd_write_system_var(h, &#8220;v1&#8221;, &#8220;1.2345&#8221;)</p></section></section></td></tr></tbody></table></section></section></section><section><section><section><section><h3><em><strong>14</strong></em>｜<strong style="font-size: 16px;">rpc_tsmaster_cmd_read_system_var</strong></h3></section></section><section><section><section></section></section></section></section></section><section><section><section><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>函数名称</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>UInt32 rpc_tsmaster_cmd_read_system_var(const size_t AHandle,const char* ASysVarName,const pdouble AValue)</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>功能介绍</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>从远程 TSMaster 按名称读取系统变量    </p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>调用位置</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>创建 TSMaster Rpc 客户端之后</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>输入参数</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>AHandle : TSMaster Rpc 客户端句柄</p><p>ASysVarName：系统变量名称</p><p>AValue: 数据值指针</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>返回值</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>==0: 函数执行成功</p><p>其他值：函数执行失败</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>示例</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>double d;</p><p>if (0 == rpc_tsmaster_cmd_read_system_var(h, &#8220;v1&#8221;, &amp;d)){</p><p>log(&#8220;value = %f&#8221;, d);</p><p>}</p></section></section></td></tr></tbody></table></section></section></section><section><section><section><section><h3><em><strong>15</strong></em>｜<strong style="font-size: 16px;">rpc_tsmaster_cmd_write_signal</strong></h3></section></section><section><section><section></section></section></section></section></section><section><section><section><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>函数名称</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>UInt32 rpc_tsmaster_cmd_write_signal(const size_t AHandle,const TLIBApplicationChannelType ABusType,const char* AAddr,const double</p><p>AValue)</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>功能介绍</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>从远程 TSMaster 按名称写入信号值</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>调用位置</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>创建 TSMaster Rpc 客户端之后</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>输入参数</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>AHandle : TSMaster Rpc 客户端句柄</p><p>ABusType：总线类型</p><p>AAddr：数据库中信号的路径</p><p>AValue: 数据值</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>返回值</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>==0: 函数执行成功</p><p>其他值：函数执行失败</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>示例</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>if(0==rpc_tsmaster_cmd_write_signal(h,APP_CAN,</p><p>&#8220;0/Powertrain/Engine/EngSpeed&#8221;, 1234)){</p><p>// value written</p><p>}</p></section></section></td></tr></tbody></table></section></section></section><section><section><section><section><h3><em><strong>16</strong></em>｜<strong>rpc_tsmaster_cmd_read_signal</strong></h3></section></section><section><section><section></section></section></section></section></section><section><section><section><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>函数名称</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>UInt32 rpc_tsmaster_cmd_read_signal(const size_t AHandle,const TLIBApplicationChannelType ABusType,const char* AAddr,const</p><p>pdouble AValue)</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>功能介绍</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>从远程 TSMaster 按名称读取信号</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>调用位置</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>创建 TSMaster Rpc 客户端之后</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>输入参数</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>AHandle : TSMaster Rpc 客户端句柄</p><p>ABusType：总线类型</p><p>AAddr：数据库中信号的路径</p><p>AValue: 数据值指针</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>返回值</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>==0: 函数执行成功</p><p>其他值：函数执行失败</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>示例</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>double d;</p><p>if(0==rpc_tsmaster_cmd_read_signal(h,APP_CAN,</p><p>&#8220;0/Powertrain/Engine/EngSpeed&#8221;, &amp;d)){</p><p>log(&#8220;signal value = %f&#8221;, d);</p><p>}</p></section></section></td></tr></tbody></table></section></section></section><section><section><section><section><h3><em><strong>17</strong></em>｜<strong style="font-size: 16px;">rpc_tsmaster_delete_client</strong></h3></section></section><section><section><section></section></section></section></section></section><section><section><section><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>函数名称</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>UInt32 rpc_tsmaster_delete_client(const size_t AHandle)</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>功能介绍</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>删除 rpc client</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>调用位置</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>创建 TSMaster Rpc 客户端之后</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>输入参数</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>AHandle : TSMaster Rpc 客户端句柄</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>返回值</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>==0: 函数执行成功</p><p>其他值：函数执行失败</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>示例</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>rpc_tsmaster_delete_client(h)</p></section></section></td></tr></tbody></table></section></section></section><section><section><section><section><h3><em><strong>18</strong></em>｜<strong style="font-size: 16px;">rpc_tsmaster_cmd_stop_simulation</strong></h3></section></section><section><section><section></section></section></section></section></section><section><section><section><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>函数名称</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>UInt32 rpc_tsmaster_cmd_stop_simulation(const size_t AHandle)</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>功能介绍</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>停止远程 TSMaster 仿真</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>调用位置</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>创建 TSMaster Rpc 客户端之后</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>输入参数</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>AHandle : TSMaster Rpc 客户端句柄</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>返回值</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>==0: 函数执行成功</p><p>其他值：函数执行失败</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>示例</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>rpc_tsmaster_cmd_stop_simulation(h)</p></section></section></td></tr></tbody></table></section></section></section><section><section><section><section><h3><em><strong>19</strong></em>｜<strong style="font-size: 16px;">rpc_tsmaster_call_system_api</strong></h3></section></section><section><section><section></section></section></section></section></section><section><section><section><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>函数名称</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>UInt32 rpc_tsmaster_call_system_api(const size_t AHandle,const char* AAPIName,const s32 AArgCount,const s32 AArgCapacity,const</p><p>char** AArgs)</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>功能介绍</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p><strong>Client 调用 server 端使用系统函数</strong></p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>调用位置</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>创建 TSMaster Rpc 客户端之后</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>输入参数</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>AHandle : TSMaster Rpc 客户端句柄</p><p>AAPIName：系统函数名称，”app.create_system_var”</p><p>AArgCount: 函数参数数量</p><p>AArgCapacity：参数字符串长度</p><p>AArgs：参数字符串数组</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>返回值</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>==0: 函数执行成功</p><p>其他值：函数执行失败</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>示例</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>// 第一步：准备调用函数的输入参数</p><p>#define STR_BUFFER_SIZE 1024</p><p>char args[4][STR_BUFFER_SIZE];</p><p>char* pArgs[4] = {&amp;args[0][0], &amp;args[1][0], &amp;args[2][0], &amp;args[3][0]};</p><p>sprintf_s(pArgs[0], STR_BUFFER_SIZE, &#8220;%s&#8221;, &#8220;var1&#8221;);</p><p>sprintf_s(pArgs[1], STR_BUFFER_SIZE, &#8220;%d&#8221;, svtString);</p><p>sprintf_s(pArgs[2], STR_BUFFER_SIZE, &#8220;%s&#8221;, &#8220;string default value&#8221;);</p><p>sprintf_s(pArgs[3], STR_BUFFER_SIZE, &#8220;%s&#8221;, &#8220;this is a comment&#8221;);</p><p>// 步骤 2：调用任意 API</p><p>s32 ret;</p><p>ret = com.rpc_tsmaster_call_system_api(h, &#8220;app.create_system_var&#8221;, 4,</p><p>STR_BUFFER_SIZE, &amp;pArgs[0]);</p><p>// 步骤 3：处理参数中的返回值（如果可用）</p><p>s32 i;</p><p>log(&#8220;API call result = %d&#8221;, ret);</p><p>for (i=0; i&lt;4; i++){</p><p>log(&#8220;Argument %d: %s&#8221;, i+1, pArgs[i]);</p><p>}</p></section></section></td></tr></tbody></table></section></section></section><section><section><section><section><h3><em><strong>20</strong></em>｜<strong style="font-size: 16px;">rpc_tsmaster_call_library_api</strong></h3></section></section><section><section><section></section></section></section></section></section><section><section><section><table width="100%"><tbody><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>函数名称</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>UInt32 rpc_tsmaster_call_library_api(const size_t AHandle,const char* AAPIName,const s32 AArgCount,const s32 AArgCapacity,const  char** AArgs)</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>功能介绍</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p><strong>Client 调用 server 端使用系统函数</strong></p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>调用位置</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>创建 TSMaster Rpc 客户端之后</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>输入参数</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>AHandle : TSMaster Rpc 客户端句柄</p><p>AAPIName：小程序库函数名称，”mylib.create_system_var”</p><p>AArgCount: 函数参数数量</p><p>AArgCapacity：参数字符串长度</p><p>AArgs：参数字符串数组</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>返回值</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>==0: 函数执行成功</p><p>其他值：函数执行失败</p></section></section></td></tr><tr><td colspan="1" rowspan="1" width="33.0000%"><section><section><p><strong>示例</strong></p></section></section></td><td colspan="1" rowspan="1" width="67.0000%"><section><section><p>// 第一步：准备调用函数的输入参数</p><p>#define STR_BUFFER_SIZE 1024</p><p>char args[4][STR_BUFFER_SIZE];</p><p>char* pArgs[4] = {&amp;args[0][0], &amp;args[1][0], &amp;args[2][0], &amp;args[3][0]};</p><p>sprintf_s(pArgs[0], STR_BUFFER_SIZE, &#8220;%s&#8221;, &#8220;var1&#8221;);</p><p>sprintf_s(pArgs[1], STR_BUFFER_SIZE, &#8220;%d&#8221;, svtString);</p><p>sprintf_s(pArgs[2], STR_BUFFER_SIZE, &#8220;%s&#8221;, &#8220;string default value&#8221;);</p><p>sprintf_s(pArgs[3], STR_BUFFER_SIZE, &#8220;%s&#8221;, &#8220;this is a comment&#8221;);</p><p>//步骤 2：调用任意 API</p><p>s32 ret;</p><p>ret = com.rpc_tsmaster_call_library_api(h, &#8220;mylib.create_system_var&#8221;,</p><p>4, STR_BUFFER_SIZE, &amp;pArgs[0]);</p><p>// 步骤 3：处理参数中的返回值（如果可用）</p><p>s32 i;</p><p>log(&#8220;API call result = %d&#8221;, ret);</p><p>for (i=0; i&lt;4; i++){</p><p>log(&#8220;Argument %d: %s&#8221;, i+1, pArgs[i]);</p><p>}</p></section></section></td></tr></tbody></table></section></section></section>								</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		<p>&lt;p&gt;The post <a rel="nofollow" href="https://www.tosunai.com/tsmaster-rpc-programming-guide-and-instructions/">干货分享 | TSMaster RPC 基础入门：编程指导和使用说明</a> first appeared on <a rel="nofollow" href="https://www.tosunai.com">上海同星智能科技有限公司</a>.&lt;/p&gt;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.tosunai.com/tsmaster-rpc-programming-guide-and-instructions/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>干货分享 &#124; TSMaster 信号映射的配置方法</title>
		<link>https://www.tosunai.com/tsmaster-signal-mapping-configuration/</link>
					<comments>https://www.tosunai.com/tsmaster-signal-mapping-configuration/#respond</comments>
		
		<dc:creator><![CDATA[pan]]></dc:creator>
		<pubDate>Tue, 30 Jan 2024 04:06:58 +0000</pubDate>
				<category><![CDATA[软件操作教程]]></category>
		<category><![CDATA[TSMaster]]></category>
		<category><![CDATA[TSMaster使用教程]]></category>
		<category><![CDATA[仿真]]></category>
		<category><![CDATA[信号映射]]></category>
		<category><![CDATA[系统变量]]></category>
		<guid isPermaLink="false">https://www.tosunai.com/?p=7227</guid>

					<description><![CDATA[<p>TSMaster信号映射模块可以将数据库变量映射为系统变量，经过映射后的系统变量就等同于数据库中的变量，该系统 [&#8230;]</p>
<p>&lt;p&gt;The post <a rel="nofollow" href="https://www.tosunai.com/tsmaster-signal-mapping-configuration/">干货分享 | TSMaster 信号映射的配置方法</a> first appeared on <a rel="nofollow" href="https://www.tosunai.com">上海同星智能科技有限公司</a>.&lt;/p&gt;</p>
]]></description>
			<style id="elementor-post-7227">.elementor-7227 .elementor-element.elementor-element-0b0b8a8 > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-7227 .elementor-element.elementor-element-0b0b8a8{margin-top:0px;margin-bottom:0px;padding:20px 0px 20px 0px;}.elementor-widget-text-editor{color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-7227 .elementor-element.elementor-element-d5053f0{letter-spacing:1px;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );}.elementor-7227 .elementor-element.elementor-element-3cb663a{letter-spacing:1px;}.elementor-widget-heading .elementor-heading-title{color:var( --e-global-color-primary );}.elementor-7227 .elementor-element.elementor-element-7180f14{width:100%;max-width:100%;}.elementor-7227 .elementor-element.elementor-element-7180f14 > .elementor-widget-container{padding:20px 0px 4px 0px;border-style:solid;border-width:0px 0px 1px 0px;}.elementor-7227 .elementor-element.elementor-element-7180f14 .elementor-heading-title{font-family:"Verdana", Sans-serif;font-size:14px;font-weight:bold;font-style:italic;line-height:29px;-webkit-text-stroke-color:#000;stroke:#000;color:#222121;}.elementor-7227 .elementor-element.elementor-element-7f991a3:not(.elementor-motion-effects-element-type-background), .elementor-7227 .elementor-element.elementor-element-7f991a3 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-783ff77 );}.elementor-7227 .elementor-element.elementor-element-7f991a3{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;margin-top:25px;margin-bottom:25px;padding:20px 20px 20px 20px;}.elementor-7227 .elementor-element.elementor-element-7f991a3 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-7227 .elementor-element.elementor-element-fef38cf .elementor-heading-title{font-size:22px;letter-spacing:1.5px;color:#000000;}.elementor-widget-table-of-contents{--header-color:var( --e-global-color-secondary );--item-text-color:var( --e-global-color-text );--item-text-hover-color:var( --e-global-color-accent );--marker-color:var( --e-global-color-text );}.elementor-7227 .elementor-element.elementor-element-2bfb505{--box-border-width:0px;--separator-width:0px;--box-padding:0px;--item-text-hover-decoration:underline;}.elementor-7227 .elementor-element.elementor-element-2bfb505 .elementor-toc__header-title{text-align:start;}.elementor-7227 .elementor-element.elementor-element-2bfb505 .elementor-toc__list-item{font-size:13px;line-height:1.5em;}.elementor-7227 .elementor-element.elementor-element-78d5501 > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-7227 .elementor-element.elementor-element-78d5501{margin-top:0px;margin-bottom:0px;padding:20px 0px 20px 0px;}.elementor-7227 .elementor-element.elementor-element-d4dd6d3 > .elementor-widget-container{padding:40px 40px 40px 40px;}.elementor-7227 .elementor-element.elementor-element-d4dd6d3{text-align:center;}.elementor-7227 .elementor-element.elementor-element-d4dd6d3 .elementor-heading-title{font-size:20px;font-weight:600;line-height:1.3em;letter-spacing:1px;color:var( --e-global-color-secondary );}.elementor-7227 .elementor-element.elementor-element-865a807 > .elementor-widget-container{padding:40px 0px 0px 0px;}.elementor-7227 .elementor-element.elementor-element-865a807{text-align:start;}.elementor-7227 .elementor-element.elementor-element-865a807 .elementor-heading-title{font-size:16px;font-weight:600;letter-spacing:1px;color:var( --e-global-color-primary );}.elementor-7227 .elementor-element.elementor-element-6d456fb{letter-spacing:1px;}.elementor-7227 .elementor-element.elementor-element-4f47ccf > .elementor-widget-container{margin:40px 0px 0px 0px;}.elementor-7227 .elementor-element.elementor-element-4f47ccf{letter-spacing:1px;}.elementor-7227 .elementor-element.elementor-element-bb987b0 > .elementor-widget-container{margin:40px 0px 0px 0px;}.elementor-7227 .elementor-element.elementor-element-bb987b0{letter-spacing:1px;}.elementor-7227 .elementor-element.elementor-element-3bf0d9f > .elementor-widget-container{padding:40px 0px 0px 0px;}.elementor-7227 .elementor-element.elementor-element-3bf0d9f{text-align:start;}.elementor-7227 .elementor-element.elementor-element-3bf0d9f .elementor-heading-title{font-size:16px;font-weight:600;letter-spacing:1px;color:var( --e-global-color-primary );}.elementor-7227 .elementor-element.elementor-element-6c2b66b{letter-spacing:1px;}.elementor-7227 .elementor-element.elementor-element-fa70eda > .elementor-widget-container{margin:40px 0px 0px 0px;}.elementor-7227 .elementor-element.elementor-element-fa70eda{letter-spacing:1px;}.elementor-7227 .elementor-element.elementor-element-af471bf > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-7227 .elementor-element.elementor-element-af471bf{margin-top:0px;margin-bottom:0px;padding:20px 0px 20px 0px;}.elementor-7227 .elementor-element.elementor-element-9bd3ca6 > .elementor-widget-container{padding:40px 40px 40px 40px;}.elementor-7227 .elementor-element.elementor-element-9bd3ca6{text-align:center;}.elementor-7227 .elementor-element.elementor-element-9bd3ca6 .elementor-heading-title{font-size:20px;font-weight:600;line-height:1.3em;letter-spacing:1px;color:var( --e-global-color-secondary );}.elementor-7227 .elementor-element.elementor-element-9cf8796 > .elementor-widget-container{padding:40px 0px 0px 0px;}.elementor-7227 .elementor-element.elementor-element-9cf8796{text-align:start;}.elementor-7227 .elementor-element.elementor-element-9cf8796 .elementor-heading-title{font-size:16px;font-weight:600;letter-spacing:1px;color:var( --e-global-color-primary );}.elementor-7227 .elementor-element.elementor-element-5d2b90b{letter-spacing:1px;}.elementor-7227 .elementor-element.elementor-element-d2bf207 > .elementor-widget-container{padding:40px 0px 0px 0px;}.elementor-7227 .elementor-element.elementor-element-d2bf207{text-align:start;}.elementor-7227 .elementor-element.elementor-element-d2bf207 .elementor-heading-title{font-size:16px;font-weight:600;letter-spacing:1px;color:var( --e-global-color-primary );}.elementor-7227 .elementor-element.elementor-element-bf153e1 > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-7227 .elementor-element.elementor-element-bf153e1{letter-spacing:1px;}.elementor-7227 .elementor-element.elementor-element-f07b46c > .elementor-widget-container{margin:40px 0px 0px 0px;}.elementor-7227 .elementor-element.elementor-element-f07b46c{letter-spacing:1px;}.elementor-7227 .elementor-element.elementor-element-ce5b5a0{letter-spacing:1px;}.elementor-7227 .elementor-element.elementor-element-07baea0 > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-7227 .elementor-element.elementor-element-07baea0{margin-top:0px;margin-bottom:0px;padding:20px 0px 20px 0px;}.elementor-7227 .elementor-element.elementor-element-fea8ace > .elementor-widget-container{padding:40px 40px 40px 40px;}.elementor-7227 .elementor-element.elementor-element-fea8ace{text-align:center;}.elementor-7227 .elementor-element.elementor-element-fea8ace .elementor-heading-title{font-size:20px;font-weight:600;line-height:1.3em;letter-spacing:1px;color:var( --e-global-color-secondary );}.elementor-7227 .elementor-element.elementor-element-de0b0ff{letter-spacing:1px;}.elementor-7227 .elementor-element.elementor-element-89d9076{letter-spacing:1px;}.elementor-7227 .elementor-element.elementor-element-ab7c042{letter-spacing:1px;}.elementor-7227 .elementor-element.elementor-element-ddcd051 > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-7227 .elementor-element.elementor-element-ddcd051{margin-top:0px;margin-bottom:0px;padding:40px 0px 40px 0px;}.elementor-widget-divider{--divider-color:var( --e-global-color-secondary );}.elementor-widget-divider .elementor-divider__text{color:var( --e-global-color-secondary );}.elementor-widget-divider.elementor-view-stacked .elementor-icon{background-color:var( --e-global-color-secondary );}.elementor-widget-divider.elementor-view-framed .elementor-icon, .elementor-widget-divider.elementor-view-default .elementor-icon{color:var( --e-global-color-secondary );border-color:var( --e-global-color-secondary );}.elementor-widget-divider.elementor-view-framed .elementor-icon, .elementor-widget-divider.elementor-view-default .elementor-icon svg{fill:var( --e-global-color-secondary );}.elementor-7227 .elementor-element.elementor-element-e569401{--divider-border-style:slashes;--divider-color:var( --e-global-color-secondary );--divider-border-width:2px;--divider-pattern-height:10px;--divider-pattern-size:11px;}.elementor-7227 .elementor-element.elementor-element-e569401 .elementor-divider-separator{width:100%;}.elementor-7227 .elementor-element.elementor-element-e569401 .elementor-divider{padding-block-start:0px;padding-block-end:0px;}.elementor-7227 .elementor-element.elementor-element-2f60bc4 > .elementor-widget-container{background-color:var( --e-global-color-783ff77 );padding:40px 40px 40px 40px;}.elementor-7227 .elementor-element.elementor-element-2f60bc4{text-align:start;letter-spacing:1px;}.elementor-7227 .elementor-element.elementor-element-7316e5d{--divider-border-style:slashes;--divider-color:var( --e-global-color-secondary );--divider-border-width:2px;--divider-pattern-height:10px;--divider-pattern-size:11px;}.elementor-7227 .elementor-element.elementor-element-7316e5d .elementor-divider-separator{width:100%;}.elementor-7227 .elementor-element.elementor-element-7316e5d .elementor-divider{padding-block-start:0px;padding-block-end:0px;}@media(max-width:1024px){.elementor-7227 .elementor-element.elementor-element-7180f14 .elementor-heading-title{font-size:20px;}}@media(max-width:767px){.elementor-7227 .elementor-element.elementor-element-7180f14 > .elementor-widget-container{padding:0px 0px 0px 0px;}.elementor-7227 .elementor-element.elementor-element-7180f14 .elementor-heading-title{font-size:20px;}.elementor-7227 .elementor-element.elementor-element-fef38cf{text-align:center;}.elementor-7227 .elementor-element.elementor-element-d4dd6d3 > .elementor-widget-container{padding:20px 0px 20px 0px;}.elementor-7227 .elementor-element.elementor-element-865a807 > .elementor-widget-container{padding:40px 0px 0px 0px;}.elementor-7227 .elementor-element.elementor-element-3bf0d9f > .elementor-widget-container{padding:40px 0px 0px 0px;}.elementor-7227 .elementor-element.elementor-element-9bd3ca6 > .elementor-widget-container{padding:20px 0px 20px 0px;}.elementor-7227 .elementor-element.elementor-element-9cf8796 > .elementor-widget-container{padding:40px 0px 0px 0px;}.elementor-7227 .elementor-element.elementor-element-d2bf207 > .elementor-widget-container{padding:40px 0px 0px 0px;}.elementor-7227 .elementor-element.elementor-element-fea8ace > .elementor-widget-container{padding:20px 0px 20px 0px;}}/* Start custom CSS for text-editor, class: .elementor-element-f07b46c */.alignleft{
    float: none;
}/* End custom CSS */
/* Start custom CSS */p{
    margin: 0;
}/* End custom CSS */</style>							<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="7227" class="elementor elementor-7227" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-0b0b8a8 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="0b0b8a8" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-no">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-fa58092" data-id="fa58092" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-d5053f0 elementor-widget elementor-widget-text-editor" data-id="d5053f0" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<section><section><p>TSMaster信号映射模块可以将数据库变量映射为系统变量，经过映射后的系统变量就等同于数据库中的变量，该系统变量的读写操作就等同于读写数据库变量。其在系统软件中的位置如下图所示：</p></section></section>								</div>
				</div>
				<div class="elementor-element elementor-element-6b48f1d elementor-widget elementor-widget-image" data-id="6b48f1d" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="795" height="613" src="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-1.jpg" class="attachment-large size-large wp-image-7229" alt="TSMaster 信号映射的配置方法" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-1.jpg 795w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-1-300x231.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-1-768x592.jpg 768w" sizes="auto, (max-width: 795px) 100vw, 795px" title="干货分享 | TSMaster 信号映射的配置方法 86">															</div>
				</div>
				<div class="elementor-element elementor-element-3cb663a elementor-widget elementor-widget-text-editor" data-id="3cb663a" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>信号映射模块设计的目的，就是为了实现上层应用层逻辑和下层数据库变量的解耦合。如果上层应用层直接操作数据库中的变量，一旦数据库发生变动，介于这种强耦合关系，会造成上层开发，比如Panel，测试脚本等需要修改对应的数据库变量，对于大型工程项目来说，这种变动是不可接受的。采用信号映射模块，上层映射层不用直接操作数据库变量，直接使用映射后的系统变量，当下层数据库等发生变动时，只需重新将映射数据库变量到对应的系统变量即可，而不用修改上层的应用。本文将重点介绍TSMaster中添加信号映射的操作方法。</p>								</div>
				</div>
				<div class="elementor-element elementor-element-7180f14 elementor-widget__width-inherit elementor-widget elementor-widget-heading" data-id="7180f14" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<p class="elementor-heading-title elementor-size-default">本文关键字：信号映射、系统变量、表达式映射</p>				</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-7f991a3 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="7f991a3" data-element_type="section" data-e-type="section" data-settings="{&quot;background_background&quot;:&quot;classic&quot;}">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-fb54522" data-id="fb54522" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-fef38cf elementor-widget elementor-widget-heading" data-id="fef38cf" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h6 class="elementor-heading-title elementor-size-default">本文目录</h6>				</div>
				</div>
				<div class="elementor-element elementor-element-2bfb505 elementor-widget elementor-widget-table-of-contents" data-id="2bfb505" data-element_type="widget" data-e-type="widget" data-settings="{&quot;headings_by_tags&quot;:[&quot;h2&quot;,&quot;h3&quot;,&quot;h4&quot;],&quot;exclude_headings_by_selector&quot;:&quot;.Mainfooter&quot;,&quot;marker_view&quot;:&quot;bullets&quot;,&quot;icon&quot;:{&quot;value&quot;:&quot;&quot;,&quot;library&quot;:&quot;&quot;},&quot;no_headings_message&quot;:&quot;No headings were found on this page.&quot;,&quot;hierarchical_view&quot;:&quot;yes&quot;,&quot;min_height&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_widescreen&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_laptop&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_tablet_extra&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_mobile_extra&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}" data-widget_type="table-of-contents.default">
				<div class="elementor-widget-container">
									<div id="elementor-toc__2bfb505" class="elementor-toc__body">
			<div class="elementor-toc__spinner-container">
				<svg class="elementor-toc__spinner eicon-animation-spin e-font-icon-svg e-eicon-loading" aria-hidden="true" viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg"><path d="M500 975V858C696 858 858 696 858 500S696 142 500 142 142 304 142 500H25C25 237 238 25 500 25S975 237 975 500 763 975 500 975Z"></path></svg>			</div>
		</div>
						</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-78d5501 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="78d5501" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-no">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-05856e7" data-id="05856e7" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-d4dd6d3 headingTitleH2 elementor-widget elementor-widget-heading" data-id="d4dd6d3" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">一、直接映射的操作方法</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-865a807 elementor-widget elementor-widget-heading" data-id="865a807" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h3 class="elementor-heading-title elementor-size-default">1｜信号映射模块路径：</h3>				</div>
				</div>
				<div class="elementor-element elementor-element-6d456fb elementor-widget elementor-widget-text-editor" data-id="6d456fb" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong>仿真-环境-信号映射</strong></p><p>打开信号映射后，点击模块左上角激活按钮使能信号映射模块。如图1。</p>								</div>
				</div>
				<div class="elementor-element elementor-element-0c286d6 elementor-widget elementor-widget-image" data-id="0c286d6" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
												<figure class="wp-caption">
										<img loading="lazy" decoding="async" width="850" height="609" src="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-2.jpg" class="attachment-large size-large wp-image-7230" alt="TSMaster 信号映射的配置方法" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-2.jpg 850w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-2-300x215.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-2-768x550.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-2-800x573.jpg 800w" sizes="auto, (max-width: 850px) 100vw, 850px" title="干货分享 | TSMaster 信号映射的配置方法 87">											<figcaption class="widget-image-caption wp-caption-text">图1</figcaption>
										</figure>
									</div>
				</div>
				<div class="elementor-element elementor-element-4f47ccf elementor-widget elementor-widget-text-editor" data-id="4f47ccf" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>选择数据库中的信号进行映射，以CAN数据库为例，如图2所示：</p><p>▲ Step1：选择【通道1】的数据库报文信号；</p><p>▲ Step2：选择需要映射的信号，比如“EngSpeed”信号；</p><p>▲ Step3: 鼠标右键，选择【自动创建映射】；</p><p>▲ Step4：在【映射目标系统变量列表】自动生成目标系统变量，默认为直接映射类型。</p>								</div>
				</div>
				<div class="elementor-element elementor-element-8f893d9 elementor-widget elementor-widget-image" data-id="8f893d9" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
												<figure class="wp-caption">
										<img loading="lazy" decoding="async" width="1024" height="524" src="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-3-1024x524.jpg" class="attachment-large size-large wp-image-7231" alt="TSMaster 信号映射的配置方法" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-3-1024x524.jpg 1024w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-3-300x154.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-3-768x393.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-3-800x409.jpg 800w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-3.jpg 1063w" sizes="auto, (max-width: 1024px) 100vw, 1024px" title="干货分享 | TSMaster 信号映射的配置方法 88">											<figcaption class="widget-image-caption wp-caption-text">图2</figcaption>
										</figure>
									</div>
				</div>
				<div class="elementor-element elementor-element-bb987b0 elementor-widget elementor-widget-text-editor" data-id="bb987b0" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<section><p>▲ Step5: 当自动创建映射后，在【仿真-系统变量-用户变量列表】中会自动生成同名系统变量，如图3。</p></section>								</div>
				</div>
				<div class="elementor-element elementor-element-e98c8da elementor-widget elementor-widget-image" data-id="e98c8da" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
												<figure class="wp-caption">
										<img loading="lazy" decoding="async" width="1024" height="200" src="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-4-1024x200.jpg" class="attachment-large size-large wp-image-7232" alt="TSMaster 信号映射的配置方法" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-4-1024x200.jpg 1024w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-4-300x59.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-4-768x150.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-4-800x156.jpg 800w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-4.jpg 1065w" sizes="auto, (max-width: 1024px) 100vw, 1024px" title="干货分享 | TSMaster 信号映射的配置方法 89">											<figcaption class="widget-image-caption wp-caption-text">图3</figcaption>
										</figure>
									</div>
				</div>
				<div class="elementor-element elementor-element-3bf0d9f elementor-widget elementor-widget-heading" data-id="3bf0d9f" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h3 class="elementor-heading-title elementor-size-default">2｜映射方向的三种方式</h3>				</div>
				</div>
				<div class="elementor-element elementor-element-6c2b66b elementor-widget elementor-widget-text-editor" data-id="6c2b66b" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>直接映射方式可以理解为一对一的映射方式，可以选择信号映射的方向，TSMaster提供了三种方式：双向传递、仅从信号映射至系统变量、仅从系统变量映射至信号，以适配不同的映射需求，如图4。</p><p> </p><ol><li>双向传递：系统变量值的改变会同步到信号，信号值的改变会同步到系统变量。</li><li>仅从信号映射至系统变量：信号值的改变会同步到系统变量，系统变量值的改变不会同步到信号。</li><li>仅从系统变量映射至信号：系统变量值的改变会同步到信号，信号值的改变不会同步到系统变量。</li></ol>								</div>
				</div>
				<div class="elementor-element elementor-element-44ce504 elementor-widget elementor-widget-image" data-id="44ce504" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
												<figure class="wp-caption">
										<img loading="lazy" decoding="async" width="1024" height="910" src="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-5-1024x910.jpg" class="attachment-large size-large wp-image-7233" alt="TSMaster 信号映射的配置方法" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-5-1024x910.jpg 1024w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-5-300x267.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-5-768x682.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-5-800x711.jpg 800w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-5.jpg 1068w" sizes="auto, (max-width: 1024px) 100vw, 1024px" title="干货分享 | TSMaster 信号映射的配置方法 90">											<figcaption class="widget-image-caption wp-caption-text">图4</figcaption>
										</figure>
									</div>
				</div>
				<div class="elementor-element elementor-element-fa70eda elementor-widget elementor-widget-text-editor" data-id="fa70eda" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong>操作步骤如下：</strong></p><p>①　选择映射列表条目中目标系统变量；</p><p>②　点击【映射方向】弹出菜单；</p><p>③　选择映射方向；</p><p>④　点击【设置】完成选择。</p>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-af471bf elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="af471bf" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-no">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b26a969" data-id="b26a969" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-9bd3ca6 headingTitleH2 elementor-widget elementor-widget-heading" data-id="9bd3ca6" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">二、直接映射的操作方法</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-9cf8796 elementor-widget elementor-widget-heading" data-id="9cf8796" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h3 class="elementor-heading-title elementor-size-default">1｜表达式映射的说明</h3>				</div>
				</div>
				<div class="elementor-element elementor-element-5d2b90b elementor-widget elementor-widget-text-editor" data-id="5d2b90b" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>将所选表达式设置为表达式映射后可以编辑表达式，最终将自定义的算法表达式计算得到的结果映射到系统变量，自变量可以选择常量、系统变量、FlexRay信号、CAN信号、LIN信号。</p><p> </p><p>TSMaster提供了一系列的数学函数列表及表达式，其中数学函数列表：</p><p>abs, acos, asin, atan, atan2, ceil, cos, cosh, e, exp, fac, floor, ln.</p><p>log, log10, max, min, ncr, npr, pi, pow, sign, sin, sinh, sqrt, tan, tanh</p><p> </p><p><strong>表达式示例：</strong></p><p>[1] sqrt(x1n1.5 + x2n2.5)</p><p>[2] x1 * 3 + x2 / 1.2 &#8211; 11.9</p><p>[3] (1/(x1+1)+2/(x2+2)+3/(x3+3))</p><p>[4] (x1 &gt; 50) &amp; ((x2 &lt;30) |(x3 = 1)</p>								</div>
				</div>
				<div class="elementor-element elementor-element-d2bf207 elementor-widget elementor-widget-heading" data-id="d2bf207" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h3 class="elementor-heading-title elementor-size-default">2｜表达式映射的操作步骤</h3>				</div>
				</div>
				<div class="elementor-element elementor-element-bf153e1 elementor-widget elementor-widget-text-editor" data-id="bf153e1" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<section><p>选择映射对后点击设置为表达式映射，在窗口右侧编辑计算方法，如图5。</p></section>								</div>
				</div>
				<div class="elementor-element elementor-element-284c0ef elementor-widget elementor-widget-image" data-id="284c0ef" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
												<figure class="wp-caption">
										<img loading="lazy" decoding="async" width="1024" height="906" src="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-6-1024x906.jpg" class="attachment-large size-large wp-image-7234" alt="TSMaster 信号映射的配置方法" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-6-1024x906.jpg 1024w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-6-300x265.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-6-768x680.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-6-800x708.jpg 800w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-6.jpg 1069w" sizes="auto, (max-width: 1024px) 100vw, 1024px" title="干货分享 | TSMaster 信号映射的配置方法 91">											<figcaption class="widget-image-caption wp-caption-text">图5</figcaption>
										</figure>
									</div>
				</div>
				<div class="elementor-element elementor-element-f07b46c elementor-widget elementor-widget-text-editor" data-id="f07b46c" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<section>①　选择映射目标系统变量<br />②　设置为表达式映射<br />③　点击加号添加自变量<p style="padding-left: 40px;"><img loading="lazy" decoding="async" class="alignleft wp-image-7235" src="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-7.jpg" alt="信号映射的配置方法 7 TSMaster 11月版" width="24" height="25" title="干货分享 | TSMaster 信号映射的配置方法 92">：添加自变量</p><p style="padding-left: 40px;"><img loading="lazy" decoding="async" class="alignleft wp-image-7236" src="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-8.jpg" alt="信号映射的配置方法 8 TSMaster 11月版" width="24" height="24" title="干货分享 | TSMaster 信号映射的配置方法 93">：删除自变量</p><p style="padding-left: 40px;"><img loading="lazy" decoding="async" class="alignleft wp-image-7237" src="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-9.jpg" alt="信号映射的配置方法 9 TSMaster 11月版" width="24" height="24" title="干货分享 | TSMaster 信号映射的配置方法 94">：查看任意表达式帮助</p><p style="padding-left: 40px;"><img loading="lazy" decoding="async" class="alignleft wp-image-7238" src="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-10.jpg" alt="信号映射的配置方法 10 TSMaster 11月版" width="24" height="24" title="干货分享 | TSMaster 信号映射的配置方法 95">：复制当前表达式映射的C代码</p><p>④　编辑计算方法表达式</p><p>⑤　给计算表达式中的自变量赋值，自变量可以选择常量、系统变量、FlexRay信号、CAN信号、LIN信号</p><p> </p><p><strong>【检查映射】：</strong>完成信号映射列表的添加和配置后，可以选择检查当前映射，可以避免出现无效映射的情况。</p><p><strong>【配置】：</strong>自动激活对应的RBS发送信号。勾选后映射列表中涉及的信号将会以RBS的方式仿真发送，如图6。</p></section>								</div>
				</div>
				<div class="elementor-element elementor-element-1f3d8d8 elementor-widget elementor-widget-image" data-id="1f3d8d8" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
												<figure class="wp-caption">
										<img loading="lazy" decoding="async" width="1024" height="719" src="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-11-1024x719.jpg" class="attachment-large size-large wp-image-7239" alt="TSMaster 信号映射的配置方法" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-11-1024x719.jpg 1024w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-11-300x211.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-11-768x539.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-11-800x562.jpg 800w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-11.jpg 1067w" sizes="auto, (max-width: 1024px) 100vw, 1024px" title="干货分享 | TSMaster 信号映射的配置方法 96">											<figcaption class="widget-image-caption wp-caption-text">图6</figcaption>
										</figure>
									</div>
				</div>
				<div class="elementor-element elementor-element-ce5b5a0 elementor-widget elementor-widget-text-editor" data-id="ce5b5a0" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>配置好的映射信号列表，可以进行配置文件的保存与导入，如图7。</p><p> </p><p><strong>【配置文件保存】：</strong>信号映射对配置完成后可以将当前映射对配置导出到本地。</p><p><strong>【配置文件导入】：</strong>可以将当前信号映射列表导出.ini文件。</p>								</div>
				</div>
				<div class="elementor-element elementor-element-d3a55d9 elementor-widget elementor-widget-image" data-id="d3a55d9" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
												<figure class="wp-caption">
										<img loading="lazy" decoding="async" width="835" height="127" src="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-12.jpg" class="attachment-large size-large wp-image-7240" alt="TSMaster 信号映射的配置方法" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-12.jpg 835w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-12-300x46.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-12-768x117.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-12-800x122.jpg 800w" sizes="auto, (max-width: 835px) 100vw, 835px" title="干货分享 | TSMaster 信号映射的配置方法 97">											<figcaption class="widget-image-caption wp-caption-text">图7</figcaption>
										</figure>
									</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-07baea0 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="07baea0" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-no">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8961392" data-id="8961392" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-fea8ace headingTitleH2 elementor-widget elementor-widget-heading" data-id="fea8ace" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">三、信号映射转换实例</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-de0b0ff elementor-widget elementor-widget-text-editor" data-id="de0b0ff" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>汽车车速与发动机转速之间有一种常见的转换关系计算，车速（km／小时）=发动机转速x 60 x 3.14 x轮胎直径／（1000X主减速比x对应档位传动比）。通常轮胎直径、主减速比、对应档位传动比可以通过汽车手册查得，再通过已知的发动机转速，使用信号映射计算出汽车的车速，即：车速CarSpeed= 发动机转速*60*3.14*0.724/(1000*3.683*0.672)。</p><p> </p><p>在TSMaster的信号映射里创建好目标系统变量“CarspeedMappingFromEngSpeed”,设置为表达式映射，x1绑定汽车发动机转速EngSpeed，如图8。</p><p> </p><p>CarspeedMappingFromEngSpeed = x1*60*3.14*0.724/(1000*3.683*0.672)</p>								</div>
				</div>
				<div class="elementor-element elementor-element-bb4d8d8 elementor-widget elementor-widget-image" data-id="bb4d8d8" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
												<figure class="wp-caption">
										<img loading="lazy" decoding="async" width="1024" height="203" src="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-13-1024x203.jpg" class="attachment-large size-large wp-image-7241" alt="TSMaster 信号映射的配置方法" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-13-1024x203.jpg 1024w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-13-300x59.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-13-768x152.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-13-800x159.jpg 800w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-13.jpg 1080w" sizes="auto, (max-width: 1024px) 100vw, 1024px" title="干货分享 | TSMaster 信号映射的配置方法 98">											<figcaption class="widget-image-caption wp-caption-text">图8</figcaption>
										</figure>
									</div>
				</div>
				<div class="elementor-element elementor-element-89d9076 elementor-widget elementor-widget-text-editor" data-id="89d9076" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<section><section><p>配置好信号映射表达式后，可以修改EngSpeed的发送值为1000 rpm,经过信号映射后可以自动计算车速为55.1 km/h, 如图9。</p></section></section><section></section>								</div>
				</div>
				<div class="elementor-element elementor-element-2e9ef40 elementor-widget elementor-widget-image" data-id="2e9ef40" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
												<figure class="wp-caption">
										<img loading="lazy" decoding="async" width="974" height="199" src="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-14.jpg" class="attachment-large size-large wp-image-7242" alt="TSMaster 信号映射的配置方法" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-14.jpg 974w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-14-300x61.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-14-768x157.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-14-800x163.jpg 800w" sizes="auto, (max-width: 974px) 100vw, 974px" title="干货分享 | TSMaster 信号映射的配置方法 99">											<figcaption class="widget-image-caption wp-caption-text">图9</figcaption>
										</figure>
									</div>
				</div>
				<div class="elementor-element elementor-element-ab7c042 elementor-widget elementor-widget-text-editor" data-id="ab7c042" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>同样，继续修改EngSpeed的发送值为2000 rpm,经过信号映射后可以自动计算车速约为110.2 km/h, 如图10。</p>								</div>
				</div>
				<div class="elementor-element elementor-element-70450fe elementor-widget elementor-widget-image" data-id="70450fe" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
												<figure class="wp-caption">
										<img loading="lazy" decoding="async" width="976" height="203" src="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-15.jpg" class="attachment-large size-large wp-image-7243" alt="TSMaster 信号映射的配置方法" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-15.jpg 976w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-15-300x62.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-15-768x160.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/信号映射的配置方法-15-800x166.jpg 800w" sizes="auto, (max-width: 976px) 100vw, 976px" title="干货分享 | TSMaster 信号映射的配置方法 100">											<figcaption class="widget-image-caption wp-caption-text">图10</figcaption>
										</figure>
									</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-ddcd051 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="ddcd051" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-no">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-37646bb" data-id="37646bb" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-e569401 elementor-widget-divider--separator-type-pattern elementor-widget-divider--view-line elementor-widget elementor-widget-divider" data-id="e569401" data-element_type="widget" data-e-type="widget" data-widget_type="divider.default">
				<div class="elementor-widget-container">
							<div class="elementor-divider" style="--divider-pattern-url: url(&quot;data:image/svg+xml,%3Csvg xmlns=&#039;http://www.w3.org/2000/svg&#039; preserveAspectRatio=&#039;none&#039; overflow=&#039;visible&#039; height=&#039;100%&#039; viewBox=&#039;0 0 20 16&#039; fill=&#039;none&#039; stroke=&#039;black&#039; stroke-width=&#039;2&#039; stroke-linecap=&#039;square&#039; stroke-miterlimit=&#039;10&#039;%3E%3Cg transform=&#039;translate(-12.000000, 0)&#039;%3E%3Cpath d=&#039;M28,0L10,18&#039;/%3E%3Cpath d=&#039;M18,0L0,18&#039;/%3E%3Cpath d=&#039;M48,0L30,18&#039;/%3E%3Cpath d=&#039;M38,0L20,18&#039;/%3E%3C/g%3E%3C/svg%3E&quot;);">
			<span class="elementor-divider-separator">
						</span>
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-2f60bc4 elementor-widget elementor-widget-text-editor" data-id="2f60bc4" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<section><section><p>以上是信号映射模块使用操作流程和示例，信号映射出来的系统变量可以直接被我们的panel模块、信号测试模块、信号比较模块、C小程序、图形模块等模块访问和使用，信号映射是我们TSMaster中实现模块互通的一员，合理使用信号映射模块可以有效提高基于TSMaster的工程开发效率。</p></section></section><section><section></section></section>								</div>
				</div>
				<div class="elementor-element elementor-element-7316e5d elementor-widget-divider--separator-type-pattern elementor-widget-divider--view-line elementor-widget elementor-widget-divider" data-id="7316e5d" data-element_type="widget" data-e-type="widget" data-widget_type="divider.default">
				<div class="elementor-widget-container">
							<div class="elementor-divider" style="--divider-pattern-url: url(&quot;data:image/svg+xml,%3Csvg xmlns=&#039;http://www.w3.org/2000/svg&#039; preserveAspectRatio=&#039;none&#039; overflow=&#039;visible&#039; height=&#039;100%&#039; viewBox=&#039;0 0 20 16&#039; fill=&#039;none&#039; stroke=&#039;black&#039; stroke-width=&#039;2&#039; stroke-linecap=&#039;square&#039; stroke-miterlimit=&#039;10&#039;%3E%3Cg transform=&#039;translate(-12.000000, 0)&#039;%3E%3Cpath d=&#039;M28,0L10,18&#039;/%3E%3Cpath d=&#039;M18,0L0,18&#039;/%3E%3Cpath d=&#039;M48,0L30,18&#039;/%3E%3Cpath d=&#039;M38,0L20,18&#039;/%3E%3C/g%3E%3C/svg%3E&quot;);">
			<span class="elementor-divider-separator">
						</span>
		</div>
						</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>&lt;p&gt;The post <a rel="nofollow" href="https://www.tosunai.com/tsmaster-signal-mapping-configuration/">干货分享 | TSMaster 信号映射的配置方法</a> first appeared on <a rel="nofollow" href="https://www.tosunai.com">上海同星智能科技有限公司</a>.&lt;/p&gt;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.tosunai.com/tsmaster-signal-mapping-configuration/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>干货分享 &#124; TSMaster报文发送的信号生成器操作说明</title>
		<link>https://www.tosunai.com/signal-generator-operation-instructions-for-tsmaster-message-delivery-2/</link>
					<comments>https://www.tosunai.com/signal-generator-operation-instructions-for-tsmaster-message-delivery-2/#respond</comments>
		
		<dc:creator><![CDATA[pan]]></dc:creator>
		<pubDate>Fri, 22 Dec 2023 08:39:20 +0000</pubDate>
				<category><![CDATA[软件操作教程]]></category>
		<category><![CDATA[TSMaster]]></category>
		<category><![CDATA[信号生成器]]></category>
		<category><![CDATA[分析]]></category>
		<category><![CDATA[报文发送]]></category>
		<category><![CDATA[系统变量]]></category>
		<guid isPermaLink="false">https://www.tosunai.com/?p=5922</guid>

					<description><![CDATA[<p>信号生成器功能是TSMaster分析中的报文发送模块。信号生成器用于发送和配置每个 CAN/LIN 信号的值变 [&#8230;]</p>
<p>&lt;p&gt;The post <a rel="nofollow" href="https://www.tosunai.com/signal-generator-operation-instructions-for-tsmaster-message-delivery-2/">干货分享 | TSMaster报文发送的信号生成器操作说明</a> first appeared on <a rel="nofollow" href="https://www.tosunai.com">上海同星智能科技有限公司</a>.&lt;/p&gt;</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">信号生成器功能是TSMaster分析中的报文发送模块。信号生成器用于发送和配置每个 CAN/LIN 信号的值变化行为，简而言之，这是一个可以控制和调整CAN/LIN信号值的功能。我们可选择的信号生成器类型有8种，今天重点和大家分享一下关于TSMaster信号生成器的8种类型的使用方式。</p>



<p class="wp-block-paragraph"><strong>本文关键字：信号生成器、正弦、斜坡脉冲、值范围、切换、随机、自定义、系统变量</strong></p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph"><style>/*! elementor-pro - v3.18.0 - 17-01-2024 */&lt;br /><br>.elementor-widget-table-of-contents .elementor-toc__header-title{color:var(--header-color)}.elementor-widget-table-of-contents.elementor-toc--collapsed .elementor-toc__toggle-button--collapse,.elementor-widget-table-of-contents:not(.elementor-toc--collapsed) .elementor-toc__toggle-button--expand{display:none}.elementor-widget-table-of-contents .elementor-widget-container{min-height:var(--box-min-height);border:var(--box-border-width,1px) solid var(--box-border-color,#9da5ae);border-radius:var(--box-border-radius,3px);background-color:var(--box-background-color);transition:min-height .4s;overflow:hidden}.elementor-toc__header{display:flex;align-items:center;justify-content:space-between;padding:var(--box-padding,20px);background-color:var(--header-background-color);border-bottom:var(--separator-width,1px) solid var(--box-border-color,#9da5ae)}.elementor-toc__header-title{font-size:18px;margin:0;color:var(--header-color)}.elementor-toc__toggle-button{cursor:pointer;display:inline-flex}.elementor-toc__toggle-button i{color:var(--toggle-button-color)}.elementor-toc__toggle-button svg{height:1em;width:1em;fill:var(--toggle-button-color)}.elementor-toc__spinner-container{text-align:center}.elementor-toc__spinner{font-size:2em}.elementor-toc__spinner.e-font-icon-svg{height:1em;width:1em}.elementor-toc__body{padding:var(--box-padding,20px);max-height:var(--toc-body-max-height);overflow-y:auto}.elementor-toc__body::-webkit-scrollbar{width:7px}.elementor-toc__body::-webkit-scrollbar-thumb{background-color:#babfc5;border-radius:10px}.elementor-toc__list-wrapper{list-style:none;padding:0}.elementor-toc__list-item{margin-bottom:.5em}.elementor-toc__list-item.elementor-item-active{font-weight:700}.elementor-toc__list-item .elementor-toc__list-wrapper{margin-top:.5em;margin-left:var(--nested-list-indent,1em)}.elementor-toc__list-item-text:hover{color:var(--item-text-hover-color);-webkit-text-decoration:var(--item-text-hover-decoration);text-decoration:var(--item-text-hover-decoration)}.elementor-toc__list-item-text.elementor-item-active{color:var(--item-text-active-color);-webkit-text-decoration:var(--item-text-active-decoration);text-decoration:var(--item-text-active-decoration)}.elementor-toc__list-item-text-wrapper{display:flex;align-items:center}.elementor-toc__list-item-text-wrapper:before,.elementor-toc__list-item-text-wrapper i{margin-right:8px;color:var(--marker-color)}.elementor-toc__list-item-text-wrapper svg{margin-right:8px;fill:var(--marker-color);height:var(--marker-size,.5em);width:var(--marker-size,.5em)}.elementor-toc__list-item-text-wrapper i{font-size:var(--marker-size,.5em)}.elementor-toc__list-item-text-wrapper:before{font-size:var(--marker-size,1em)}.elementor-toc--content-ellipsis .elementor-toc__list-item-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.elementor-toc__list-items--collapsible>.elementor-toc__list-wrapper>.elementor-toc__list-item>.elementor-toc__list-wrapper{display:none}.elementor-toc__heading-anchor{position:absolute}.elementor-toc__body .elementor-toc__list-item-text{color:var(--item-text-color);-webkit-text-decoration:var(--item-text-decoration);text-decoration:var(--item-text-decoration)}.elementor-toc__body .elementor-toc__list-item-text:hover{color:var(--item-text-hover-color);-webkit-text-decoration:var(--item-text-hover-decoration);text-decoration:var(--item-text-hover-decoration)}.elementor-toc__body .elementor-toc__list-item-text.elementor-item-active{color:var(--item-text-active-color);-webkit-text-decoration:var(--item-text-active-decoration);text-decoration:var(--item-text-active-decoration)}ol.elementor-toc__list-wrapper{counter-reset:item}ol.elementor-toc__list-wrapper .elementor-toc__list-item{counter-increment:item}ol.elementor-toc__list-wrapper .elementor-toc__list-item-text-wrapper:before{content:counters(item,".") ". "}</style>在CAN/CAN FD发送窗口中，当创建一条来自数据库的报文后，选中后可以对信号进行信号生成器赋值。其中，信号生成器有三个按键，如图1所示：</p>



<p class="wp-block-paragraph"><style>/*! elementor - v3.18.0 - 20-12-2023 */<br />
.elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=".svg"]{width:48px}.elementor-widget-image img{vertical-align:middle;display:inline-block}</style></p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster报文发送的信号生成器操作说明-1.jpg" alt="TSMaster报文发送的信号生成器操作说明 1 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 104"><figcaption class="wp-element-caption">图1：信号生成器的开始暂停停止按键</figcaption></figure>



<p class="wp-block-paragraph"><img loading="lazy" decoding="async" width="34" height="20" src="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster报文发送的信号生成器操作说明-2.jpg" alt="TSMaster报文发送的信号生成器操作说明 2 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 105">　开始按钮：当前信号使用生成器生成值，点击该按钮后按钮将变为 “暂停按钮”</p>



<p class="wp-block-paragraph"><img loading="lazy" decoding="async" width="34" height="20" src="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster报文发送的信号生成器操作说明-3.jpg" alt="TSMaster报文发送的信号生成器操作说明 3 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 106">　暂停按钮：点击该按钮后，当前 CAN/LIN 信号发生器将暂停，然后按钮将变回“开始按钮”</p>



<p class="wp-block-paragraph"><img loading="lazy" decoding="async" width="32" height="20" src="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster报文发送的信号生成器操作说明-4.jpg" alt="TSMaster报文发送的信号生成器操作说明 4 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 107">　停止按钮：点击此按钮可停止当前CAN/LIN信号发生器的操作</p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-118" style="color:#007bd1">信号生成器类型之无</h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="wp-block-paragraph">无即代表没有可用的CAN/LIN信号生成器，发送的CAN/LIN消息中的信号值取决于右侧“物理值”上设置的物理值。如下图2所示：</p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster报文发送的信号生成器操作说明-5-1024x261.jpg" alt="TSMaster报文发送的信号生成器操作说明 5 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 108"><figcaption class="wp-element-caption">图2：生成器类型为无</figcaption></figure>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-119" style="color:#007bd1">信号生成器类型之正弦</h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="wp-block-paragraph">选择正弦时该信号定义为如图3：选定的CAN/LIN信号将在上升&#8211;下降-的时间序列中生成正弦波形。</p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-3.webp" alt="technical articles 20250924 2 3 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 109"><figcaption class="wp-element-caption">图3：生成器类型之正弦</figcaption></figure>



<p class="wp-block-paragraph"><strong>界面说明如下：</strong></p>



<p class="wp-block-paragraph">（1）DB 最小值和最大值：数据库中定义的最小值和最大值。<br>（2）物理最小值和最大值：信号可以达到的物理最小值和最大值。<br>（3）周期生成：当勾选了周期生成时，信号发生器可以自行重启。具体效果可看下图，用图形功能来举例，如图4是没有勾选周期生成的例子，是只产生了一个波形。如图5是勾选了周期生成的例子，可以看到一直连续性地在生成。</p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-4.webp" alt="technical articles 20250924 2 4 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 110"><figcaption class="wp-element-caption">图4：未勾选周期生成产生的图形</figcaption></figure>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-5.webp" alt="technical articles 20250924 2 5 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 111"><figcaption class="wp-element-caption">图5：勾选周期生成产生的图形</figcaption></figure>



<p class="wp-block-paragraph">4）重复次数：周期性生成的重新启动次数。如果没有特别指定，周期性生成的重新启动次数是无限的。这个重复次数取决于你填写的次数，而这个设置是否生效，则取决于“周期生成”功能是否被激活。可看下图6用图形功能来举例，在重复次数那里填写4次，则会生成4次正弦波形。</p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-6.webp" alt="technical articles 20250924 2 6 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 112"><figcaption class="wp-element-caption">图6</figcaption></figure>



<p class="wp-block-paragraph">（5）在报文发送时自动启动：当勾选这个功能，报文发送时，该信号的信号生成器会自动启动。</p>



<p class="wp-block-paragraph">（6）信号值表格：信号值表以毫秒为单位定义了每个信号的物理值与时间的关系。除自定义信号发生器外，该表为只读表。如果信号生成器的类型是自定义类型，则可按下键进行自定义值，具体操作见“信号生成器类型之自定义”章节。</p>



<p class="wp-block-paragraph">（7）参数列表：信号图形取决于此表中定义的参数，如下图7所示，可进行修改幅值，周期（毫秒），相位（弧度），偏移量。</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-7.webp" alt="technical articles 20250924 2 7 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 113"><figcaption class="wp-element-caption">图7</figcaption></figure>
</div>


<p class="wp-block-paragraph">（8）信号波形预览：可在此处以时间值视图预览。</p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-120" style="color:#007bd1">信号生成器类型之斜坡脉冲</h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="wp-block-paragraph">斜坡脉冲的设置如下图8，选定的CAN/LIN信号将在上升-保持-下降-延迟的时间序列中生成。高值、低值和每个时间段都可以修改。</p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-8.webp" alt="technical articles 20250924 2 8 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 114"><figcaption class="wp-element-caption">图8：生成器之斜坡脉冲的设置</figcaption></figure>



<p class="wp-block-paragraph"></p>



<h3 class="wp-block-heading">斜坡脉冲-参数列表</h3>



<p class="wp-block-paragraph">信号图形取决于此表中定义的参数，如下图9所示，可进行修改上升时间，保持时间，下降时间，下降后延迟时间，低值以及高值。</p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-9.webp" alt="technical articles 20250924 2 9 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 115"><figcaption class="wp-element-caption">图9：参数列表</figcaption></figure>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-121" style="color:#007bd1">信号生成器类型之值范围</h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="wp-block-paragraph">值范围生成器按“上升”、“下降”和“交替”的方式遍历信号值，值范围的设置如下图10。</p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-10.webp" alt="technical articles 20250924 2 10 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 116"><figcaption class="wp-element-caption">图10：生成器之值范围的设置</figcaption></figure>



<h3 class="wp-block-heading">值范围-参数列表</h3>



<p class="wp-block-paragraph">信号图形取决于此表中定义的参数，如图11所示，可进行修改步进量，保持时间，最小值，最大值，方向。</p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-11.webp" alt="technical articles 20250924 2 11 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 117"><figcaption class="wp-element-caption">图11</figcaption></figure>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-122" style="color:#007bd1">信号生成器类型之切换</h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="wp-block-paragraph">切换的信号值在低和高之间切换，用户可以指定低和高值。切换的设置如下图12。</p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-12-1.webp" alt="technical articles 20250924 2 12 1 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 118"><figcaption class="wp-element-caption">图12：生成器之切换的设置</figcaption></figure>



<h3 class="wp-block-heading">切换-参数列表</h3>



<p class="wp-block-paragraph">信号图形取决于此表中定义的参数，如图13所示，可进行修改低值，高值。</p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-13.webp" alt="technical articles 20250924 2 13 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 119"><figcaption class="wp-element-caption">图13</figcaption></figure>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-123" style="color:#007bd1">信号生成器类型之随机</h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="wp-block-paragraph">随机信号生成器可输出随机信号值，可指定随机范围的低值和高值。随机的设置如下图14。</p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-14.webp" alt="technical articles 20250924 2 14 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 120"><figcaption class="wp-element-caption">图14：生成器之随机的设置</figcaption></figure>



<h3 class="wp-block-heading">随机值-参数列表</h3>



<p class="wp-block-paragraph">信号图形取决于此表中定义的参数，如图15所示，可进行修改低值和高值。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="601" height="547" src="https://www.tosunai.com/wp-content/uploads/2023/12/technical-articles-20250924_2-15.webp" alt="随机值-参数列表" class="wp-image-21205" title="干货分享 | TSMaster报文发送的信号生成器操作说明 121"><figcaption class="wp-element-caption">图15</figcaption></figure>
</div>


<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-124" style="color:#007bd1">信号生成器类型之自定义</h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="wp-block-paragraph">用户可在自定义生成器中自定义信号值，也可导入和导出.sig文件，自定义的设置如下图16。</p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-16.webp" alt="technical articles 20250924 2 16 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 122"><figcaption class="wp-element-caption">图16：生成器之自定义的设置</figcaption></figure>



<h3 class="wp-block-heading">自定义-参数列表</h3>



<p class="wp-block-paragraph">可进行设置采样时间,毫秒为单位。</p>



<h3 class="wp-block-heading">自定义-信号值表格</h3>



<p class="wp-block-paragraph">在表中添加新值，请按 &#8220;向下 &#8220;键；要在表中所选值之前插入新值，请按 &#8220;插入 &#8220;键，如图17的设置。</p>



<p class="wp-block-paragraph">注意：表中的时间序列必须按升序排列，否则信号发生器将在错误的时间停止。</p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-17.webp" alt="technical articles 20250924 2 17 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 123"><figcaption class="wp-element-caption">图17：信号值表格进行自定义</figcaption></figure>



<h3 class="wp-block-heading">自定义-导入按键</h3>



<p class="wp-block-paragraph">用户可以导入外部定义的信号波形。波形数据文件的扩展名应为 &#8220;*.sig&#8221;，如图18。</p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-18.webp" alt="technical articles 20250924 2 18 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 124"><figcaption class="wp-element-caption">图18：导入&#8221;*.sig&#8221;的文件</figcaption></figure>



<p class="wp-block-paragraph">“*.sig”文件格式为下图19：</p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-19.webp" alt="technical articles 20250924 2 19 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 125"><figcaption class="wp-element-caption">图19</figcaption></figure>



<p class="wp-block-paragraph">第1行：插值方法，目前仅支持线性插值。<br>第2行：采样率，单位为毫秒。<br>第3行：延迟时间（毫秒）。<br>第4行：信号名称。<br>第5行及以下：以“;”字符分隔的定义的信号值的表数据。</p>



<h3 class="wp-block-heading">自定义-导出按钮</h3>



<p class="wp-block-paragraph">信号发生器的导出功能，将当前表格值导出为“*.sig”文件，如图20。</p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-20.webp" alt="technical articles 20250924 2 20 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 126"><figcaption class="wp-element-caption">图20：导出格式为.sig</figcaption></figure>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading has-text-color has-link-color wp-elements-125" style="color:#007bd1">信号生成器类型之系统变量</h2>



<hr class="wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide"/>



<p class="wp-block-paragraph">用户关联系统变量，信号变化跟随系统变量的改变而产生变化。其中系统变量可以来自用户变量，或是TSMaster的内部变量，如C小程序创建的变量、诊断生成变量、标定变量等等。</p>



<p class="wp-block-paragraph"></p>



<h3 class="wp-block-heading">系统变量-参数列表</h3>



<p class="wp-block-paragraph">信号图形取决于此表中定义的参数，可进行修改关联的系统变量值和采样周期值，如图21所示。</p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-21.webp" alt="technical articles 20250924 2 21 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 127"><figcaption class="wp-element-caption">图21</figcaption></figure>



<p class="wp-block-paragraph">举例:Engspeed信号关联系统变量的Var0，如图22。</p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-22.webp" alt="technical articles 20250924 2 22 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 128"><figcaption class="wp-element-caption">图22：生成器之系统变量的设置关联Var0</figcaption></figure>



<p class="wp-block-paragraph">当Var0每100ms增加1，而Engspeed的值也跟着每100ms增加1，图形变化如图23。</p>



<figure class="wp-block-image"><img decoding="async" src="https://www.tosunai.com/wp-content/uploads/2024/01/technical-articles-20250924_2-23.webp" alt="technical articles 20250924 2 23 TSMaster 11月版" title="干货分享 | TSMaster报文发送的信号生成器操作说明 129"><figcaption class="wp-element-caption">图23：Engspeed的值每100ms增加1</figcaption></figure>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-text-align-center wp-block-paragraph"><strong>您对TSMaster的哪个功能最感兴趣？或在实际应用中遇到过哪些问题？</strong></p>



<p class="has-text-align-center wp-block-paragraph"><strong>欢迎在评论区分享你的经验或疑问，任何想法或建议也可以评论区留言互动，将有机会获得TOSUN神秘大礼包哦~</strong></p>



<div class="wp-block-columns are-vertically-aligned-top has-background is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex" style="background-color:#f9f9f9">
<div class="wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:100%">
<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<p class="wp-block-paragraph"><strong>小贴士：</strong></p>



<ol class="wp-block-list">
<li>软件下载：<br>点击下方软件下载链接，直接下载安装，建议下载 beta 版本<br></li>



<li>软件升级：<br>在电脑有互联网连接的前提下，可以在软件内检查升级至最新版本。</li>
</ol>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph"><strong>注：同星智能技术支持邮箱：<a title="" href="mailto:support@tosunai.cn">support@tosunai.cn</a>，欢迎大家前来咨询！（须注明公司及联系方式）</strong></p>



<div class="wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link has-vivid-cyan-blue-background-color has-background wp-element-button" href="https://www.tosunai.com/downloads/">下载 TSMaster</a></div>
</div>
</div></div>
</div>
</div>
<p>&lt;p&gt;The post <a rel="nofollow" href="https://www.tosunai.com/signal-generator-operation-instructions-for-tsmaster-message-delivery-2/">干货分享 | TSMaster报文发送的信号生成器操作说明</a> first appeared on <a rel="nofollow" href="https://www.tosunai.com">上海同星智能科技有限公司</a>.&lt;/p&gt;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.tosunai.com/signal-generator-operation-instructions-for-tsmaster-message-delivery-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>应用笔记 &#124; TSMaster快速入门篇（1）-系统变量</title>
		<link>https://www.tosunai.com/tsmaster-quick-start-1-system-variables/</link>
					<comments>https://www.tosunai.com/tsmaster-quick-start-1-system-variables/#respond</comments>
		
		<dc:creator><![CDATA[pan]]></dc:creator>
		<pubDate>Fri, 04 Nov 2022 07:13:56 +0000</pubDate>
				<category><![CDATA[软件操作教程]]></category>
		<category><![CDATA[TSMaster使用教程]]></category>
		<category><![CDATA[仿真]]></category>
		<category><![CDATA[系统变量]]></category>
		<guid isPermaLink="false">https://www.tosunai.com/?p=6538</guid>

					<description><![CDATA[<p>overview前言 本文给大家介绍TSMaster的一个重要概念—系统变量。系统变量可以用于监测信号、传递信 [&#8230;]</p>
<p>&lt;p&gt;The post <a rel="nofollow" href="https://www.tosunai.com/tsmaster-quick-start-1-system-variables/">应用笔记 | TSMaster快速入门篇（1）-系统变量</a> first appeared on <a rel="nofollow" href="https://www.tosunai.com">上海同星智能科技有限公司</a>.&lt;/p&gt;</p>
]]></description>
			<style id="elementor-post-6538">.elementor-6538 .elementor-element.elementor-element-62cb235 > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-6538 .elementor-element.elementor-element-62cb235{margin-top:-1px;margin-bottom:-1px;padding:14px 0px 23px 0px;}.elementor-widget-heading .elementor-heading-title{color:var( --e-global-color-primary );}.elementor-6538 .elementor-element.elementor-element-6a58427 > .elementor-widget-container{background-image:url("https://www.tosunai.com/wp-content/uploads/2023/01/TOSUN-EDA.jpg");margin:0px 0px 0px 0px;padding:25px 25px 25px 25px;}.elementor-6538 .elementor-element.elementor-element-6a58427{text-align:center;}.elementor-6538 .elementor-element.elementor-element-6a58427 .elementor-heading-title{font-size:20px;font-weight:600;text-transform:uppercase;letter-spacing:12px;color:#FFFFFF;}.elementor-widget-text-editor{color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-6538 .elementor-element.elementor-element-0b2896a{letter-spacing:1px;color:#000000;}.elementor-6538 .elementor-element.elementor-element-881cab6 > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-6538 .elementor-element.elementor-element-881cab6{margin-top:0px;margin-bottom:0px;padding:20px 0px 20px 0px;}.elementor-6538 .elementor-element.elementor-element-8dee834 > .elementor-widget-container{padding:40px 40px 40px 40px;}.elementor-6538 .elementor-element.elementor-element-8dee834{text-align:center;}.elementor-6538 .elementor-element.elementor-element-8dee834 .elementor-heading-title{font-size:20px;font-weight:600;letter-spacing:1px;color:var( --e-global-color-secondary );}.elementor-6538 .elementor-element.elementor-element-bc6f5b2{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-48949b4{letter-spacing:1px;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );}.elementor-6538 .elementor-element.elementor-element-b48710e{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-c8357be > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-6538 .elementor-element.elementor-element-c8357be{overflow:hidden;margin-top:0px;margin-bottom:0px;padding:20px 0px 20px 0px;}.elementor-6538 .elementor-element.elementor-element-607dd39 > .elementor-widget-container{padding:40px 40px 40px 40px;}.elementor-6538 .elementor-element.elementor-element-607dd39{text-align:center;}.elementor-6538 .elementor-element.elementor-element-607dd39 .elementor-heading-title{font-size:20px;font-weight:600;line-height:1.3em;letter-spacing:1px;color:var( --e-global-color-secondary );}.elementor-6538 .elementor-element.elementor-element-7dfe10f{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-f596ddd{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-708fba8 > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-6538 .elementor-element.elementor-element-708fba8{margin-top:0px;margin-bottom:0px;padding:20px 0px 20px 0px;}.elementor-6538 .elementor-element.elementor-element-c3664ac > .elementor-widget-container{padding:40px 40px 40px 40px;}.elementor-6538 .elementor-element.elementor-element-c3664ac{text-align:center;}.elementor-6538 .elementor-element.elementor-element-c3664ac .elementor-heading-title{font-size:20px;font-weight:600;line-height:1.3em;letter-spacing:1px;color:var( --e-global-color-secondary );}.elementor-6538 .elementor-element.elementor-element-9690950{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-e8ea557{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-20db4b2{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-7a2be8c{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-1e5de10{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-17937bb > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-6538 .elementor-element.elementor-element-17937bb{margin-top:0px;margin-bottom:0px;padding:20px 0px 20px 0px;}.elementor-6538 .elementor-element.elementor-element-47c7c67 > .elementor-widget-container{padding:40px 40px 40px 40px;}.elementor-6538 .elementor-element.elementor-element-47c7c67{text-align:center;}.elementor-6538 .elementor-element.elementor-element-47c7c67 .elementor-heading-title{font-size:20px;font-weight:600;line-height:1.3em;letter-spacing:1px;color:var( --e-global-color-secondary );}.elementor-6538 .elementor-element.elementor-element-4bb776c{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-dd17d9a{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-2efd6f0{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-0a01a86 > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-6538 .elementor-element.elementor-element-0a01a86{margin-top:0px;margin-bottom:0px;padding:20px 0px 20px 0px;}.elementor-6538 .elementor-element.elementor-element-9789859 > .elementor-widget-container{padding:40px 40px 40px 40px;}.elementor-6538 .elementor-element.elementor-element-9789859{text-align:center;}.elementor-6538 .elementor-element.elementor-element-9789859 .elementor-heading-title{font-size:20px;font-weight:600;letter-spacing:1px;color:var( --e-global-color-secondary );}.elementor-6538 .elementor-element.elementor-element-a8be6cd{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-487aa88{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-006f352{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-1282b83{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-6414659{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-b835988{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-97c34d4{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-1bce304{letter-spacing:1px;}.elementor-6538 .elementor-element.elementor-element-740b908{letter-spacing:1px;}@media(max-width:767px){.elementor-6538 .elementor-element.elementor-element-6a58427 .elementor-heading-title{font-size:18px;line-height:1.5em;}.elementor-6538 .elementor-element.elementor-element-8dee834 > .elementor-widget-container{padding:20px 0px 20px 0px;}.elementor-6538 .elementor-element.elementor-element-607dd39 > .elementor-widget-container{padding:20px 0px 20px 0px;}.elementor-6538 .elementor-element.elementor-element-c3664ac > .elementor-widget-container{padding:20px 0px 20px 0px;}.elementor-6538 .elementor-element.elementor-element-47c7c67 > .elementor-widget-container{padding:20px 0px 20px 0px;}.elementor-6538 .elementor-element.elementor-element-9789859 > .elementor-widget-container{padding:20px 0px 20px 0px;}}</style>							<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="6538" class="elementor elementor-6538" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-62cb235 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="62cb235" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-no">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-345f07d" data-id="345f07d" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-6a58427 elementor-widget elementor-widget-heading" data-id="6a58427" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">overview前言</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-0b2896a elementor-widget elementor-widget-text-editor" data-id="0b2896a" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									本文给大家介绍TSMaster的一个重要概念—系统变量。系统变量可以用于监测信号、传递信息，还可以用于自动化以及测试等众多领域，TSMaster几乎所有的功能都和系统变量有关。

								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-881cab6 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="881cab6" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-no">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a1de51f" data-id="a1de51f" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-8dee834 headingTitleH2 elementor-widget elementor-widget-heading" data-id="8dee834" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">1．综述</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-bc6f5b2 elementor-widget elementor-widget-text-editor" data-id="bc6f5b2" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>用户在使用 Panel，脚本，标定，诊断或者其他扩展功能的时候，能够直接访问的变量被定义为系统变量。根据系统变量生成的原理，主要分为两个类型：Internal Variable(内生系统变量)和User Variable(用户自定义系统变量)。他们的主要区别是：</p><p>➢ 内生系统变量是系统自动生成，自动释放的，用户不能直接对其进行增删操作；</p><p>➢ 用户定义变量是用户自己创建和管理的</p>								</div>
				</div>
				<div class="elementor-element elementor-element-48949b4 elementor-widget elementor-widget-text-editor" data-id="48949b4" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									系统变量系统架构如下图所示：

								</div>
				</div>
				<div class="elementor-element elementor-element-783ab89 elementor-widget elementor-widget-image" data-id="783ab89" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="982" height="428" src="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-1.jpg" class="attachment-large size-large wp-image-6540" alt="TSMaster快速入门篇（1）-系统变量" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-1.jpg 982w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-1-300x131.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-1-768x335.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-1-800x349.jpg 800w" sizes="auto, (max-width: 982px) 100vw, 982px" title="应用笔记 | TSMaster快速入门篇（1）-系统变量 143">															</div>
				</div>
				<div class="elementor-element elementor-element-b48710e elementor-widget elementor-widget-text-editor" data-id="b48710e" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									用户要查看当前可用的系统变量，需要根据路径 Simulation->System Variable 打开系统变量管理界面，如下图所示：

								</div>
				</div>
				<div class="elementor-element elementor-element-977ba3b elementor-widget elementor-widget-image" data-id="977ba3b" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="992" height="602" src="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-2.jpg" class="attachment-large size-large wp-image-6541" alt="TSMaster快速入门篇（1）-系统变量" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-2.jpg 992w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-2-300x182.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-2-768x466.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-2-800x485.jpg 800w" sizes="auto, (max-width: 992px) 100vw, 992px" title="应用笔记 | TSMaster快速入门篇（1）-系统变量 144">															</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-c8357be elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="c8357be" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-no">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-630060b" data-id="630060b" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-607dd39 headingTitleH2 elementor-widget elementor-widget-heading" data-id="607dd39" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">2．Internal Variables（内生系统变量）</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-7dfe10f elementor-widget elementor-widget-text-editor" data-id="7dfe10f" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>内生系统变量是跟随系统自动生成，自动释放的。常见的内生系统变量如下图所示：</p><ol><li>系统信息</li><li>设备统计信息</li><li>小程序变量。</li></ol>								</div>
				</div>
				<div class="elementor-element elementor-element-4b30e98 elementor-widget elementor-widget-image" data-id="4b30e98" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="894" height="386" src="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-3.jpg" class="attachment-large size-large wp-image-6542" alt="TSMaster快速入门篇（1）-系统变量" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-3.jpg 894w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-3-300x130.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-3-768x332.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-3-800x345.jpg 800w" sizes="auto, (max-width: 894px) 100vw, 894px" title="应用笔记 | TSMaster快速入门篇（1）-系统变量 145">															</div>
				</div>
				<div class="elementor-element elementor-element-f596ddd elementor-widget elementor-widget-text-editor" data-id="f596ddd" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									以设备统计信息为例，如果添加了 CAN1 设备，才会动态生成 StaticsCAN1 相关的统计信息；如果删除 CAN1 设备，这些统计信息会消失。随着 TSMaster 软件系统的升级，后续会增加更多的这种动态生成和加载的数据类型。

								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-708fba8 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="708fba8" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-no">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d449201" data-id="d449201" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-c3664ac headingTitleH2 elementor-widget elementor-widget-heading" data-id="c3664ac" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">3．User Variables（用户定义变量系统）</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-9690950 elementor-widget elementor-widget-text-editor" data-id="9690950" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>这种类型的变量是用户自定义的，用户可以进行增删等操作。新增用户变量流程如下所示：</p>								</div>
				</div>
				<div class="elementor-element elementor-element-e8ea557 elementor-widget elementor-widget-text-editor" data-id="e8ea557" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									➢ 第一步：在系统变量管理界面，右键，点击：创建用户变量

								</div>
				</div>
				<div class="elementor-element elementor-element-5b5d3e4 elementor-widget elementor-widget-image" data-id="5b5d3e4" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="798" height="411" src="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-4.jpg" class="attachment-large size-large wp-image-6543" alt="TSMaster快速入门篇（1）-系统变量" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-4.jpg 798w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-4-300x155.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-4-768x396.jpg 768w" sizes="auto, (max-width: 798px) 100vw, 798px" title="应用笔记 | TSMaster快速入门篇（1）-系统变量 146">															</div>
				</div>
				<div class="elementor-element elementor-element-20db4b2 elementor-widget elementor-widget-text-editor" data-id="20db4b2" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									➢ 第二步：设置用户变量的属性

								</div>
				</div>
				<div class="elementor-element elementor-element-1d4130c elementor-widget elementor-widget-image" data-id="1d4130c" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="686" height="538" src="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-5.jpg" class="attachment-large size-large wp-image-6544" alt="TSMaster快速入门篇（1）-系统变量" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-5.jpg 686w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-5-300x235.jpg 300w" sizes="auto, (max-width: 686px) 100vw, 686px" title="应用笔记 | TSMaster快速入门篇（1）-系统变量 147">															</div>
				</div>
				<div class="elementor-element elementor-element-7a2be8c elementor-widget elementor-widget-text-editor" data-id="7a2be8c" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Name: 变量名称。<br />Category: 变量所属分组，便于用户管理变量，同名变量可能用于不同的应用程序中。<br />Comment: 对变量增加一些评论和描述。<br />Data Type: 变量类型，包括整形和 Float 等类型。详细可展开查看。<br />ReadOnly: 该变量是否只读，如果是只读的，用户无法对其进行修改。<br />Minimun Value: 该变量允许的最小值。<br />Maximum Value: 该变量允许的最大值。<br />Current Value: 该变量当前值。</p>								</div>
				</div>
				<div class="elementor-element elementor-element-1e5de10 elementor-widget elementor-widget-text-editor" data-id="1e5de10" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									➢ 添加到系统后如下图所示：

								</div>
				</div>
				<div class="elementor-element elementor-element-ce27ff1 elementor-widget elementor-widget-image" data-id="ce27ff1" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="1024" height="595" src="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-6-1024x595.jpg" class="attachment-large size-large wp-image-6545" alt="TSMaster快速入门篇（1）-系统变量" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-6-1024x595.jpg 1024w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-6-300x174.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-6-768x446.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-6-800x465.jpg 800w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-6.jpg 1029w" sizes="auto, (max-width: 1024px) 100vw, 1024px" title="应用笔记 | TSMaster快速入门篇（1）-系统变量 148">															</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-17937bb elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="17937bb" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-no">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6b001bc" data-id="6b001bc" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-47c7c67 headingTitleH2 elementor-widget elementor-widget-heading" data-id="47c7c67" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">4．系统变量数据类型</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-4bb776c elementor-widget elementor-widget-text-editor" data-id="4bb776c" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									TSMaster 系统变量主要包含如下数据类型：Int32，UInt32，Int64，UInt64，UInt8 Array，Int32 Array, Int64 Array, double ,double Array, string，如下所示：

								</div>
				</div>
				<div class="elementor-element elementor-element-72e64fc elementor-widget elementor-widget-image" data-id="72e64fc" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="693" height="491" src="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-7.jpg" class="attachment-large size-large wp-image-6547" alt="TSMaster快速入门篇（1）-系统变量" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-7.jpg 693w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-7-300x213.jpg 300w" sizes="auto, (max-width: 693px) 100vw, 693px" title="应用笔记 | TSMaster快速入门篇（1）-系统变量 149">															</div>
				</div>
				<div class="elementor-element elementor-element-dd17d9a elementor-widget elementor-widget-text-editor" data-id="dd17d9a" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>其分别代表的意义如下：<br />➢ Int32：有符号 32 位类型，可以涵盖住 Int8，Int16 等类型。<br />➢ UInt32：无符号 32 位类型，可以一并涵盖住 UInt8，UInt16 等数据类型。<br />➢ Int64：有符号 64 位数据类型。<br />➢ UInt64：无符号 64 位数据类型。<br />➢ UInt8 Array：无符号 8 位数组，也就是最常用的 Byte 数组。对于数据类型的数据，在赋值的时候，<span style="color: #ff0000;">数组元素之间通过’;’隔开</span>，如下所示，其等同于数组定义为：<br />UInt8 Var6[5] = {12,34,56,78,90};</p>								</div>
				</div>
				<div class="elementor-element elementor-element-f821154 elementor-widget elementor-widget-image" data-id="f821154" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="463" height="429" src="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-8.jpg" class="attachment-large size-large wp-image-6548" alt="TSMaster快速入门篇（1）-系统变量" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-8.jpg 463w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-8-300x278.jpg 300w" sizes="auto, (max-width: 463px) 100vw, 463px" title="应用笔记 | TSMaster快速入门篇（1）-系统变量 150">															</div>
				</div>
				<div class="elementor-element elementor-element-2efd6f0 elementor-widget elementor-widget-text-editor" data-id="2efd6f0" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>➢ Int32 Array：整型32位数组类型，数组元素之间通过’;’隔开。<br />➢ Int64 Array：整型64位数组类型，数组元素之间通过’;’隔开。<br />➢ Double：双精度数据类型。<br />➢ double Array：双精度数组类型，数组元素之间通过’;’隔开。<br />➢ string：字符串数据类型。</p>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-0a01a86 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="0a01a86" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-no">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-557845a" data-id="557845a" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-9789859 headingTitleH2 elementor-widget elementor-widget-heading" data-id="9789859" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">5．访问系统变量</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-a8be6cd elementor-widget elementor-widget-text-editor" data-id="a8be6cd" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>无论是内生变量，还是用户定义变量，其访问方式是完全一样的。主要介绍两种应用场景：</p><ol><li> Panel 关联系统变量</li><li>通过脚本读写系统变量。</li></ol>								</div>
				</div>
				<div class="elementor-element elementor-element-487aa88 elementor-widget elementor-widget-text-editor" data-id="487aa88" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<strong>1. Panel 关联系统变量</strong>								</div>
				</div>
				<div class="elementor-element elementor-element-3cce8c0 elementor-widget elementor-widget-image" data-id="3cce8c0" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="1024" height="403" src="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-9-1024x403.jpg" class="attachment-large size-large wp-image-6549" alt="TSMaster快速入门篇（1）-系统变量" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-9-1024x403.jpg 1024w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-9-300x118.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-9-768x302.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-9-800x315.jpg 800w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-9.jpg 1080w" sizes="auto, (max-width: 1024px) 100vw, 1024px" title="应用笔记 | TSMaster快速入门篇（1）-系统变量 151">															</div>
				</div>
				<div class="elementor-element elementor-element-006f352 elementor-widget elementor-widget-text-editor" data-id="006f352" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Panel 关联系统变量流程如上图所示：</p><ol><li>控件关联变量类型选择为系统变量（SystemVar）。</li><li>双击展开变量选择面板。</li><li>在面板上选择内置系统变量和用户定义系统变量即可。</li></ol>								</div>
				</div>
				<div class="elementor-element elementor-element-1282b83 elementor-widget elementor-widget-text-editor" data-id="1282b83" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<section><strong>2. 脚本读写系统变量</strong>								</div>
				</div>
				<div class="elementor-element elementor-element-aea17b2 elementor-widget elementor-widget-image" data-id="aea17b2" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="1024" height="528" src="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-10-1024x528.jpg" class="attachment-large size-large wp-image-6550" alt="TSMaster快速入门篇（1）-系统变量" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-10-1024x528.jpg 1024w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-10-300x155.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-10-768x396.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-10-800x413.jpg 800w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-10.jpg 1080w" sizes="auto, (max-width: 1024px) 100vw, 1024px" title="应用笔记 | TSMaster快速入门篇（1）-系统变量 152">															</div>
				</div>
				<div class="elementor-element elementor-element-6414659 elementor-widget elementor-widget-text-editor" data-id="6414659" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>如上图所示，简单来说，系统变量的访问主要用到两类函数，这两类函数位于小程序Function 的 APP 目录下面。</p>								</div>
				</div>
				<div class="elementor-element elementor-element-b835988 elementor-widget elementor-widget-text-editor" data-id="b835988" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									➢ 写入变量：

								</div>
				</div>
				<div class="elementor-element elementor-element-1fae528 elementor-widget elementor-widget-image" data-id="1fae528" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="323" height="192" src="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-11.jpg" class="attachment-large size-large wp-image-6551" alt="TSMaster快速入门篇（1）-系统变量" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-11.jpg 323w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-11-300x178.jpg 300w" sizes="auto, (max-width: 323px) 100vw, 323px" title="应用笔记 | TSMaster快速入门篇（1）-系统变量 153">															</div>
				</div>
				<div class="elementor-element elementor-element-97c34d4 elementor-widget elementor-widget-text-editor" data-id="97c34d4" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									关于函数参数等，单击选中该函数过后，右上角会呈现该函数的使用说明，如下图所示：

								</div>
				</div>
				<div class="elementor-element elementor-element-534fa59 elementor-widget elementor-widget-image" data-id="534fa59" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="1024" height="552" src="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-12-1024x552.jpg" class="attachment-large size-large wp-image-6552" alt="TSMaster快速入门篇（1）-系统变量" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-12-1024x552.jpg 1024w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-12-300x162.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-12-768x414.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-12-800x431.jpg 800w, https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-12.jpg 1080w" sizes="auto, (max-width: 1024px) 100vw, 1024px" title="应用笔记 | TSMaster快速入门篇（1）-系统变量 154">															</div>
				</div>
				<div class="elementor-element elementor-element-1bce304 elementor-widget elementor-widget-text-editor" data-id="1bce304" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									➢ 读取变量：								</div>
				</div>
				<div class="elementor-element elementor-element-bca5bde elementor-widget elementor-widget-image" data-id="bca5bde" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="279" height="248" src="https://www.tosunai.com/wp-content/uploads/2024/01/TSMaster快速入门篇1-13.jpg" class="attachment-large size-large wp-image-6553" alt="TSMaster快速入门篇（1）-系统变量" title="应用笔记 | TSMaster快速入门篇（1）-系统变量 155">															</div>
				</div>
				<div class="elementor-element elementor-element-740b908 elementor-widget elementor-widget-text-editor" data-id="740b908" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									基于 set_system 和 get_system 函数，赋予了脚本系统跨脚本访问脚本内部变量的能力。

								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>&lt;p&gt;The post <a rel="nofollow" href="https://www.tosunai.com/tsmaster-quick-start-1-system-variables/">应用笔记 | TSMaster快速入门篇（1）-系统变量</a> first appeared on <a rel="nofollow" href="https://www.tosunai.com">上海同星智能科技有限公司</a>.&lt;/p&gt;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.tosunai.com/tsmaster-quick-start-1-system-variables/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>新功能发布 &#124; TSMaster诊断模块之系统变量的灵活应用</title>
		<link>https://www.tosunai.com/flexible-application-of-system-variables-in-tsmaster-diagnostic-module/</link>
					<comments>https://www.tosunai.com/flexible-application-of-system-variables-in-tsmaster-diagnostic-module/#respond</comments>
		
		<dc:creator><![CDATA[pan]]></dc:creator>
		<pubDate>Fri, 17 Jun 2022 08:01:51 +0000</pubDate>
				<category><![CDATA[软件操作教程]]></category>
		<category><![CDATA[TSMaster新功能]]></category>
		<category><![CDATA[系统变量]]></category>
		<category><![CDATA[诊断]]></category>
		<guid isPermaLink="false">https://www.tosunai.com/?p=6351</guid>

					<description><![CDATA[<p>overview前言 TSMaster把系统变量作为参数引入诊断模块中，极大的拓展了诊断模块跟其他模块数据交互 [&#8230;]</p>
<p>&lt;p&gt;The post <a rel="nofollow" href="https://www.tosunai.com/flexible-application-of-system-variables-in-tsmaster-diagnostic-module/">新功能发布 | TSMaster诊断模块之系统变量的灵活应用</a> first appeared on <a rel="nofollow" href="https://www.tosunai.com">上海同星智能科技有限公司</a>.&lt;/p&gt;</p>
]]></description>
			<style id="elementor-post-6351">.elementor-6351 .elementor-element.elementor-element-f595264 > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-6351 .elementor-element.elementor-element-f595264{margin-top:-1px;margin-bottom:-1px;padding:14px 0px 23px 0px;}.elementor-widget-heading .elementor-heading-title{color:var( --e-global-color-primary );}.elementor-6351 .elementor-element.elementor-element-0efec6a > .elementor-widget-container{background-image:url("https://www.tosunai.com/wp-content/uploads/2023/01/TOSUN-EDA.jpg");margin:0px 0px 0px 0px;padding:25px 25px 25px 25px;}.elementor-6351 .elementor-element.elementor-element-0efec6a{text-align:center;}.elementor-6351 .elementor-element.elementor-element-0efec6a .elementor-heading-title{font-size:20px;font-weight:600;text-transform:uppercase;letter-spacing:12px;color:#FFFFFF;}.elementor-widget-text-editor{color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-6351 .elementor-element.elementor-element-bdcd803{letter-spacing:1px;color:#000000;}.elementor-6351 .elementor-element.elementor-element-66c92b8 > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-6351 .elementor-element.elementor-element-66c92b8{margin-top:0px;margin-bottom:0px;padding:20px 0px 20px 0px;}.elementor-6351 .elementor-element.elementor-element-1269ae0 > .elementor-widget-container{padding:40px 40px 40px 40px;}.elementor-6351 .elementor-element.elementor-element-1269ae0{text-align:center;}.elementor-6351 .elementor-element.elementor-element-1269ae0 .elementor-heading-title{font-size:20px;font-weight:600;line-height:1.3em;letter-spacing:1px;color:var( --e-global-color-secondary );}.elementor-6351 .elementor-element.elementor-element-9543e7e{letter-spacing:1px;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );}.elementor-6351 .elementor-element.elementor-element-59c4a3c{letter-spacing:1px;}.elementor-6351 .elementor-element.elementor-element-6a07304{letter-spacing:1px;}.elementor-6351 .elementor-element.elementor-element-0f6c2f1{letter-spacing:1px;}.elementor-6351 .elementor-element.elementor-element-acf7bed{letter-spacing:1px;}.elementor-6351 .elementor-element.elementor-element-617e8c9{letter-spacing:1px;}.elementor-6351 .elementor-element.elementor-element-c98fa3a{letter-spacing:1px;}.elementor-6351 .elementor-element.elementor-element-dca486c{letter-spacing:1px;}.elementor-6351 .elementor-element.elementor-element-47afa5f{letter-spacing:1px;}.elementor-6351 .elementor-element.elementor-element-d49f993 > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-6351 .elementor-element.elementor-element-d49f993{margin-top:0px;margin-bottom:0px;padding:20px 0px 20px 0px;}.elementor-6351 .elementor-element.elementor-element-73fd28a > .elementor-widget-container{padding:40px 40px 40px 40px;}.elementor-6351 .elementor-element.elementor-element-73fd28a{text-align:center;}.elementor-6351 .elementor-element.elementor-element-73fd28a .elementor-heading-title{font-size:20px;font-weight:600;line-height:1.3em;letter-spacing:1px;color:var( --e-global-color-secondary );}.elementor-6351 .elementor-element.elementor-element-6b1c85d{letter-spacing:1px;}.elementor-6351 .elementor-element.elementor-element-04c9ad7{letter-spacing:1px;}.elementor-6351 .elementor-element.elementor-element-37a1403{letter-spacing:1px;}.elementor-6351 .elementor-element.elementor-element-25d9287{letter-spacing:1px;}.elementor-6351 .elementor-element.elementor-element-b2358be{letter-spacing:1px;}.elementor-6351 .elementor-element.elementor-element-0c63ae2 > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-6351 .elementor-element.elementor-element-0c63ae2{margin-top:0px;margin-bottom:0px;padding:20px 0px 20px 0px;}.elementor-6351 .elementor-element.elementor-element-a9b10ea > .elementor-widget-container{padding:40px 40px 40px 40px;}.elementor-6351 .elementor-element.elementor-element-a9b10ea{text-align:center;}.elementor-6351 .elementor-element.elementor-element-a9b10ea .elementor-heading-title{font-size:20px;font-weight:600;line-height:1.3em;letter-spacing:1px;color:var( --e-global-color-secondary );}.elementor-6351 .elementor-element.elementor-element-12b8e4d{letter-spacing:1px;}@media(max-width:767px){.elementor-6351 .elementor-element.elementor-element-0efec6a .elementor-heading-title{font-size:18px;line-height:1.5em;}.elementor-6351 .elementor-element.elementor-element-1269ae0 > .elementor-widget-container{padding:20px 0px 20px 0px;}.elementor-6351 .elementor-element.elementor-element-73fd28a > .elementor-widget-container{padding:20px 0px 20px 0px;}.elementor-6351 .elementor-element.elementor-element-a9b10ea > .elementor-widget-container{padding:20px 0px 20px 0px;}}</style>							<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="6351" class="elementor elementor-6351" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-f595264 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="f595264" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-no">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-aa4496e" data-id="aa4496e" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-0efec6a elementor-widget elementor-widget-heading" data-id="0efec6a" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">overview前言</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-bdcd803 elementor-widget elementor-widget-text-editor" data-id="bdcd803" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									TSMaster把系统变量作为参数引入诊断模块中，极大的拓展了诊断模块跟其他模块数据交互的能力，本文主要演示具体的操作。								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-66c92b8 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="66c92b8" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-no">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-773db91" data-id="773db91" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-1269ae0 headingTitleH2 elementor-widget elementor-widget-heading" data-id="1269ae0" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">A．系统变量作为参数</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-9543e7e elementor-widget elementor-widget-text-editor" data-id="9543e7e" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>系统变量具有软件内部和外部模块之间数据交互的能力，TSMaster把系统变量作为参数引入诊断模块中，极大的拓展了诊断模块跟其他模块数据交互的能力。下面以几个典型的应用场景为例说明其功能：</p><p>首先，在系统中创建两个系统变量，VIN_Code，Voltage，如下所示：</p>								</div>
				</div>
				<div class="elementor-element elementor-element-2b6bd55 elementor-widget elementor-widget-image" data-id="2b6bd55" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="1017" height="184" src="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-1.jpg" class="attachment-large size-large wp-image-6353" alt="flexible application of system variables 1 TSMaster 11月版" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-1.jpg 1017w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-1-300x54.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-1-768x139.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-1-800x145.jpg 800w" sizes="auto, (max-width: 1017px) 100vw, 1017px" title="新功能发布 | TSMaster诊断模块之系统变量的灵活应用 169">															</div>
				</div>
				<div class="elementor-element elementor-element-59c4a3c elementor-widget elementor-widget-text-editor" data-id="59c4a3c" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									VIN_Code变量为string类型：

								</div>
				</div>
				<div class="elementor-element elementor-element-c7a5bf6 elementor-widget elementor-widget-image" data-id="c7a5bf6" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="650" height="459" src="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-2.jpg" class="attachment-large size-large wp-image-6354" alt="TSMaster诊断模块之系统变量的灵活应用" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-2.jpg 650w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-2-300x212.jpg 300w" sizes="auto, (max-width: 650px) 100vw, 650px" title="新功能发布 | TSMaster诊断模块之系统变量的灵活应用 170">															</div>
				</div>
				<div class="elementor-element elementor-element-6a07304 elementor-widget elementor-widget-text-editor" data-id="6a07304" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									Voltage变量为Double类型：

								</div>
				</div>
				<div class="elementor-element elementor-element-0247542 elementor-widget elementor-widget-image" data-id="0247542" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="646" height="467" src="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-3.jpg" class="attachment-large size-large wp-image-6355" alt="TSMaster诊断模块之系统变量的灵活应用" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-3.jpg 646w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-3-300x217.jpg 300w" sizes="auto, (max-width: 646px) 100vw, 646px" title="新功能发布 | TSMaster诊断模块之系统变量的灵活应用 171">															</div>
				</div>
				<div class="elementor-element elementor-element-0f6c2f1 elementor-widget elementor-widget-text-editor" data-id="0f6c2f1" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									把系统变量关联到Panel和Graphic中，如下所示：

								</div>
				</div>
				<div class="elementor-element elementor-element-ce344b0 elementor-widget elementor-widget-image" data-id="ce344b0" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="1024" height="559" src="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-4-1024x559.jpg" class="attachment-large size-large wp-image-6356" alt="TSMaster诊断模块之系统变量的灵活应用" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-4-1024x559.jpg 1024w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-4-300x164.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-4-768x419.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-4-800x437.jpg 800w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-4.jpg 1293w" sizes="auto, (max-width: 1024px) 100vw, 1024px" title="新功能发布 | TSMaster诊断模块之系统变量的灵活应用 172">															</div>
				</div>
				<div class="elementor-element elementor-element-acf7bed elementor-widget elementor-widget-text-editor" data-id="acf7bed" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									【1】在Panel中设置电压值Voltage，通过诊断写入到ECU中：

								</div>
				</div>
				<div class="elementor-element elementor-element-86025dc elementor-widget elementor-widget-image" data-id="86025dc" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="1024" height="358" src="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-5-1024x358.jpg" class="attachment-large size-large wp-image-6357" alt="TSMaster诊断模块之系统变量的灵活应用" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-5-1024x358.jpg 1024w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-5-300x105.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-5-768x269.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-5-800x280.jpg 800w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-5.jpg 1260w" sizes="auto, (max-width: 1024px) 100vw, 1024px" title="新功能发布 | TSMaster诊断模块之系统变量的灵活应用 173">															</div>
				</div>
				<div class="elementor-element elementor-element-617e8c9 elementor-widget elementor-widget-text-editor" data-id="617e8c9" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									【2】在Panel中设置VIN码，通过诊断写入到ECU中：

								</div>
				</div>
				<div class="elementor-element elementor-element-e5d6028 elementor-widget elementor-widget-image" data-id="e5d6028" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="1024" height="370" src="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-6-1-1024x370.jpg" class="attachment-large size-large wp-image-6358" alt="TSMaster诊断模块之系统变量的灵活应用" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-6-1-1024x370.jpg 1024w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-6-1-300x108.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-6-1-768x277.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-6-1-800x289.jpg 800w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-6-1.jpg 1290w" sizes="auto, (max-width: 1024px) 100vw, 1024px" title="新功能发布 | TSMaster诊断模块之系统变量的灵活应用 174">															</div>
				</div>
				<div class="elementor-element elementor-element-c98fa3a elementor-widget elementor-widget-text-editor" data-id="c98fa3a" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									【3】通过诊断读取ECU内部电压值，并显示到Graphic中：

								</div>
				</div>
				<div class="elementor-element elementor-element-9d75468 elementor-widget elementor-widget-image" data-id="9d75468" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="1024" height="330" src="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-7-1024x330.jpg" class="attachment-large size-large wp-image-6359" alt="TSMaster诊断模块之系统变量的灵活应用" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-7-1024x330.jpg 1024w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-7-300x97.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-7-768x248.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-7-800x258.jpg 800w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-7.jpg 1318w" sizes="auto, (max-width: 1024px) 100vw, 1024px" title="新功能发布 | TSMaster诊断模块之系统变量的灵活应用 175">															</div>
				</div>
				<div class="elementor-element elementor-element-dca486c elementor-widget elementor-widget-text-editor" data-id="dca486c" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><span style="color: #ff0000;">注意：读取的变量，需要用户手动设置，才会同步到系统变量中。</span></p>								</div>
				</div>
				<div class="elementor-element elementor-element-47afa5f elementor-widget elementor-widget-text-editor" data-id="47afa5f" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									【4】通过诊断读取ECU内部VIN码，并显示到Panel中：

								</div>
				</div>
				<div class="elementor-element elementor-element-df1c723 elementor-widget elementor-widget-image" data-id="df1c723" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="1024" height="446" src="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-8-1024x446.jpg" class="attachment-large size-large wp-image-6360" alt="TSMaster诊断模块之系统变量的灵活应用" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-8-1024x446.jpg 1024w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-8-300x131.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-8-768x335.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-8-800x349.jpg 800w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-8.jpg 1338w" sizes="auto, (max-width: 1024px) 100vw, 1024px" title="新功能发布 | TSMaster诊断模块之系统变量的灵活应用 176">															</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-d49f993 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="d49f993" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-no">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f1e08d1" data-id="f1e08d1" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-73fd28a headingTitleH2 elementor-widget elementor-widget-heading" data-id="73fd28a" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">B．系统变量关联Console服务</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-6b1c85d elementor-widget elementor-widget-text-editor" data-id="6b1c85d" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>在前面章节中，用户在诊断控制台中可以根据需要灵活配置诊断服务。这些诊断服务配置好过后，用户需要在诊断控制台中双击启动该诊断服务。但是如果用户想在Panel界面中启动该诊断命令，则还需要借助系统变量。步骤如下：</p><p>【1】 首先在诊断BasicConfig窗体中，选中目标服务，然后右键菜单中把该诊断服务注册为系统变量，如下所示：</p>								</div>
				</div>
				<div class="elementor-element elementor-element-d5e1bb9 elementor-widget elementor-widget-image" data-id="d5e1bb9" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="712" height="432" src="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-9.jpg" class="attachment-large size-large wp-image-6361" alt="TSMaster诊断模块之系统变量的灵活应用" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-9.jpg 712w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-9-300x182.jpg 300w" sizes="auto, (max-width: 712px) 100vw, 712px" title="新功能发布 | TSMaster诊断模块之系统变量的灵活应用 177">															</div>
				</div>
				<div class="elementor-element elementor-element-04c9ad7 elementor-widget elementor-widget-text-editor" data-id="04c9ad7" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									注册完成后，该服务项的图标变成如下图标，表示成为一个注册了系统变量的服务，如下所示：								</div>
				</div>
				<div class="elementor-element elementor-element-2b1a83f elementor-widget elementor-widget-image" data-id="2b1a83f" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="549" height="290" src="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-10.jpg" class="attachment-large size-large wp-image-6362" alt="TSMaster诊断模块之系统变量的灵活应用" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-10.jpg 549w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-10-300x158.jpg 300w" sizes="auto, (max-width: 549px) 100vw, 549px" title="新功能发布 | TSMaster诊断模块之系统变量的灵活应用 178">															</div>
				</div>
				<div class="elementor-element elementor-element-37a1403 elementor-widget elementor-widget-text-editor" data-id="37a1403" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									【2】 注册完成后，在系统变量管理器中，就可以看到该系统变量了，如下所示：

								</div>
				</div>
				<div class="elementor-element elementor-element-2a59c46 elementor-widget elementor-widget-image" data-id="2a59c46" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="963" height="412" src="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-11.jpg" class="attachment-large size-large wp-image-6363" alt="TSMaster诊断模块之系统变量的灵活应用" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-11.jpg 963w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-11-300x128.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-11-768x329.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-11-800x342.jpg 800w" sizes="auto, (max-width: 963px) 100vw, 963px" title="新功能发布 | TSMaster诊断模块之系统变量的灵活应用 179">															</div>
				</div>
				<div class="elementor-element elementor-element-25d9287 elementor-widget elementor-widget-text-editor" data-id="25d9287" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									【3】在Panel中添加Button，并关联该系统变量，如下所示：

								</div>
				</div>
				<div class="elementor-element elementor-element-6325d0d elementor-widget elementor-widget-image" data-id="6325d0d" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="994" height="602" src="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-12.jpg" class="attachment-large size-large wp-image-6364" alt="TSMaster诊断模块之系统变量的灵活应用" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-12.jpg 994w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-12-300x182.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-12-768x465.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-12-800x485.jpg 800w" sizes="auto, (max-width: 994px) 100vw, 994px" title="新功能发布 | TSMaster诊断模块之系统变量的灵活应用 180">															</div>
				</div>
				<div class="elementor-element elementor-element-b2358be elementor-widget elementor-widget-text-editor" data-id="b2358be" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									【4】 运行程序，点击Panel上的测试按钮，可以看到，诊断模块执行了DiagnosticSessionControl服务。如下所示：

								</div>
				</div>
				<div class="elementor-element elementor-element-b9d80cd elementor-widget elementor-widget-image" data-id="b9d80cd" data-element_type="widget" data-e-type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="1024" height="194" src="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-13-1024x194.jpg" class="attachment-large size-large wp-image-6365" alt="TSMaster诊断模块之系统变量的灵活应用" srcset="https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-13-1024x194.jpg 1024w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-13-300x57.jpg 300w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-13-768x146.jpg 768w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-13-1536x291.jpg 1536w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-13-800x152.jpg 800w, https://www.tosunai.com/wp-content/uploads/2024/01/flexible-application-of-system-variables-13.jpg 1544w" sizes="auto, (max-width: 1024px) 100vw, 1024px" title="新功能发布 | TSMaster诊断模块之系统变量的灵活应用 181">															</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-0c63ae2 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="0c63ae2" data-element_type="section" data-e-type="section">
						<div class="elementor-container elementor-column-gap-no">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e32cb8e" data-id="e32cb8e" data-element_type="column" data-e-type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-a9b10ea headingTitleH2 elementor-widget elementor-widget-heading" data-id="a9b10ea" data-element_type="widget" data-e-type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">C．外部程序控制诊断</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-12b8e4d elementor-widget elementor-widget-text-editor" data-id="12b8e4d" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									外部程序可以通过系统变量跟TSMaster进行数据交换。

								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>&lt;p&gt;The post <a rel="nofollow" href="https://www.tosunai.com/flexible-application-of-system-variables-in-tsmaster-diagnostic-module/">新功能发布 | TSMaster诊断模块之系统变量的灵活应用</a> first appeared on <a rel="nofollow" href="https://www.tosunai.com">上海同星智能科技有限公司</a>.&lt;/p&gt;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.tosunai.com/flexible-application-of-system-variables-in-tsmaster-diagnostic-module/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
