Zurück zu Willert.de

Multiple classes in same active context

Questions about the usage and configuration of the RXF

Multiple classes in same active context

Beitragvon lgasser » September 25th, 2013, 8:19 am

I'm working with Rhapsody 8.0.1 and RXF for Freescale MQX 4.0.

I've got some classes which are involved in a specific Job which is the main functionality of the product and has to be high priority.
An interrupt triggers the first statemachine which then executes callbacks to classes in the application layer. Such a callback fires an event to that particular registered object and triggers its statemachine.

Now how can I achieve to run all involved statemachines in the same high priority context?

Lukas
lgasser
 
Beiträge: 2
Registriert: September 25th, 2013, 7:57 am

Re: Multiple classes in same active context

Beitragvon czoeller » September 25th, 2013, 4:56 pm

Hello Lukas,

since you want a high priority treatment of the statemachines you have to make parts of the classes you want to trigger. By using parts the message queue of the HighPriority task is used with the parts. Hence the statecharts of the parts benefit from the higher priority.

Kind Regards
Christian Zöller
Dateianhänge
Bildschirmfoto 2013-09-25 um 16.44.43.png
Bildschirmfoto 2013-09-25 um 16.44.43.png (44.4 KiB) 26449-mal betrachtet
Benutzeravatar
czoeller
 
Beiträge: 3
Registriert: August 10th, 2011, 4:40 pm
Firma: Willert Software Tools GmbH

Re: Multiple classes in same active context

Beitragvon lgasser » September 27th, 2013, 4:07 pm

Thank you very much, that solution did the trick!
lgasser
 
Beiträge: 2
Registriert: September 25th, 2013, 7:57 am


Zurück zu RXF

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast

cron