MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manuel d'utilisateur Page 357

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 408
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 356
Writing and Reading Data
8-37
The functions associated with reading data are given below.
The properties associated with reading data are given below.
Table 8-7: Functions Associated with Reading Data
Function Name Description
fgetl
Read one line of text from the device and discard the
terminator
fgets Read one line of text from the device and include the
terminator
fread Read binary data from the device
fscanf Read data from the device, and format as text
readasync Read data asynchronously from the device
stopasync Stop asynchronous read and write operations
Table 8-8: Properties Associated with Reading Data
Property Name Description
BytesAvailable
Indicate the number of bytes available in the input
buffer
InputBufferSize Specify the size of the input buffer in bytes
ReadAsyncMode
Specify whether an asynchronous read operation is
continuous or manual
Timeout
Specify the waiting time to complete a read or write
operation
TransferStatus
Indicate if an asynchronous read or write operation
is in progress
ValuesReceived Indicate the total number of values read from the
device
Vue de la page 356
1 2 ... 352 353 354 355 356 357 358 359 360 361 362 ... 407 408

Commentaires sur ces manuels

Pas de commentaire