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

  • 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 380
Using Control Pins
8-61
Example: Using Software Handshaking
Suppose you want to use software flow control with the example described in
“Example: Reading Binary Data” on page 8-45. To do this, you must configure
the oscilloscope and serial port object for software flow control.
fprintf(s,'RS232:SOFTF ON')
s.FlowControl = 'software';
To pause data transfer, you write the numerical value 19 to the device.
fwrite(s,19)
To resume data transfer, you write the numerical value 17 to the device.
fwrite(s,17)
Vue de la page 380
1 2 ... 376 377 378 379 380 381 382 383 384 385 386 ... 407 408

Commentaires sur ces manuels

Pas de commentaire