Difference between revisions of "Component: File (RPI) (File)"
From Flowcode Help
Jump to navigationJump to search(One intermediate revision by the same user not shown) | |||
Line 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
− | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_File_RPI.fcfx FC_Comp_Source_File_RPI.fcfx] |
− | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_File_RPI.fcfx FC_Comp_Source_File_RPI.fcfx] |
==Detailed description== | ==Detailed description== | ||
Line 48: | Line 48: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
+ | |||
+ | |||
Latest revision as of 10:26, 20 October 2023
Author | Matrix Ltd. |
Version | 2.7 |
Category | File |
Contents
- 1 File (RPI) component
- 2 Component Source Code
- 3 Detailed description
- 4 Examples
- 5 Macro reference
- 5.1 AppendByteToFile
- 5.2 AppendStringToFile
- 5.3 CloseFile
- 5.4 CreateFile
- 5.5 DeleteFile
- 5.6 MoveToNextFileSector
- 5.7 OpenFile
- 5.8 OpenFolder
- 5.9 ReadByteFromFile
- 5.10 ReadByteFromIndex
- 5.11 ReadFileLength
- 5.12 ReadFileSize
- 5.13 ReadStringFromFile
- 5.14 SetFileIndex
- 5.15 WriteByteToBuffer
- 5.16 WriteFileSector
- 6 Property reference
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 |