MATLAB XPC TARGET 4 - DEVICE DRIVERS Specifiche Pagina 64

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 653
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 63
2 RS232 I/O Support
2-34
RS-232 Receive Message Structure
(
Asynchronous)
Below are descriptions of the possible message fields for the receive message
Structures with synchronous mode.
Message
Fields
Description
RecData Data and format received from the RS-232 device. Default
value =
’’. The format of this statement is very similar to a
scanf statement. The read data is mapped to the output
ports defined in the message field
.OutputPorts. If a
negative output port is given, the data is read in but not sent
to any output port
OutputPort
s
Number of output ports from the driver block. Data received
from a RS-232 device is sent to the output ports with the
message field
.ReceiveData. Default value = []. The
highest number you enter determines the number of output
ports on the driver block.
For example, to use output ports 1 and 2 on the driver block.
RS232_Send_Receive.OutputPorts = [1 2];
Timeout Time, in seconds, the driver block waits for data to be
returned. Default value =
0.049.
EOM End of message character.
Vedere la pagina 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 652 653

Commenti su questo manuale

Nessun commento