Configuration File for Reading Data by Event

<< Click to Display Table of Contents >>

 

Configuration File for Reading Data by Event

To edit a configuration file for reading data by event, click Table Config File on the APR03 tab. In this file, users can define the addresses of variables and pointers to control the reading of data tables, as well as the format of each table. The fields that must be defined in this file are described on the next table.

Fields of a configuration file

Field

Description

RECORD POINTER ADDRESS

Value of the recording pointer's address, in decimal

TABLE STATUS ADDRESS

Value of the table's status address, in decimal

ACQUISITION STATUS ADDRESS

Value of the acquisition's status address, in decimal

TABLE

Number of a table format to define, between 0 (zero) and 65535. There is no need to use a colon between the keyword and the number

REGISTERS

Maximum number of records or structures a table must support in its buffer. This value define the size of a circular buffer reserved for a table

START ADDRESS

Initial address of a table, in decimal, in which the circular buffer reserved for a table starts

PACKET SIZE

Maximum size of a data block that can be transferred at each communication with a device, in bytes. This value depends on the device used. The larger, the less communication is needed to read all data

STRUCT

Defines a structure for each record of a table. Its members must be defined by integer values equivalent to data types interpreted by this Driver

 

Users can add comment lines to a file by using the // characters, according to the pattern used by the C language. The topic Reading Data by Event analyzes this feature in details.

Was this page useful?