从串行端口读取 |
“从串行端口读取”操作会为接收数据将 Integration Service 定向为串行端口读取。
You can configure the following properties for the Read from Serial Port action:
操作
名称: 指定操作的名称。 如果需要,可以通过在字段中键入新名称来替换默认名称。
描述: 用于保存操作的描述。
Run Action: 用于指定希望运行操作的频率。
始终: 指定 Integration Service 将在每次运行集成时运行操作。
从不: 指定 Integration Service 将不会在运行集成时运行操作。
Conditionally, based on variable: Specifies that the Integration Service will run the action only when a selected variable meets a specified condition. 在仅有一个条件可以确定是否运行操作的情况下才可使用此选项。 只要启用了此选项,就可以在提供的输入框中创建条件语句。
根据表达式,在一定条件下: Specifies the conditions under which the Integration Service will run the action. 此选项在需要不只一个条件语句的情况下使用。 只要启用了此选项,就可以通过创建所需的条件语句在提供的输入框中创建条件表达式。 You create and edit your conditional expression on the Tree View tab. Click the Text View tab to see a read-only text view of the conditional expression.
端口
使用在集成中指定的端口: Specifies that the data is read from the same port as the one that is specified by the parent serial port integration. Available only when the parent integration is a serial port integration.
端口: 指定 Integration Service 将会读取的端口。 Specifying the port is necessary when the parent integration is something other than a serial port integration or when you need the data to be read from a port that is other than the one that is specified by the parent serial port integration.
通信设置
Bits per second: 串行链接的速度,以每秒位数为单位。
Data bits: 指定串行通信的数据位数。
奇偶校验: 指定串行通信的奇偶校验。
Stop bits: 指定串行通信的停止位。
Flow control: 指定串行通信的流控制设置。
数据选项
编码: 指定用于编码正在读取的消息的方法。
Stop Reading When: 指定 Integration Service 停止读取消息的时间。
Sequence of Characters is Received: 在接收到特定顺序的字符后,将 Integration Service 定向为停止读取消息。
字符: 指定指示 Integration Service 停止读取消息的一系列字符。
Include sequence in input data contents: 指定指示的一系列字符作为数据内容的一部分读取。
Number of Characters is Received: 在接收到特定数量的字符后,将 Integration Service 定向为停止读取消息。
字符: 指定 Integration Service 将会在消息中接收的最大数量的字符。
Port Becomes Idle: 在端口空闲指定时间段之后,将 Integration Service 定向为停止读取消息。
等待时间: 指定在 Integration Service 停止读取消息之前,端口可以空闲的时间量。
Content Type: 数据内容类型。 Integration Service 根据此格式处理消息的内容。
Data is contained in a SOAP message: When enabled, the Integration Service expects the data to be contained in a SOAP message.
输出
Save input data to variable: 指定希望保存操作输入的变量。 输入所需变量。 或者,可以添加一个变量。
Test Read from Serial Port
测试: 运行操作。 The Message pane displays information on the success or failure of the action.
|
Clicking the Test button executes the action only and does not run the integration. 因此,操作将会在不使用曾经可能配置为使用的集成中的任何数据的情况下运行。 For information on testing your integration, refer to Using the Test Pane. |
用户帐户
Inherit from parent action: When enabled, the action inherits the user account credentials specified on the Actions property page. Alternatively, if the action is part of a Group action, it will inherit the user account credentials specified on the immediate parent Group action’s property page.
指定用户凭据: 启用此选项后,会使用指定的凭据运行操作。
错误处理和诊断
Ignore errors and continue running actions: 启用此选项后,指定如果操作失败,那么会继续运行其余操作。
|
如果未启用此属性,并且操作失败,那么产生的行为取决于以下方案:
If the selected action is within a Group action, no actions outside of that Group action are affected. |
Retry if failed: 启用此选项后,指定如果操作失败,那么 Integration Service 会尝试再次运行操作。
Maximum retries: 指定 Integration Service 将会再次尝试运行操作的最大次数。 Available when Retry if failed is enabled.
Retry interval: 指定 Integration Service 将在操作失败后,尝试再次运行操作之前等待的最大时间。 Available when Retry if failed is enabled.