Download User Manual

Transcript
13-2
Databases
Example 3: Load measurement and test tasks
Before a component is tested, the steps of the test process and the associated set
values are read from a database. This allows a number of test stations to be centrally
managed.
Example 4: Store measurements and test results
When a component has been tested, the test results (e.g. mean values, deviations etc.)
are written into the database. It is possible to perform an additional synchronisation
of the data sets with the archived measurement data.
13.2.1.
Interfaces and Access Procedures
You can create new MS Access databases in ARGUS, and establish links to existing
DAO and OBDC databases. The individual columns in the database tables can be
linked to channels, so that it is possible to exchange data between the channels and
the database. When you create a database to which ARGUS is to be linked it is
helpful to include a column named InternalTime in every table. ARGUS can then use
this column to save time information when writing into the table or to fetch that time
information when reading from the table.
The exchange of data between the table of a user database and the channels is
performed by actions that are triggered by events.
The ODBC administrator must be set up beforehand for ODBC databases. MS
Access and other DAO databases can be accessed directly.
13.2.2.
Configuring a User Database
ARGUS can create user databases itself, or can access databases that have already
been configured.
Once a database has been opened, it appears with all its tables and fields in the
ARGUS configuration tree. Data fields can be linked here to measuring channels or
manual entries. When a configured event occurs, the corresponding values are passed
to the database.
Reading and writing database entries is initiated by freely definable events,
configured in the associated action list.
The time relationship between the database entry and the measurement file for the
associated archive can be configured in the properties dialog for the database table.