MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER User Manual Page 381

  • Download
  • Add to my manuals
  • Print
  • Page
    / 408
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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)
Page view 380
1 2 ... 376 377 378 379 380 381 382 383 384 385 386 ... 407 408

Comments to this Manuals

No comments