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 />

After creating a tag, you can use it anywhere within the project, and you can use the same tag for more than<br />

one object or attribute.<br />

Project Tags Folder<br />

The Project Tags folder contains all tags created and customized by the user. You can create project tags for<br />

displays, to read from and write to field equipment, for control, to perform mathematical calculations, and so<br />

forth.<br />

To update a list of project tags, right-click on the Project Tags folder (or Datasheet View icon ) and select the<br />

Refresh option.<br />

Important: Before deleting a tag, we strongly recommend using the Object Finder tool (on the<br />

Home tab of the ribbon) to verify that you are not using the tag in another part of the project<br />

(screens, math sheets, so forth). If you delete a tag from the project database that is being used in<br />

another part of the project, you will cause a compiling error and the project will function poorly.<br />

To create a new tag, right-click on the Project Tags folder, the Tag List sub-folder, or Datasheet View icon and<br />

select Insert Tag from the shortcut menu. You also can click Tag on the Insert tab of the ribbon.<br />

The New Tag dialog displays, as shown in the following figure:<br />

Use this dialog to specify the following parameters:<br />

New Tag dialog<br />

• Name field: Type a name for the new tag. The first character must be a letter and you can use up to 255<br />

characters in the name.<br />

• Array Size field: Type a value to specify the size of the tag. Any size greater than 0 implies that the tag is an<br />

array.<br />

• Type combo-box: Select a standard tag type from the list (Boolean, Integer, Real, or String). You also can define<br />

new types as structures formed by the classes.<br />

• Description text box: Type a tag description for documentation purposes.<br />

• Scope combo-box: Click to select one of the following options:<br />

• Local: Select if you do not want to share the information in this tag over the Internet.<br />

• Server. Select if you want to share the information in this tag over the Internet.<br />

These options have no affect on projects that do not have Web capabilities. If you select a Scope option for a<br />

project with Web capabilities, then any object property using the Local tag will not work properly over the<br />

Web.<br />

Note: You must create unique tag names. You cannot create a tag that uses the name of an existing<br />

tag.<br />

You can view or edit the properties of a tag from either of the following dialoges:<br />

• Tag Property dialog: Click Properties on the Home tab of the ribbon when the tag name displays in the Tag<br />

name field or double-click on the tag name in the Tag List subfolder located in the Project Tags folder.<br />

Page 110<br />

<strong>InduSoft</strong> Web Studio

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

Saved successfully!

Ooh no, something went wrong!