Raptor:Data Logging File Open

From NewEagleWiki
Jump to navigation Jump to search

Return to the main Raptor page

Return to File IO page

Raptor™ Data Logging File Open

Description

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.

Inputs

Input Type Description
Path String Specifies the path of the file to open.

Outputs

Output Type Description
File Handle File Handle Outputs a File Handle for the file opened.
Success boolean Output indicates if the file was successfully opened.

Parameters

Parameter Type Description
Resource Specify the resource which contains the file to open.
Mode Specify the file I/O mode to open the file with: Read Only, Write Only - Overwrite, Read/Write - Update, or Read/Write - Overwrite.