MATLAB XPC TARGET 4 - DEVICE DRIVERS Podręcznik Użytkownika Strona 81

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 111
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 110 111

Komentarze do niniejszej Instrukcji

Brak uwag