|Re: How to override targetStartup [message #1779102 is a reply to message #1778941]
||Tue, 02 January 2018 20:29
| Charles Rivet
Registered: May 2014
Hi Sekwon Jang,|
The targetSetup is used to initialize the runtime services that will then execute the model code that you created. That is, getting and processing the command line arguments, setting up the OS threads, setting up the message queues, creating the Main loop that will process the messages, etc. For the system to run properly, this needs to be in place before the capsule code can run.
Note that the command line arguments are available when you start the system and could be retrieved in the initial transition of your "top capsule" if you want to access them as part of your capsule startup routines. Note, however, that those are defined as static.
If you can explain what you hope to accomplish as part of this override, perhaps we could provide you with options to meet your goals.
Powered by FUDForum
. Page generated in 0.01255 seconds