ReadAllBytes

Local File and directory access File

ns=2;s=DEPRAG Smart/Local/FileAndDirectoryAccess/FileAccess/ReadAllBytes

The command reads the contents of the file into a byte array.

Parameters:

    FullPath
    Path of the file. The file can be either a local file or a file stored on a network drive.

Returns:

    ReadAllBytes
    A variable of the type OpcMethodReturnValueByteArray. The Result property contains the command-specific return values.
      Result
      The contents of the file as a byte array.

Examples:

For examples and explanations regarding the calls of nodes via Siemens TIA Portal please refer to the sub-menu "Siemens TIA Portal" in section "Getting Started".