Raptor-Dev-Data-Logging-Library: Difference between revisions
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
|- | |- | ||
!File Close | !File Close | ||
| <p></p> | | <p>This block closes and opens a file and flushes all data written to the file system. All files should be closed before the module powers off to ensure data is not lost.</p> | ||
| [[file:FileClose.jpg|frameless|border|File Close block|center]] | | [[file:FileClose.jpg|frameless|border|File Close block|center]] | ||
|- | |- | ||
!File EOF | !File EOF | ||
| <p></p> | | <p>This block is used to determine if the current file position is at the end of the file.</p> | ||
| [[file:RaptorFileEOF.jpg|frameless|border|File EOF block|center]] | | [[file:RaptorFileEOF.jpg|frameless|border|File EOF block|center]] | ||
|- | |- | ||
!File Exists | !File Exists | ||
| <p></p> | | <p>This block can be used to detect if a file exists on the specified resource.</p> | ||
| [[file:FileExists.jpg|frameless|border|File Exists block|center]] | | [[file:FileExists.jpg|frameless|border|File Exists block|center]] | ||
|- | |- | ||
!File Get Free Space | !File Get Free Space | ||
| <p></p> | | <p>This block returns the free space on the specified resource.</p> | ||
| [[file:RaptorFile Get Free Space.jpg|frameless|border|File Get Free Space block|center]] | | [[file:RaptorFile Get Free Space.jpg|frameless|border|File Get Free Space block|center]] | ||
|- | |- | ||
!Open File | !Open File | ||
| <p></p> | | <p>This block opens a file for read and/or write. It outputs a file handle which is used with other blocks to read, write, and seek within the file.</p> | ||
| [[file:OpenFile.jpg|frameless|border|Open File block|center]] | | [[file:OpenFile.jpg|frameless|border|Open File block|center]] | ||
|- | |- | ||
!File Position | !File Position | ||
| <p></p> | | <p>This block is used to get the current file position measured in bytes from the start of the file.</p> | ||
| [[file:FilePosition.jpg|frameless|border|File Position block|center]] | | [[file:FilePosition.jpg|frameless|border|File Position block|center]] | ||
|- | |- |
Revision as of 13:53, 7 April 2015
New Eagle > Products Wiki > Raptor Platform > Raptor-Dev > Raptor-Dev Data Logging Library
The blocks in this subsystem...
Blocks
Block | Description | Appearance |
---|---|---|
Erase |
This block is used to erase a value from the data log. |
|
Read |
This block is used to read a value from the data log. |
|
Write |
This block is used to write a value to the data log. |
|
USB Eject | When this block executes, all pending data to the USB drive is stored and the drive can be safely unmounted. |
|
USB Status | This block shows the current status of the USB drive. |
|
File Close | This block closes and opens a file and flushes all data written to the file system. All files should be closed before the module powers off to ensure data is not lost. |
|
File EOF | This block is used to determine if the current file position is at the end of the file. |
|
File Exists | This block can be used to detect if a file exists on the specified resource. |
|
File Get Free Space | This block returns the free space on the specified resource. |
|
Open File | This block opens a file for read and/or write. It outputs a file handle which is used with other blocks to read, write, and seek within the file. |
|
File Position | This block is used to get the current file position measured in bytes from the start of the file. |
|
Read File | ||
Remove File | ||
Rename File | ||
Seek File | ||
File Size | ||
File Sync | ||
Write File |