FSIL_ResetBlockedTxTpCts
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
Resets all CTS messages that were blocked with FSIL_BlockTxTpCts.Parameters
- node: Simulation node to apply the function.
Return Values
- 0: OK
- -1: General Error
long FSIL_ResetBlockedTxTpCts( ); //Form 1
long FSIL_ResetBlockedTxTpCts( dbNode node); //Form 2
on start {
long res;
res = FSIL_BlockTxTpCts(1); // Block the first CTS message
if(res != 0) {
write("An error occurred: %d", res);
}
}
// Reset blocked TP.CTS messages by pressing ‘a’ on the keyboard.
on key 'a' {
long res;
res = FSIL_ResetBlockedTxTpCts(); // Resets all blocked TP.CTS messages.
if(res != 0) {
write("An error occurred: %d", res);
}
}