Training
×

NTX Status Calls

There are three functions related to the execution state of RT nodes.
The ntxGetRtStatus function tells whether INtime is up and running. If it does not return E_OK or E_STATE, no further NTX functions should be used.
An RT node also can be started/stopped by function calls. Successful completion means that the start/stop has been initiated but does not necessarily mean that it completed successfully. Use ntxGetRtStatus to determine if the RT kernel started/stopped successfully.
 
Other functions are used to determine erroneous states.
ntxGetLastRtError returns an exception code, explaining why a NTX function failed.
The other two functions provide a short and somewhat longer string describing an exception code.