Configuration and Execution of Real-Time Application with .NET

Real-time application configuration and execution

To run your real-time application in a repeatable manner, write programs with the .NET API. With these programs, load, configure, and run the real-time application. You can:

  • Perform runs interactively or initiate automated runs and test sequences.

  • Tune parameters during, before, or after a run.

  • Acquire, view, and log signals on the development or target computer.

.NET API

expand all

xPCTargetPC ClassAccess target computer
xPCTargetPCConstruct new instance of xPCTargetPC class
xPCTargetPC.PingTest communication between development and target computers
xPCTargetPC.tcpPingDetermine TCP/IP accessibility of remote computer
xPCTargetPC.ConnectEstablish connection with target computer
xPCTargetPC.ConnectAsyncAsynchronous request for target computer connection
xPCTargetPC.DisconnectDisconnect from target computer
xPCTargetPC.DisconnectAsyncAsynchronous request to disconnect from target computer
xPCTargetPC.DisposeClean up used resources
xPCTargetPC.RebootRestart target computer
xPCTargetPC.RebootAsyncAsynchronous request to restart target computer
xPCTargetPC.LoadLoad real-time application onto target computer
xPCTargetPC.UnloadUnload real-time application from target computer
xPCTargetPC.LoadAsyncAsynchronous request to load real-time application onto target computer
xPCTargetPC.UnloadAsyncAsynchronous request to unload real-time application from target computer
xPCApplication ClassAccess to real-time application loaded on target computer
xPCApplication.StartStart real-time application execution
xPCApplication.StopStop real-time application execution
xPCTargetPC.ConnectCompletedEvent when xPCTargetPC.ConnectAsync is complete
xPCTargetPC.ConnectingEvent before xPCTargetPC.Connect starts
xPCTargetPC.ConnectedEvent after xPCTargetPC.Connect is complete
xPCTargetPC.DisconnectCompletedEvent when xPCTargetPC.DisconnectAsync is complete
xPCTargetPC.DisconnectingEvent before xPCTargetPC.Disconnect starts
xPCTargetPC.DisconnectedEvent after xPCTargetPC.Disconnect is complete
xPCTargetPC.DisposedEvent after xPCTargetPC.Dispose is complete
xPCTargetPC.LoadedEvent after xPCTargetPC.Load is complete
xPCTargetPC.LoadingEvent before xPCTargetPC.Load starts
xPCTargetPC.LoadCompletedEvent when xPCTargetPC.LoadAsync is complete
xPCTargetPC.RebootingEvent before xPCTargetPC.Reboot starts
xPCTargetPC.RebootedEvent after xPCTargetPC.Reboot is complete
xPCTargetPC.RebootCompletedEvent when xPCTargetPC.RebootAsync is complete
xPCApplication.StartingEvent before xPCApplication.Start executes
xPCApplication.StartedEvent after xPCApplication.Start is complete
xPCApplication.StoppingEvent before xPCApplication.Stop executes
xPCApplication.StoppedEvent after xPCApplication.Stop is complete
xPCTargetPC.UnloadCompletedEvent when xPCTargetPC.UnloadAsync is complete
xPCTargetPC.UnloadedEvent after xPCTargetPC.Unload is complete
xPCTargetPC.UnloadingEvent before xPCTargetPC.Unload starts
ConnectCompletedEventArgs ClassxPCTargetPC.ConnectCompleted event data
DisconnectCompletedEventArgs ClassxPCTargetPC.DisconnectCompleted event data
RebootCompletedEventArgs ClassxPCTargetPC.RebootCompleted event data
LoadCompletedEventArgs ClassxPCTargetPC.LoadCompleted event data
UnloadCompletedEventArgs ClassxPCTargetPC.UnloadCompleted event data
GetDataCompletedEventArgs ClassGetDataCompleted event data
xPCException ClassInformation for xPCException
xPCExceptionConstruct new instance of xPCException class
xPCAppStatus Enumerated Data TypeReal-time application status return values
xPCProtocol Enumerated Data TypeDevelopment computer and target computer communication medium
xPCExceptionReason Enumerated Data TypeException reasons

Topics

Simulink Real-Time .NET API Client Application Examples

Examine applications that use the Simulink® Real-Time™ API for Microsoft® .NET Framework.

Using the Simulink Real-Time API for Microsoft .NET Framework

Creating user interfaces with the Simulink Real-Time API for .NET Framework.

Simulink Real-Time API for Microsoft .NET Framework

Accessing the target computer and real-time application with the Simulink Real-Time API for Microsoft .NET Framework.

Simulink Real-Time .NET API Application Creation

Configure the development environment for using the Simulink Real-Time API for Microsoft .NET Framework.

Simulink Real-Time .NET API Application Distribution

Complying with the requirements for distributing client applications.

Featured Examples