
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)
Commentaires sur ces manuels