MATLAB XPC TARGET 4 - DEVICE DRIVERS Uživatelská příručka Strana 81

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 111
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 110 111

Komentáře k této Příručce

Žádné komentáře