MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Bedienungsanleitung Seite 381

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 408
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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)
Seitenansicht 380
1 2 ... 376 377 378 379 380 381 382 383 384 385 386 ... 407 408

Kommentare zu diesen Handbüchern

Keine Kommentare