RtxDemoNative

A graphical interface to the Srtm program, displaying timer latencies for both Win32 and RTSS environments. Start RtxDemoNative.exe with a click or a command.

NOTE:  This sample uses MFC and is only supported in a Multi-Byte configuration. To build this sample in Visual Studio 2013, you must first install an additional library from Microsoft, available at: https://www.microsoft.com/en-us/download/confirmation.aspx?id=40770

NOTE:  The Visual Studio 2015 version of this sample builds with a warning C4996. This warning can be ignored.

Source Files

RTXDemoNative

Sclient

Building the Project

  1. Build Sclient.exe as a Debug configuration.
  2. Build Sclient.rtss as a RTSSDebug configuration.
  3. Build RTXDemoNative as a Debug configuration.

Running the Project

  1. Choose if you want Windows or RTSS processes to run which timer you wish to use.
  2. Click Run Histogram or Run Max Latency to run either.
  3. Click the help button for documentation on how to use this sample.

APIs Referenced

RTAPI

RtCloseHandle

RtCreateTimer

RtDeleteTimer

RtEnablePortIo

RtGetClockResolution

RtGetClockTime

RtGetClockTimerPeriod

RtOpenSharedMemory

RtReadPortUchar

RtSetTimerRelative

RtWritePortUchar

See Also

IntervalZero.com | Support | Give Feedback