发送到串行端口 |
“发送到串行端口”操作会将数据写入到串行端口中。
You can configure the following properties for the Send to 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 will be sent back by using 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.
端口: 指定将会发送回数据的端口。 指定在父集成方法是其他方法而不是“串行端口”集成时,或在需要从端口而不是由父“串行端口”集成指定的位置发送回数据时,必须使用端口。
通信设置
Bits per second: 串行链接的速度,以每秒位数为单位。
Data bits: 指定串行通信的数据位数。
奇偶校验: 指定串行通信的奇偶校验。
Stop bits: 指定串行通信的停止位。
Flow control: 指定串行通信的流控制设置。
数据选项
编码: 指定发送数据时使用的编码。
消息
来源: 为将要发送的消息指定来源类型。
值: 使用提供的输入框输入想要操作使用的数据。 Alternatively, you can add a variable to specify the data, or add a special character to the value you have entered.
导入: 打开“打开文件”对话框以便浏览到包含所需数据的文件,并将其选中。 系统会将该文件的内容导入到“值”输入框中。
导出: 打开“保存文件”对话框以便将“值”输入框中的内容另存为外部文件。 可以将值另存为新文件或替换现有文件的内容。
变量:
变量: 键入指定想要为来源使用的变量。 或者,可以添加一个变量。
外部文件:
位置: 指定源文件夹所在的文件系统。 File systems or locations can include local file systems or network shares, Librarian, or a supported cloud storage location. For more information about supported cloud storage locations, see Administration Console's
文件名: 指定文件路径。 可以键入文件夹位置和文件名称,或单击“浏览”以找到所需的文件并选中。 Alternatively, you can add a variable to specify the desired file, or add a special character to the value you have entered.
文件编码: 指定源文件使用的编码。
测试发送到串行端口
测试: 运行操作。 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.