Actions YAML Reference
|
Reads from a serial port for incoming data. More...
Inherits ReadWriteSerialPortActionBase, and IYamlConvertibleExt.
Properties | |
StreamDataEvent | StopReadingWhen [get, set] |
Specifies the event that causes the action to stop reading. More... | |
ContentDataType | InputDataType [get, set] |
Specifies the input data type and how to process the data that is read. The following options are available: More... | |
bool | DataInSoapMessage [get, set] |
Specifies whether data is contained in a SOAP message. The default value is false. More... | |
string | DataContentVariable [get, set] |
Specifies the name of the variable to save input data to. More... | |
SerialInterfacePort | Port [get, set] |
Specifies a serial COM port and its settings, as follows: More... | |
ActionTextEncoding | Encoding [get, set] |
Specifies the text encoding scheme of the input or output message. For more information, see ActionTextEncoding. The default value is UnicodeUTF8. More... | |
CommonActionProperties | |
Describes the common action properties for Actions and ActionGroups. | |
string | Name [get, set] |
Specifies the name. This property cannot be empty and must be unique in the YAML script. More... | |
string | Description [get, set] |
Specifies the description. The default value is "". More... | |
ActionRunType | RunType [get, set] |
Runs the action by using one of the following types: More... | |
bool | IgnoreErrors [get, set] |
Specifies whether to ignore errors and continue with the next action. Valid only for Action and ActionGroup. The default value is false. More... | |
int | FailureRetries [get, set] |
Specifies the number of times that the action is retried if it fails. Available only for Action. The default value is 0. More... | |
int | RetryInterval [get, set] |
Specifies the interval, in milliseconds, that elapses when a failed action is retried. Valid only when the value of FailureRetries is greater than 0. Available only for Action. The default value is 10000. More... | |
Reads from a serial port for incoming data.
For common action properties, see IntegrationAction. Example:
|
getset |
Specifies the event that causes the action to stop reading.
Example of the "Sequence of characters is received" event:
Example of the "Number of characters is received" event:
Example of the default "Port becomes idle" event:
|
getset |
Specifies the input data type and how to process the data that is read. The following options are available:
XmlVariables
|
getset |
Specifies whether data is contained in a SOAP message. The default value is false.
|
getset |
Specifies the name of the variable to save input data to.
|
getsetinherited |
Specifies a serial COM port and its settings, as follows:
Example:
|
getsetinherited |
Specifies the text encoding scheme of the input or output message. For more information, see ActionTextEncoding. The default value is UnicodeUTF8.
|
getsetinherited |
Specifies the name. This property cannot be empty and must be unique in the YAML script.
|
getsetinherited |
Specifies the description. The default value is "".
|
getsetinherited |
Runs the action by using one of the following types:
|
getsetinherited |
Specifies whether to ignore errors and continue with the next action. Valid only for Action and ActionGroup. The default value is false.
|
getsetinherited |
Specifies the number of times that the action is retried if it fails. Available only for Action. The default value is 0.
|
getsetinherited |
Specifies the interval, in milliseconds, that elapses when a failed action is retried. Valid only when the value of FailureRetries is greater than 0. Available only for Action. The default value is 10000.