MATLAB XPC TARGET 4 - DEVICE DRIVERS Guide de l'utilisateur Page 80

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 111
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 79
7 Creating Custom Drivers Using the xPC Target™ D river Authoring Tool
Generating Custom Driver Te mplates
In this section...
“Using the xPC Target Driver Authoring Tool” on page 7-4
“Setting Up Driver Variables” on page 7-4
“Saving the Configuration” on page 7-7
“Reloading the Co nfiguration” on page 7-8
“Creating the C File Template” on page 7-8
“Creating a C MEX File for the Dri ver” on page 7-8
“Customizing the Device D river Mask” on page 7-9
Using the xPC Tar g et Driver Authoring Tool
The prerequisites for creating a custom xPC Target device driver using the
xPC Target Driver Authoring Tool are the same as those for creating a device
driver manually. See “E xpected Background” on page 1-3 and “Before You
Start” on page 1-8 for further information.
The following sections assume that you have identified the following
component specifications for the driver. See “Before You Start” on page 1-8
for guidelines for the following driver components, including their data type
and size:
Input ports
Output ports
Parameters
Work variables
Setting Up Driver Variables
1 In the MATLAB Command Window, change directory to the one in which
you want to save the driver code.
2 Start xPC Target D river Authoring Tool. T ype
xpcdrivertool
7-4
Vue de la page 79
1 2 ... 75 76 77 78 79 80 81 82 83 84 85 ... 110 111

Commentaires sur ces manuels

Pas de commentaire