Skip to main content
Skip table of contents

flange_serial_write(tx_data)

Features

This function records the data (data) to a flange serial port.

Parameters

Parameter NameData TypeDefault ValueDescription

tx_data

byte

-

Data to be transmitted (max 32byte)

  • The data type must be a byte.
  • Refer to the example below.

Return

ValueDescription

0

Success

Exception

ExceptionDescription

DR_Error (DR_ERROR_TYPE)

Parameter data type error occurred

DR_Error (DR_ERROR_VALUE)

Parameter value is invalid

DR_Error (DR_ERROR_RUNTIME)

C extension module error occurred

DR_Error (DR_ERROR_STOP)

Program terminated forcefully

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.