18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Tags and the Project Database<br />

Changing How Boolean Tags Receive Numeric Values<br />

By default, if any numeric value other than 0 (i.e., ≠0) is written to a Boolean tag, then the tag automatically<br />

assumes a value of 1. You can change this behavior, if necessary, by editing the project_name.app file to<br />

change the following setting:<br />

[Options]<br />

BooleanTrueAboveZero=value<br />

If BooleanTrueAboveZero is set to the default 0, then the project will behave as described above. If<br />

BooleanTrueAboveZero is set to 1, then the project will behave as follows:<br />

• When you write any numeric value less than or equal to 0 (i.e., ≤0) to a Boolean tag, the tag assumes a<br />

value of 0 (false).<br />

• When you write any numeric value greater than 0 (i.e., >0) to a Boolean tag, the tag assumes a value of 1<br />

(true).<br />

Caution: This is a global runtime setting. If you only want to change how certain tags are handled,<br />

then you should not change this setting.<br />

Choosing the Tag Scope<br />

IWS allows you to decide whether a tag "lives" on the project server or on each local station:<br />

• Server (default): The tag is maintained on the project server and it's shared by all connected clients (e.g.,<br />

Thin Client, Secure Viewer). A change to the tag value affects the entire project.<br />

• Local: A virtual copy of the tag is maintained separately on each local station (server + clients), and a<br />

change to the tag value affects only the station on which the change was made.<br />

Page 118<br />

<strong>InduSoft</strong> Web Studio

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!