Real-Time Workshop    

Unprotected Asynchronous Rate Transition Block

The VxWorks Unprotected Asynchronous Rate Transition block provides a sample time for blocks connected to an asynchronous function-call subsystem when double buffering is not required. There are two options for connecting I/O to an asynchronous function-call subsystem:

Unprotected Asynchronous Rate Transition Block Parameters

This picture shows the VxWorks Unprotected Asynchronous Rate Transition block's dialog box.

The Sample time parameter sets the sample time to the desired rate.

Unprotected Asynchronous Rate Transition Block Example

This picture shows a sample application of the Rate Transition block in an ISR.

In this example, the Rate Transition block on the input to the function-call subsystem causes both the In and Gain1 blocks to run at the 0.1 second rate. The Rate Transition block on the output of the function-call subsystem causes both the Gain2 and Out blocks to run at the 0.2 second rate. Using this scheme informs Simlink to allow non-buffered connections to an asynchronous function-call subsystem.


  Asynchronous Rate Transition Block Creating a Customized Asynchronous Library