xPC Target | ![]() ![]() |
Using RS232 Binary Mode
To use the RS232 Binary Mode blocks, you must first insert exactly one RS232 Setup block for each COM port into your model. The setup for this block is exactly the same as it is for text-based I/O, except that you do not need Initialization or Termination structures. In the dialog box, set both these fields to the empty matrix ([]).
The RS232 Binary Mode blocks may be found in the RS232 section of the xPC Target Block Library. Use the following procedure to access these blocks:
![]() | RS232 Binary Mode I/O | RS232 Binary Receive Block | ![]() |