MATLAB XPC TARGET 4 - DEVICE DRIVERS Specifikace Strana 31

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 653
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 30
2
RS232 I/O Support
Introduction to RS-232 Drivers . . . . . . . . . . . . 3
Hardware Connections for RS-232 . . . . . . . . . . . . . 3
Simulink Blocks for RS-232 . . . . . . . . . . . . . . . 4
MATLAB Message Structures for RS-232 . . . . . . . . . . 4
Host and Target PC Communication . . . . . . . . . . . . 5
RS-232 Synchronous Mode . . . . . . . . . . . . . . 7
Adding RS-232 Driver Blocks (Synchronous) . . . . . . . . 8
Creating RS-232 Message Structures (Synchronous) . . . . .13
RS-232 Asynchronous Mode . . . . . . . . . . . . . 16
Adding RS-232 Driver Blocks (Asynchronous) . . . . . . . .16
Creating RS-232 Message Structures (Asynchronous) . . . . .22
Building and Running the Target Application (Asynchronous) .25
RS-232 Simulink Block Reference . . . . . . . . . . . 27
RS-232 Setup Block . . . . . . . . . . . . . . . . . . .27
RS-232 Send/Receive Block (Synchronous) . . . . . . . . .28
RS-232 Send Block (Asynchronous) . . . . . . . . . . . .29
RS-232 Receive Block (Asynchronous) . . . . . . . . . . .29
RS-232 MATLAB Structure Reference . . . . . . . . . 30
RS-232 Initialization and Termination Message Structures
(Synchronous and Asynchronous) . . . . . . . . . . .30
RS-232 Send/Receive Message Structure (Synchronous) . . . .31
RS-232 Send Message Structure (Asynchronous) . . . . . . .32
RS-232 Receive Message Structure (Asynchronous) . . . . . .32
Supported Data Types for Message Fields . . . . . . . . .33
Zobrazit stránku 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 652 653

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

Žádné komentáře