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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 111
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 80
Generating Custom Driver Templates
The xPC Target Driver Authoring Tool is displayed.
3 In the M ain tab, enter:
Driver name The name for your driver. The tool will create supporting
files using this string as the prefix. For example, type
testdriver.
Sample time Select one of the following:
Mask parameter If you want the block sample time to be settable
as a block dialog box parameter (Sample Time).
Inherited If you want the block to inherit its sample time from
a connected block. No Sample Time parameter is displayed in the
block d ialog box .
4 If you have input ports for the block, click the Input Ports tab.
The Inport Ports tab is disp layed.
5 Click the Add button. Enter your input port information in the following
fields. Repeat as necessary for your defined input ports.
Variable —Enterthenameoftheinput. Forexample,
speed.
7-5
Vista de página 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 110 111

Comentários a estes Manuais

Sem comentários