You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何解决CAPL测试模块中sysvar事件无法触发的问题?

CAPL测试模块sysvar事件未触发问题

我在CAPL测试模块中编写了如下on sysvar事件代码:

on sysvar PICOLOG::Start
{
  write("Temp is : %f", sysGetVariableFloat(sysvar::PICOLOG::CH_1));
}
MainTest()
{   
  write("MainTest startetd");  
}

尽管测试模块已激活且已启动测量,但修改系统变量PICOLOG::Start时该事件并未触发。仅当在MainTest()中添加循环时事件才会触发,但这会导致程序阻塞,并非可行方案。

内容的提问来源于stack exchange,提问作者Claudiu Ghise

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.15 00:48:12