GetBytes

Tools ByteArray functions

ns=2;s=DEPRAG Smart/Utilities/ByteArrayOperations/GetBytes

Converts the specified string to a corresponding byte array.

Parameters:

    Encoding
    An enumeration specifying the character encoding to be used.

Returns:

    GetBytes
    A structure variable of type OpcMethodReturnValueByteArray, here the usual response structure is contained. The Result contains the converted byte array.
      Result
      The byte array containing the converted data.

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".