| << Click to Display Table of Contents >> Read From File |     | 


| Configuration item | Selectable option/ Value | Description | 
| Data type | double | single | int8 | uint8 | int16 | uint16 | int32 | uint32 | Specific data type to read from file. | 
| Data count | (Number of data to read) | |
| Sample time (sec) | (Sample time) | Specify block sample time | 
This input port specify file name to open for Read. It can be:
1.1 String pointer, which from "Volatile Data Storage Read" block of variable type "String".
1.2 Vector data of uint8. Note: the data vector must contain 0 to indicate NULL terminate string, example: uint8(['file1.txt' 0])
Specify data read position of file.
0 : Do not close file after read.
non-zero : Close file after read.
0: Success, otherwise fail.
File size in bytes.
Current file position after read data.
The output data from file.