Skip to content

Read CSV Data

Function Description

TIP

Read the content of a CSV file

Configuration Item Description

General

Command Input

  • CSV File Pathstring: Enter the path to the CSV file

  • File EncodingInteger: Select the text encoding format, UTF-8-SIG is UTF-8 with BOM

  • Content DelimiterInteger: Select the content delimiter, default is comma

  • First Row is Column HeaderBoolean: Is the first row of the CSV file a column header?

  • Preview in Data TableBoolean: Preview in Data Table

Command Output

  • Save Data Table ToTDataTable: Specify a variable to save the read data table

Advanced

  • Delay Before(milliseconds)Integer: The waiting time before instruction execution

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