Access to real-time application loaded on target computer
public sealed class xPCApplication : xPCBaseNotification
Syntax Language: C#
public sealed class xPCApplication : xPCBaseNotification initializes
a new instance of the xPCApplication class.
Do not use this .NET API class. Support for this class relies on support for the .NET API, which will be removed in a future release.
|Properties||C# Declaration Syntax||Description||Exception|
Get the average task execution time. The first element contains the average TET number; the second element contains how long it took to achieve the TET time.
Task execution time (TET) measures how long it takes the kernel to run for one base-rate time step. For a multirate model, use the profiler to find out what the execution time is for each rate.
Get state of CPU overload flag.
Get execution time.
Get reference to the real-time application logging object.
Get the maximum task execution time. The first element contains the maximum TET number; the second element contains how long it took to achieve the TET time.
Get the minimum task execution time. The first element contains the minimum TET number; the second element contains how long it took to achieve the TET time.
Get the current name of the loaded real-time application
Get reference to the xPCParameters object.
Get or set sample time.
Some blocks produce incorrect results when you change their sample time at run time. If you include such blocks in your model, the software displays a warning message during model build. To avoid incorrect results, change the sample time in the original model, and then rebuild and download the model.
Get collection of scopes assigned to the real-time application.
Get reference to xPCSignals object.
Get simulation status. See xPCAppStatus Enumerated Data Type.
Get and set stop time.
Get reference to parent xPCTargetPC object.