'How can I make LIN master off by using CAPL?

I'm a newbie of canoe and capl. I'm trying to make a lin slave tester by using canoe, capl, panel. LIN netwotk has 2 channel.

ch1 - a bldc motor

ch2 - an actuator

And i made some functions such as voltage, current monitoring and check pass or fail. i also need to make error condition like LIN off status for a while. there were many capl functions similar what i wanna make.

  • linstopscheduler
  • linactivateglobalnetworkmanagement
  • lindeactiveslot
  • lingotosleep
  • linchangeschedtable

but none of them stop sending master frame.

it shows a message

"Node 'tesr' (CAPL) LIN channel 2: LIN API call LINStopScheduler() ignored! due to LIN Interactive Master settings!"

So i turned of master simulation but schedule table also disabled forever.

how can i make it?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source