如果 VECTOR Canoe 停止测量,是否可以编写发送电子邮件的代码?

Is it possible to write the code that will send an email if VECTOR Canoe stopped the measurement?

因为我的测试环境,VECTOR Canoe偶尔会自己停止测量。所以我有一个想法,每次测量停止时都发送一封电子邮件。

谢谢大家的回答。

它不会是 CAPL,但您可以使用 CAPL 编写一个带有错误和时间戳的文件,然后在后台有一个 python 脚本 运行,它只读取文件并通过电子邮件发送。

您必须在处理程序中写入文件 on stopMeasurament{<your code> }

Here it is how to write a file in CAPL (Whosebug question)