This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Asynchronous Read/Write

This model shows how to support asynchronous read/write using an external TTL signal firing an interrupt on the parallel port. This event invokes a function-call subsystem serving as an interrupt service routine (ISR). Data is exchanged between the asynchronous task and the rest of the model (rate monotonic task) using Asynchronous Double Buffer blocks.

For more information on using the parallel port as an interrupt source, see the Simulink® Real-Time™ documentation on using parallel ports.

To run this model, the following setup is required:

  1. Connect an external TTL signal source such as a Pulse Generator to the ACK input, pin 10 on the parallel port. During real-time application execution, the function-call subsystem will then be executed whenever a TTL low-high signal transition occurs.

  2. If not yet done, boot the target computer and build the real-time application.

See also xpcasynctrans

Was this topic helpful?