Skip to content

Read Data From Table

Function Description

TIP

Read partial data from the data table

Configuration Item Description

General

Command Input

  • Data Table ObjectTDataTable: The variable returned by the 'Create Data Table' component can be used.

  • Reading MethodInteger: Choose to read data by specified row name, column name, or by specified row number, column number.

  • Reading AreaInteger: Select to read data by specified row name, column name, or by specified row number, column number.

  • Row Namestring: The default row name is the first position of each row in the data table.

  • Column Namestring: Enter the label of the data table column.

  • Row NumberInteger: The row number is a positive integer.

  • Column NumberInteger: The column number is a positive integer.

  • Specified Row Namestring: The default row name is the first position of each row in the data table.

  • Specified Column Namestring: Specified Column Name

  • Specified Row NumberInteger: The row number is a positive integer.

  • Specified Column NumberInteger: The column number is a positive integer.

  • Select AreaInteger: Advanced mode supports inputting an expression, for example: rows 1 to 10 can be entered as 1:10, multiple rows can be entered as [1,3,5], row 2 to the last row can be entered as 2:, row 2 to the second-to-last row can be entered as 2:-2, rows a to b can be entered as "a":"b", columns A to D can be entered as "A":"D".

  • Beginning Row Namestring: The default row name is the first position of each row in the data table.

  • Ending Row Namestring: The default row name is the first position of each row in the data table.

  • Beginning Column Namestring: Beginning Column Name

  • Ending Column Namestring: Ending Column Name

  • Row Name Expressionstring: The default row name is the first position of each row in the data table.

  • Column Name Expressionstring: Column Name Expression

  • Beginning Row NumberInteger: The row number is a positive integer.

  • Ending Row NumberInteger: The row number is a positive integer.

  • Beginning Column NumberInteger: The column number is a positive integer.

  • Ending Column NumberInteger: The column number is a positive integer.

  • Row Number Expressionstring: Row Number Expression

  • Column Number Expressionstring: Column Number Expression

  • Result to ListBoolean: If not checked, the reading result will be input into the dataFrame object; if checked, it will be output as a list.

  • Print Component's Output Variable ValueBoolean: After checking, the variable data or value generated by the component during operation will be output and printed to the console log.

Command Output

  • Save Read Result ToTDataTable: Save Read Result To

  • Save Read Result To (List)TList<String>: Save Read Result To (List)

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None