MATLAB XPC TARGET 4 - DEVICE DRIVERS Guia do Utilizador Página 45

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 111
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 110 111

Comentários a estes Manuais

Sem comentários