| Step | CANalyzer Action | Verification |
|---|---|---|
| New config | File → New Configuration | Empty workspace opens |
| Add network | Insert → Network Block → CAN | CAN channel block appears |
| Hardware assign | CAN block → Properties → Channel → Vector VN1610 | Hardware LED goes green when connected |
| Set bit-rate | CAN block → Properties → Bit Rate → 500 kbps | Matches target network |
| Import DBC | CAN block → right-click → Assign Database → powertrain.dbc | Signal names appear in Symbol Explorer |
| Start | Measurement → Start (F9) | Trace window populates with decoded frames |
/* CANalyzer CAPL: trigger and log on error frames */
variables {
int error_count = 0;
}
on errorFrame {
error_count++;
write("ERROR FRAME #%d at t=%.3f ms — TEC may be rising",
error_count, timeNow() / 100000.0);
/* timeNow() returns 100ns ticks */
}
on start {
write("CAN monitor started. Watching for error frames...");
}