'Print offline logging filename in CAPL script
Vector CANalyzer in offline mode. Playing back CAN recording, and processing with CAPL script to identify areas of interest quickly. Have many CAN recordings to analyse. If an area of interest is found, print the current logging filename, and time location within file, to write window:
on message Frame_of_Interest
{
if( this.rpm > 0 )
{
if( this.torque == 0 )
{
write("HIT in file %s at location %s", logging filename, time location);
}
}
}
Any help much appreciated.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
