RTProcess Class

Provide access to RTX64 real-time processes.
Inheritance Hierarchy
SystemObject
  IntervalZero.RTX64.RTAPI.Diagnostics.RTProcessRTProcess

Namespace:  IntervalZero.RTX64.RTAPI.Diagnostics.RTProcess
Assembly:  IntervalZero.RTX64 (in IntervalZero.RTX64.dll) Version: 3.3.0.0 (File version: 3.5.0)

Syntax
public class RTProcess : IDisposable, IDiagnosticsRtProcess

The RTProcess type exposes the following members.

Constructors
NameDescription
Public methodRTProcess
Initializes a new instance of the IntervalZero.RTX64.RTAPI.Diagnostics.RTProcess class.
Top
Properties
NameDescription
Public propertyExitCode
Gets the value that the associated process specified when it terminated.
Public propertyExitTime
Gets the time that the associated process exited.
Public propertyHandle
Gets the associated process's native handle.
Public propertyHasExited
Gets a value indicating whether the associated process has been terminated.
Public propertyId
Gets the unique identifier for the associated process.
Public propertyIdealProcessor
Get the value that represents the ideal processor the process is running on.
Public propertyIsRtkProcess
Gets or sets a value indicating whether this instance is RTK process. VAN-3662
Public propertyProcessAffinityMask
If the process is running this will use RtGetProcessAffinityMask to get the processAffinityMask. Otherwise it uses the private backing field that is set by an overloaded Start method
Public propertyProcessName
Gets the name of the process.
Public propertyStartInfo
Gets or sets the properties to passed to the IntervalZero.RTX64.RTAPI.Diagnostics.RTProcess.Start() method of the RTProcess object.
Public propertyStartTime
Gets the time that the associated process was started.
Top
Methods
NameDescription
Public methodDispose
Releases all resources used by this process.
Protected methodDispose(Boolean)
Releases all resources used by this process.
Public methodStatic memberEnumerateProcesses
Enumerate the running RTSS processes This has a limit of 1000 running process SAME AS RTSSKill
Public methodStatic memberEnumerateProxyProcesses
Enumerate the running RTSS proxy processes This has a limit of 1000 running process SAME AS RTSSKill
Public methodStatic memberEnumerateProxyProcesses(List (Of RTProcess))
Enumerate the running RTSS proxy processes This has a limit of 1000 running process SAME AS RTSSKill
Public methodStatic memberGetProcessById
Returns a new RTProcess object, given the identifier of a process on the local computer.
Public methodStatic memberIsRealTimeDebuggerActive
Returns true if any real-time process is being debugged, otherwise returns false.
Public methodKill
Immediately terminates the associated process.
Public methodStatic memberRtIsDebuggerPresent
Returns true if the real-time process identified by processId is being debugged, false otherwise. Throws an RTX64Exception if passed process ID is invalid.
Public methodStatic memberStart(Dictionary)Starts an RTSS process via a dictionary that uses the StartParameters enumeration as the dictionary’s key type.
Public methodStart

NOTE: This overload is deprecated and will be removed in a future release.

Starts a real-time process using the configuration parameters stored in the associated RTProcess object.

Public methodStart(Boolean)

NOTE: This overload is deprecated and will be removed in a future release.

Starts the process resource that is specified by the parameter containing process start information (for example, the file name of the process to start) and associates the resource with a new RTProcess object. All of the overloaded versions of the method ultimate call into this overload, which is where the real-time process is actually spawned.
Public methodStatic memberStart(ProcessStartInfo)

NOTE: This overload is deprecated and will be removed in a future release.

Starts the process resource that is specified by the RTProcess object.StartInfo. property of this RTProcess object and associates it with the object
Public methodStatic memberStart(String)

NOTE: This overload is deprecated and will be removed in a future release.

Starts a process resource by specifying the name of a document or application file and associates the resource with a new IntervalZero.RTX64.RTAPI.Diagnostics.RTProcess object.
Public methodStatic memberStart(String, String)

NOTE: This overload is deprecated and will be removed in a future release.

Starts a process resource by specifying the name of a document or application file and associates the resource with a new IntervalZero.RTX64.RTAPI.Diagnostics.RTProcess object.
Public methodStatic memberStart(ProcessStartInfo, UInt64, UInt32)

NOTE: This overload is deprecated and will be removed in a future release.

Starts the process resource that is specified by the RTProcess object.StartInfo. property of this RTProcess object and associates it with the object
Public methodStatic memberStart(String, UInt64, UInt32)

NOTE: This overload is deprecated and will be removed in a future release.

Starts a process resource by specifying the name of a document or application file and associates the resource with a new IntervalZero.RTX64.RTAPI.Diagnostics.RTProcess object.
Public methodStatic memberStart(ProcessStartInfo, UInt64, UInt32)

NOTE: This overload is deprecated and will be removed in a future release.

Starts the process resource that is specified by the RTProcess object.StartInfo. property of this RTProcess object and associates it with the object
Public methodStatic memberStart(String, String, UInt64, UInt32)

NOTE: This overload is deprecated and will be removed in a future release.

Starts a process resource by specifying the name of a document or application file and associates the resource with a new IntervalZero.RTX64.RTAPI.Diagnostics.RTProcess object.
Public methodStatic memberStart(String, UInt64, UInt32)

NOTE: This overload is deprecated and will be removed in a future release.

Starts a process resource by specifying the name of a document or application file and associates the resource with a new IntervalZero.RTX64.RTAPI.Diagnostics.RTProcess object.
Public methodWaitForExit
Instructs the IntervalZero.RTX64.RTAPI.Diagnostics.RTProcess object to wait indefinitely for the associated process to exit.
Public methodWaitForExit(Int32)
Instructs the IntervalZero.RTX64.RTAPI.Diagnostics.RTProcess object to wait the specified number of milliseconds for the associated process to exit.
Public methodWaitForExitCode
Waits for the thread that get's the exitcode from the Real-Time Process to finish. Unlike WaitForExit() this routine ensures that we've updated the ExitCode value before we return the routine.
Public methodWaitForExitCode(Int32)
Waits for the thread that get's the exitcode from the Real-Time Process to finish. Unlike WaitForExit() this routine ensures that we've updated the ExitCode value before we return the routine.
Top
See Also