Main Content

Legacy Serial Read

Read input data for baseboard serial communications

  • Library:
  • Simulink Real-Time / RS232 / Mainboard

  • Legacy Serial Read block

Description

The Legacy Serial Read block reads input data for baseboard serial communications.

Ports

Output

expand all

The Output port provides the data from the serial port read.

Parameters

expand all

Select the RS232 serial port for communications. If using USB-to-serial adapters, the target computer detects these adapters as serusb1, serusb2, and so on in the order that the adapters are connected to the serial devices. The order of port assignment is retained through the power cycle of the target computer or serial device if there is no change in the connections to the ports.

Programmatic Use

port

Use this value to select the maximum word read count.

Programmatic Use

count

Use this value to select the output data type.

Programmatic Use

dtype

Use this value to select the sample time in seconds.

Programmatic Use

sampletime

Model Examples

Version History

Introduced in R2020b