Filehandling Nodes
Use these nodes to access the file system of your microcontroller.
Proc Nodes
file open
opens the file and gives the file pointer for file operations.
Inputs
- File Name : Specify the name of the file to open
- File Open Type : Select the mode in which the file should be opened
Outputs
- File Pointer : pointer to the file
file close
closes the file.
Inputs
- File Pointer : Provide the file pointer
file rename
renames the file.
Inputs
- File Name : Specify the name of the file to rename
- New File Name : Specify the new name for the file
file remove
remove/delete the file from the storage.
Inputs
- File Name : Specify the name of the file to remove
file write
write the date inside the file.
Inputs
- File Pointer : Provide the file pointer
- Write Data : Provide the data to write to the file
- Flush Data : Whether to flush the data as it is written
- Update Position : Whether to update the file pointer position after writing data
- Position : Select the position of the file pointer after the write is done
- Offset : Specify the offset value for the file pointer
file read
read the data from the file.
Inputs
- File Pointer : Provide the file pointer
- Read Type : Select the file pointer position to be read from
- No of Read Bytes : Specify the number of bytes to be read
- Update Position : Whether to update the position of the file pointer after reading the data
- Position : Select the position of the file pointer after the read is done
- Offset : Specify the offset value for the file pointer
Outputs
- Read Data : Data
file get cursor position
gives the position of the cursor in the file.
Inputs
- File Pointer : Provide the file pointer
Outputs
- Position : Position of the file cursor
file set position
sets the cursor at given positon in the file.
Inputs
- File Pointer : Provide the file pointer
- Position : Select the position of the file cursor
- Offset : Specify the offset value for the file pointer