SCADA system

User Tools

Site Tools


faq27

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
faq27 [2016/08/31 04:36]
scadalaquis created
faq27 [2018/10/05 08:46] (current)
Line 1: Line 1:
-[[:start|SCADA software ​LAquis FAQ]] | [[http://​laquisscada.com|SCADA ​software]]+[[:​start|LAquis FAQ]] | [[http://​laquisscada.com|SCADA ​system]]
  
-**Question**:​ How to record just one register to the database?+**Question**:​How to customize ​database ​filter?
  
 **Answer**: **Answer**:
  
-Normally database data are recorded automatically by intervals of time in Recording column when a database is defined.+Via report:
  
-When its needed the record just one register: +Filters are automatically build on top of listing.  
-1 - Define a database at the tag sheet+They can be changed as needed.
-{{:​wiki:​image40.png}} +
-2 - Erase Recording column data of the database tags. +
-3 - In a script, for example inside an OnClick button event, type:+
  
-<​code>​ +Via Script:
-Tags.RecordNow +
-</​code>​+
  
-if you want to specify just one group of tags type Tags.RecordNow ( "​groupname"​ ) +<code vbscript>​ 
-If there is more than one database, to record just one of them independently of groups, choose a tag from that database and type Tags.RecordNow ​( "tagname" ) +LB.Filter ​( "Tag3 = 1" )
- +
-If you want to record when an tag is triggered:​ +
- +
-<​code>​ +
-if Tag1 = 1 then +
- ​Tags.RecordNow +
- Tag1 = 0 +
-end if+
 </​code>​ </​code>​
  
Line 41: Line 28:
 </​code>​ </​code>​
  
-SCADA software+SCADA system
  
  
faq27.txt · Last modified: 2018/10/05 08:46 (external edit)


Tags: SCADA system , SCADA software