Component: File (RPI) (File)
From Flowcode Help
Jump to navigationJump to search
| Author | Matrix Ltd. |
| Version | 2.7 |
| Category | File |
Contents
File (RPI) component
File component allowing access to read and write files on the Raspberry Pi file system.
Component Source Code
Please click here for the component source code: FC_Comp_Source_File_RPI.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
| MoveToNextFileSector | |
| Not currently implemented on the RPI | |
| ForceNextSector | |
| Return | |
| WriteByteToBuffer | |
| Not currently implemented on the RPI | |
| Address | |
| Data | |
| Return | |
| AppendByteToFile | |
| Data | |
| Return | |
| CloseFile | |
| Return | |
| ReadByteFromIndex | |
| Reads a byte of data from the local sector buffer. Return = Data byte read from the local sector buffer. | |
| Address | |
| Return | |
| DeleteFile | |
| Filename | |
| Return | |
| CreateFile | |
| Filename | |
| Return | |
| OpenFolder | |
| Folder_Name | |
| Return | |
| ReadFileLength | |
| Not currently implemented on the RPI | |
| Return | |
| WriteFileSector | |
| Not currently implemented on the RPI | |
| Return | |
| SetFileIndex | |
| File_Index | |
| Range: 0 to 4 | |
| Return | |
| AppendStringToFile | |
| Data_String | |
| Return | |
| ReadFileSize | |
| Reads the entire size of the current file in bytes. | |
| Return | |
Property reference
| Properties | |
| Root Folder | |
| Root location on the RPI where the files will be stored | |
| File Count | |
| Number of simultaneous files we want to access. | |
| Simulation | |
| Sim Root Folder | |