Legacy Serial Read
Read input data for baseboard serial communications
Simulink Real-Time / RS232 / Mainboard
The Legacy Serial Read block reads input data for baseboard serial communications.
Output — Data from serial port read
The Output port provides the data from the serial port read.
Serial port — Select serial port
Legacy Serial Port 1 (default) | .. |
Legacy Serial Port 8 |
USB Serial Port 1 | .. |
USB Serial Port 8
Select the RS232 serial port for communications. If using USB-to-serial adapters,
the target computer detects these adapters as
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
Max Read Count — Select maximum word read count
51 (default) | int
Use this value to select the maximum word read count.
Output Datatype — Select output data type
8 bit uint null terminated (default) |
8 bit int null terminated |
count+16 bit uint |
count+16 bit int |
count+32 bit uint |
count+32 bit int
Use this value to select the output data type.
SampleTime — Select sample time in seconds
.01 (default) | double
Use this value to select the sample time in seconds.