Component: File (RPI) (File): Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 48: | Line 48: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| Line 53: | Line 55: | ||
==Macro reference== | ==Macro reference== | ||
===ReadStringFromFile=== | |||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 76: | Line 79: | ||
===MoveToNextFileSector=== | |||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 94: | Line 98: | ||
===WriteByteToBuffer=== | |||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 117: | Line 122: | ||
===AppendByteToFile=== | |||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 135: | Line 141: | ||
===CloseFile=== | |||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 148: | Line 155: | ||
===ReadByteFromFile=== | |||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 161: | Line 169: | ||
===ReadByteFromIndex=== | |||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 179: | Line 188: | ||
===DeleteFile=== | |||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 197: | Line 207: | ||
===CreateFile=== | |||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 215: | Line 226: | ||
===OpenFolder=== | |||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 233: | Line 245: | ||
===ReadFileLength=== | |||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 246: | Line 259: | ||
===OpenFile=== | |||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 264: | Line 278: | ||
===WriteFileSector=== | |||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 277: | Line 292: | ||
===SetFileIndex=== | |||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 295: | Line 311: | ||
===AppendStringToFile=== | |||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 313: | Line 330: | ||
===ReadFileSize=== | |||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Revision as of 11:49, 3 February 2023
| 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
ReadStringFromFile
MoveToNextFileSector
| MoveToNextFileSector | |
| Not currently implemented on the RPI | |
| ForceNextSector | |
| Return | |
WriteByteToBuffer
| WriteByteToBuffer | |
| Not currently implemented on the RPI | |
| Address | |
| Data | |
| Return | |
AppendByteToFile
| AppendByteToFile | |
| Data | |
| Return | |
CloseFile
| CloseFile | |
| 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 | |
DeleteFile
| DeleteFile | |
| Filename | |
| Return | |
CreateFile
| CreateFile | |
| Filename | |
| Return | |
OpenFolder
| OpenFolder | |
| Folder_Name | |
| Return | |
ReadFileLength
| ReadFileLength | |
| Not currently implemented on the RPI | |
| Return | |
OpenFile
WriteFileSector
| WriteFileSector | |
| Not currently implemented on the RPI | |
| Return | |
SetFileIndex
| SetFileIndex | |
| File_Index | |
| Range: 0 to 4 | |
| Return | |
AppendStringToFile
| AppendStringToFile | |
| Data_String | |
| Return | |
ReadFileSize
| 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 | |