MATLAB XPC TARGET 4 - DEVICE DRIVERS Guida Utente Pagina 45

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 111
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 110 111

Commenti su questo manuale

Nessun commento