Training
×

Creating and ending an RT Process

Although there are other methods, the ntxCreateRtProcess function is a convenient tool to combine all parameters for creating an RT process. The result is an RT process handle, that can be used for looking up object directory entries.
This function uses the INtime RT Application Loader; if the node is on another host, loading the process means downloading it over an Ethernet link, which can take some time. After completion of this call the RT process exists, but you cannot assume anything about the threads inside. If you need access to an object in the RT process, you should look it up in the process‘s object directory.
To terminate an RT process, use the ntxTerminateRtProcess function.