简体   繁体   中英

How Can I loop on all received signal data in Canoe using Capl?

假设我有一条名为 msg1 的消息,其中包含许多初始值为 0 的信号 (sig1,sig2,sig3,......sig20),如何使用 capl 循环所有接收到的信号数据并打印信号名称已触发或它的值从 0 更改为 1?

Withn a loop, snpritf the names and use getSignal to get the value. For details, refer to the CAPL help for getSignal, scroll down to the very bottom and expand the collapsebox for "Special Use Case". Vector hid that well...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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