Component: File (RPI) (File): Difference between revisions
Appearance
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (One intermediate revision by the same user not shown) | |||
| Line 370: | Line 370: | ||
| colspan="2" | Number of simultaneous files we want to access. | | colspan="2" | Number of simultaneous files we want to access. | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Simulation | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:37, 13 July 2026
| Author | Matrix Ltd. |
| Version | 2.7 |
| Category | File |
File (RPI) component
File component allowing access to read and write files on the Raspberry Pi file system.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_File_RPI.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_File_RPI.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
AppendByteToFile
| AppendByteToFile | |
| Data | |
| Return | |
AppendStringToFile
| AppendStringToFile | |
| Data_String | |
| Return | |
CloseFile
| CloseFile | |
| Return | |
CreateFile
| CreateFile | |
| Filename | |
| Return | |
DeleteFile
| DeleteFile | |
| Filename | |
| Return | |
MoveToNextFileSector
| MoveToNextFileSector | |
| Not currently implemented on the RPI | |
| ForceNextSector | |
| Return | |
OpenFile
OpenFolder
| OpenFolder | |
| Folder_Name | |
| Return | |
ReadByteFromFile
ReadByteFromIndex
| ReadByteFromIndex | |
| Reads a byte of data from the local sector buffer. Return = Data byte read from the local sector buffer. | |
| Address | |
| Return | |
ReadFileLength
| ReadFileLength | |
| Not currently implemented on the RPI | |
| Return | |
ReadFileSize
| ReadFileSize | |
| Reads the entire size of the current file in bytes. | |
| Return | |
ReadStringFromFile
SetFileIndex
| SetFileIndex | |
| File_Index | |
| Range: 0 to 4 | |
| Return | |
WriteByteToBuffer
| WriteByteToBuffer | |
| Not currently implemented on the RPI | |
| Address | |
| Data | |
| Return | |
WriteFileSector
| WriteFileSector | |
| Not currently implemented on the RPI | |
| 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 | |