Real-Time Windows Target    

Source Code for DOS Target Drivers

Source code for the DOS target device drivers is located in matlabroot\rtw\c\dos\devices. This table lists the available DOS device drivers.

Table B-1: DOS Device Drivers Included with the Real-Time Workshop
Type of Device Driver
Filename
Analog to Digital

das16ad.c
das16ad.h
das16ad.tlc

Digital to Analog

das16da.c
das16da.h
das16da.tlc

Digital Input

das16di.c
das16di.h
das16di.tlc

Digital Output

das16do.c
das16do.h
das16do.tlc

Device drivers written in this style (that is, as inlined S-functions) are compatible with Real-Time Windows Target. They may be used in combination with the device drivers provided with Real-Time Windows Target.

See "Targeting DOS for Real-Time Applications" for more information on these I/O device drivers and "Targeting Real-Time Systems" for information about writing custom device drivers; both these chapters are in the Real-Time Workshop User's Guide.


 Custom I/O Driver Blocks Incompatibility with Win32 API Calls