21.01.2015 Views

INtime® 3.1 Software - tenAsys

INtime® 3.1 Software - tenAsys

INtime® 3.1 Software - tenAsys

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5 Designing<br />

RT applications<br />

This chapter provides general guidelines for RT system design using INtime software.<br />

Define the application<br />

When designing an RT application, you should include these steps:<br />

• Partition the application into Windows and RT components.<br />

• List the INtime application’s inputs and outputs, and decide whether RT or<br />

Windows services each system component. Decide which objects to use for<br />

inter-thread synchronization and communication, both within the RT portion and<br />

between the RT and Windows portions.<br />

• List all threads that require the input and output. Define interrupts and decide<br />

which ones require determinism. Assign interrupt levels and priorities to take<br />

advantage of multitasking and preemptive, priority-based scheduling.<br />

• Develop the detail for each thread in a block diagram.<br />

• Decide if the application requires multiple processes, and if so, how they will use<br />

shared memory and dynamic memory allocation.<br />

• Design your user interface.<br />

• Determine if you require custom devices and drivers.<br />

• Determine if your application will run on a single system or be distributed over<br />

multiple RT nodes.<br />

55

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!