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

  • 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 44
Sample Driver Mask
3 Select the Initialization tab . The tab displays the dialog v ari ables you
entered in the Parameters tab.
4 In the Initialization code section, type
phase = 2;
[baseDec, maskDisplay, mas kDes cription] =
maddiamondmm32(phase, configuration, firstCha n,
numChans, range, base);
set_param(gcb, 'MaskDescription', maskDescription );
set_param(gcb, 'MaskDisplay', maskDisplay);
where maddia mondmm32 references the m addiamondmm32.m file for the
driver.
In this file, you should check the range values of the parameters. C hecking
the mask here will catch illegal values early in the build process.
4-9
Vue de la page 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 110 111

Commentaires sur ces manuels

Pas de commentaire