MATLAB XPC TARGET 4 - DEVICE DRIVERS Betriebsanweisung Seite 45

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 111
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 110 111

Kommentare zu diesen Handbüchern

Keine Kommentare