Real-Time Workshop User's Guide | ![]() ![]() |
Creating a Customized Asynchronous Library
You can use the Real-Time Workshop's VxWorks asynchronous blocks as templates that provide a starting point for creating your own asynchronous blocks. Templates are provided for these blocks:
You can customize each of these blocks by implementing a set of modifications to files associated with each template. These files are:
At a minimum, you must rename the system calls generated by the TLC files to the correct names for the new real-time operating system (RTOS) and supply the correct arguments for each file. There is a collection of files that you must copy (and rename) from matlabroot
/rtw/c/tornado/devices
into a new directory, for example, matlabroot
/rtw/c/
my_os
/devices
. These files are:
vxdbuffer.tlc
, vxdbuffer.c
vxinterrupt.tlc
, vxinterrupt.c
, vxintbuild.m
vxlib.tlc
vxtask.tlc
, vxtask.c
![]() | Rate Transition Block | Real-Time Workshop Ada Coder | ![]() |