简体   繁体   English

在 100ms 内禁用 CAP1 中的一个信号

[英]Disabling a signal in CAPl within 100ms

I have a scenario where I need to check if signal sigA is unavailable for 100ms.我有一个场景,我需要检查信号sigA是否在 100 毫秒内不可用。
I need it to set a certain value let's say 13 .我需要它来设置某个值,比如说13

How can I do this in CAPL?我怎样才能在 CAPL 中做到这一点?

Cyclic time of the message: 10ms.消息循环时间:10ms。

If you are talking about CAN bus, signals are included in messages.如果您在谈论 CAN 总线,则信号包含在消息中。 You cannot disable an individual signal, only whole messages.您不能禁用单个信号,只能禁用整个消息。 For example, the function TestDisableMsg allows you to disable the message sent by the simulation.例如,function TestDisableMsg允许您禁用模拟发送的消息。 Check the help for details.查看帮助以获取详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM