MATLAB XPC TARGET 4 - DEVICE DRIVERS Specifiche Pagina 42

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 653
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 41
2 RS232 I/O Support
2-12
8 Click OK. The Block Parameters dialog box closes.
9 Double-click the RS-232 Send/Receive block. The Block Parameters dialog
box opens.
10 From the Port list, choose either COM1 or COM2. For this example, choose
COM1. In the Message StructName box, enter the name for the MATLAB
structure this block uses to send messages to the COM1 port. In the
Sample
Time
box, enter the sample time or a multiple of the sample time you
entered in the Receive block.
You
Block Parameter dialog box should look similar to the figure shown
below.
For information on entering the block parameters, see “RS-232 Send/Receive
Block (Synchronous)” on page 2-29. For the procedure to create the send/
receive structure, see “RS-232 MATLAB Structure Reference” on page 2-31.
11 Click OK. The Block Parameters dialog box closes.
Vedere la pagina 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 652 653

Commenti su questo manuale

Nessun commento