INtime SDK Help
Sample Applications
INtime SDK v6 > References > Sample Applications

INtime software includes a number of sample applications that you can use as samples for your own INtime applications. The source code for these applications are provided in the following Visual Studio project formats:

Older samples from previous INtime SDK versions may be available in other formats of Visual Studio also.

The files reside in separate directories per sample. For instance, the INtime API test program source files reside in the following directory:

My Documents\INtime\Projects\rttest

You can open the projects for these applications from the Start->INtime->Sample Projects and open the folder Sample Projects for Visual Studio XXXX (the title depends on which version of Visual Studio you currently have installed).

Note:   

Sample applications include:

EventMsg DLL Project

This DLL allows you to customize event messages.

Source Path My Documents\INtime\Projects\eventmsg
Runtime Requirements The EventMsg Project builds the EventMsg.DLL file properly only if you first build the project under release mode from within Microsoft Visual Studio. After building the project under release mode, you may then build the project under debug mode.

INtime API sample

This test application exercises many INtime software system calls.

Source Path My Documents\INtime\Projects\rttest

INtime Serial Communications Sample

This project demonstrates how to use the INtime Serial Communications library. The library and accompanying drivers allows the user to access serial devices such as the COM PC ports, RocketPort multi-channel PCI devices, and Edgeport multi-channel USB devices.

The serial port settings assumed by this project are:

9600,8,1,N NO_FLOW

The serial drivers are:

compc.rta (PC COM ports COM1, COM2, COM3, COM4)

comrocket.rta (RocketPort PCI COM5 ...)

comedge3.rta (Edgeport USB COM20 ...)

See the help file for device names and parameters.

Source Path My Documents\INtime\Projects\commsamp

INtime Graphical Jitter (Jitter.exe)

This application measures the minimum, maximum, and average times between system timer ticks via an Alarm handler. Because this application is made from both an RT and Windows executables, it shows both INtime and INtimeDotNet API usage.

INtime Graphical Jitter includes these executables:

Source Path My Documents\INtime\Projects\jittercs2
Invocation Invoke the Windows jitter.exe program.

Real-time Interrupt Sample

This application tests the INtime RT Interrupt system calls using the Transmitter Ready interrupt from COM1.

The INtime RT Interrupt API Test takes over COM1 and toggles its Transmitter Ready Interrupt. When the test ends, COM1 is disabled. Make sure COM1 is available on your system before running this test application. When you run the test, continuous activity occurs on the RT side, which may preempt Windows activity for eight 10-second time periods.

Source Path My Documents\INtime\Projects\inttest

C and C++ Samples for Debugger

These simple C and C++ programs are provided as a vehicle to demonstrate the Spider debugger's capabilities. The C++ program also demonstrates several components of the C++ language available to RT applications, as well as basic classes, dynamic instantiation, operator overloading, and so on. It also shows the libraries and startup modules needed.

Source Path My Documents\INtime\Projects\csamp (C program)
My Documents\INtime\Projects\cppsamp (C++ program)

TCP Sample Applications

Sample project that demonstrate TCP communications between a client and server. Client and server code is provided for INtime, and server code for Windows.

Source Path My Documents\INtime\Projects\tcpsample
Invocation See the ReadMe.txt file in the source code directory.

UDP Sample Applications

Sample project that demonstrates a UDP ping-pong type application. Datagram packets are exchanged between INtime and Windows with an incrementing identifier in the payload.

Source Path My Documents\INtime\Projects\udpsample
Invocation See the ReadMe.txt file in the source code directory.

Network Datagrams Sample Applications

Sample project that demonstrates the various features of UDP datagram processing, including multicast and poll options.

Source Path My Documents\INtime\Projects\datagrams

INtimeDotNet Sample Applications

Illustrates the use of the INtimeDotNet assembly. This is a .net wrapper around the NTX interface for Windows applications.

Source Path

My Documents\INtime\Projects\INtimeDotNetSampleX

Invocation See the ReadMe.txt file in the source code directory for further details.

Floating Point Exception Handling

This simple program demonstrates floating point exception handling.

Source Path My Documents\INtime\Projects\FpExcep
Invocation See the ReadMe.txt file in the source code directory.

RSL Example

These RT programs demonstrate the creation and use of RT Shared Libraries, the RT analog for Windows DLLs.

Source Path My Documents\INtime\Projects\RslTest
Invocation See the ReadMe.txt file in the source code directory.

NTX sample (MsgBoxDemo)

This INtime application has both a Windows and an RT portion. The Windows portion looks up an RT mailbox created by the RT portion, and then waits at the mailbox. When an RT thread sends a message to the mailbox, the Windows portion displays the received data in a message box on the Windows side. RT semaphore and RT shared memory usage are also demonstrated.

Source Path My Documents\INtime\Projects\MsgBoxDemo
My Documents\INtime\Projects\MsgBoxDemo\RtMsgBox
Invocation See the ReadMe.txt file in the source code directory.

Windows STOP Detection sample (STOPmgr)

This sample application shows how an INtime application can detect either a Windows Crash (blue screen) or Windows Shutdown event and prevent Windows from completing its normal actions until the RT application has had a chance to do a "graceful" shutdown.

Source Path My Documents\INtime\Projects\stopmgr

USB Client sample

This sample application demonstrates how to use the INtime USB subsystem. It monitors a USB keyboard and prints a dump of each keystroke as it occurs.

Source Path My Documents\INtime\Projects\usbkbd3

USB device list utility

This sample application demonstrates how to use the INtime USB subsystem to discover all attached devices and monitors all insert/detach events.

Source Path My Documents\INtime\Projects\usbls3

Global Objects sample project

This project illustrates some aspects of the Global Objects feature of INtime.

Source Path My Documents\INtime\Projects\globalobjects

Memory Heap debug sample project

This project illustrates some debug features for the memory heap (C library heap).

Source Path My Documents\INtime\Projects\heapsamp

High-Performance Ethernet (HPE) sample project

This project illustrates the use of the HPE drivers included with INtime.

Source Path My Documents\INtime\Projects\hpeif2

HPE3 Extra Features sample project

This project illustrates the additional features of the HPE3 interface with the Intel i210 Ethernet adapter.

Source Path My Documents\INtime\Projects\hpe3sample

Ethernet Connector (XCNT) to HPE sample project

This project illustrates the use of the XCNT network driver to forward packets from an HPE application to and from the network stack.

Source Path My Documents\INtime\Projects\xcnt_hpe

PCAP sample project

This project illustrates the use of the PCAP library to filter specific Ethernet packets from the network stack.

Source Path My Documents\INtime\Projects\nicio

Local Node Configuration library sample project

This project illustrates the use of the LNC library to create configuration utilities for INtime for Windows.

Source Path My Documents\INtime\Projects\lncdemo

Message Queue sample project

This project illustrates the use of the Message Queue object in INtime and Windows (via NTX).

Source Path My Documents\INtime\Projects\msgqdemo

Network Interface Information sample project

IfInfo demonstrates how to iterate through all interfaces in the TCP/IP Stack, identify assigned addresses and attributes and format them for display.

Source Path My Documents\INtime\Projects\ifinfo

INtime Service process sample

Illustration of how to create a service process which handles requests on behalf of client processes.

Source Path My Documents\INtime\Projects\service

INtime Distributed RTOS configuration API sample

Illustration of how to use the config file API to configure Distributed RTOS system.

Source Path My Documents\INtime\Projects\ConfigFiles