I_BA_TabFileWriter

Interface for writing data records in tabular format.

Syntax

INTERFACE I_BA_TabFileWriter
  PROPERTY BufferReady : BOOL (Read)
  PROPERTY Fields : UDINT (Read)
  PROPERTY Records : UDINT (Read)
  PROPERTY RemainingBytes : UDINT (Read)
  PROPERTY WrittenBytes : UDINT (Read)
  METHOD WriteField
  METHOD WriteLine
END_INTERFACE

I_BA_TabFileWriter 1: Properties

Name

Type

Access

Description

BufferReady

BOOL

Get

Indicates whether the write buffer is ready.

Fields

UDINT

Get

Indicates how many fields have been written to the current document so far.

Records

UDINT

Get

Indicates how many records have been written to the current document so far.

RemainingBytes

UDINT

Get

Current number of bytes remaining in the write buffer.

WrittenBytes

UDINT

Get

The number of bytes written to the current document so far.

I_BA_TabFileWriter 2: Methods

Name

Description

WriteField

Writes a field to the current row.

WriteLine

Ends the current line.