Hello sfard@multimatic.com,
All the blocks that you add generate code for one / more of the following:
- initialization - code that is ran 1 time, at the beginning
- step - code that is ran continuously, at every step period - you can control this for every model - so to answer your question, as long as you have code that is generated inside the step function, if you want it to be called at frequency f you should set the step size to 1/f, so 1e-6 would be right [Note: this step function is controlled via a LPIT channel]
- interrupts - ISR blocks generate functions that are called on certain events, and only then -- so event-driven code here [Note: code generated for the subsystem that is triggered by the ISR block goes inside these functions]
As for why it does not seem to work, I'll take a look and get back to you tomorrow as I'm working through my queue - but I decided to give a very short description to know what to expect from our toolbox.
Please let us know if you have other questions regarding the toolbox functionality.
Kind regards,
Razvan.