Difference between revisions of "Component: File (RPI) (File)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd. |- | width="20%" style="color:gray;" | Version | 2.7 |- | width="20%" style="color:gra...") |
|||
| Line 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
''No detailed description exists yet for this component'' | ''No detailed description exists yet for this component'' | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| − | == | + | ==Macro reference== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
Revision as of 14:11, 20 January 2023
| 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
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 | |