flange_serial_read(timeout=None)
Features
This function reads the data from a flange serial port.
Return
Value | Description |
---|---|
res | Number of bytes of the received data |
rx_data | Number of bytes read (byte type) |
Exception
Exception | Description |
---|---|
DR_Error (DR_ERROR_TYPE) | Parameter data type error occurred |
DR_Error (DR_ERROR_RUNTIME) | C extension module error occurred |
DR_Error (DR_ERROR_STOP) | Program terminated forcefully |