17.04.2014 Views

InduSoft Web Studio - InduSoft Corporation

InduSoft Web Studio - InduSoft Corporation

InduSoft Web Studio - InduSoft Corporation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>InduSoft</strong> <strong>Web</strong> <strong>Studio</strong><br />

Tutorial training – Revision B – Sep/10/2000<br />

© Copyright <strong>InduSoft</strong> Ltd. 2000<br />

all three tanks. We need to configure the Application Datasheet as follows (in order to fill in the<br />

field, click on the field and type the data; you can also tab to the next field):<br />

Note: We are only using two lines in the database to configure six tags. Arrays reduce the time<br />

spent configuring the database. Also, arrays allow us to configure functions and scripts that can<br />

optimize the overall application.<br />

We have configured the tags that will receive the state of each valve. Now, we need to configure<br />

the tags that will be used to send commands to the host controller. These tags have the same<br />

number of states and other characteristics of the previously configured tags:<br />

Finally, we need to create tags to store the properties associated with the tanks: temperature, level<br />

and pressure. These attributes are associated with one piece of equipment, a tank. We will use a<br />

tag class to tie all these properties together and associate them to a tank. To create a new class,<br />

select the folder Classes (in the Database tab), right-click it, and select Insert Class.<br />

In the dialog box, type in the new class name, CTank and click the OK button.<br />

In the Application Tags database worksheet, we will reference the properties of the tank by using<br />

tags of Type Class: CTank. Each tank property is defined as a member of the class CTank and each<br />

is defined similarly to a tag with a Type parameter: Boolean, Integer, Real, or String. All of the tank<br />

property class members are analog; so declare them to be real:<br />

Page 28

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

Saved successfully!

Ooh no, something went wrong!