linSetRespDisturbance
Valid for: CANoe DEFunction Syntax
Description
Activates a disturbance in the response space of the specified LIN frame. A normal response by a simulated slave will be deactivated as long as the disturbance is active. Note: The disturbance starts with the next occurrence of the specified frame. To stop the disturbance the functions linResetRespDisturbance() shall be used.Parameters
- frameId: LIN frame identifier in the range 0 .. 63.
- lengthInBits: The duration of the disturbance [in bit times].
- level: The level of the disturbance.
- 0: dominant disturbance (inverts recessive bits)
- 1: recessive disturbance (inverts dominant bits - requires mag-Cab/Piggyback and external power supply)
- offsetInSixteenthBits: The offset [in 1/16th bits] of the disturbance relative to the end of the header, i.e., to the PID byte.