dSPACE DS1103 ERP I/O Driver : Implementing the Driver : General Driver File

General Driver File

To support a new card DS<xxxx> (where <xxxx> is the model number of the card), you must modify some sections of the stm_dspace.c file. Specifically, you must change the sections that use preprocessor directives in order to switch between the different cards ("#ifdef DS<xxxx> …"). In these sections, add calls to the functions stm_ds<xxxx>_global_initialize(), stm_ds<xxxx>_get_driver_func(), and stm_ds<xxxx>_close_connection().