User Tools

Site Tools


wiki:faq5

SCADA software LAquis FAQ | SCADA software

Question: How to find specific data in database?

Answer:

Via script, inside an event type:

s = LB.GetDatabaseField (  "response field", "database name", "specified field", "value" )

Returns a response field in a database that matches the specified field to the value.

Example, returns to Tag1 the field text where field ID is ID tag:

Tag1 = LB.GetDatabaseField (  "Text", "TEST.LB", "ID", ID )

In report, you can use =FIELD formula. =FIELD(field name; id value; date; database; id field; extra filter)

SCADA software

wiki/faq5.txt · Last modified: 2016/08/31 20:34 by scadalaquis

Page Tools


Tags: SCADA software , SCADA systems.