18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

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.

Alarms, Events, and Trends<br />

DATA SOURCES DIALOG<br />

Accessing the dialog<br />

To access the Data Sources dialog for a specific Trend Control screen object, first access the Object Properties<br />

dialog for that screen object and then click Data Sources.<br />

The dialog in detail<br />

Data Sources dialog<br />

The data source defines the location of the values from the data point(s) associated with it. Many points can<br />

share the same data source — you do not need to create one data source for each data point.<br />

The data source tag is available by default to the Trend Control object. You can add additional data sources<br />

with the New button. The name you enter will be used as an alias to link the data points to this new data<br />

source.<br />

The other fields in this dialog allow you to edit the data source settings:<br />

• Source Type: Select the source type of the location of the data point values.<br />

• X-Axis: Enter the name of the field (column) from the data source that holds the X axis data.<br />

• Max. Buffer: The maximum amount of data (in bytes) that will be held in runtime memory.<br />

• Load Progress: The tag in this field will receive a real value (0-100) that represents the percentage of the Data<br />

Source load progress.<br />

• Sort: This option is useful for plotting data from a Text file. When enabled (checked), it sorts the data and<br />

shows the Cursor column value until the Max. Buffer is filled. When disabled (unchecked), the data are not<br />

sorted and the Cursor column value is not shown.<br />

• Keep Open: This option keeps the data source open as long as the screen that contains the Trend Control<br />

object is open. This improves the performance of the runtime project, but keeping the data source open<br />

may cause other problems like database connection errors (when Source Type is Database) and file write<br />

conflicts (when Source Type is Batch or Text File). To close the data source after the data has been loaded, clear<br />

(uncheck) this option.<br />

• Data Source Settings: Click to define the settings for the selected Source Type.<br />

The following table summarizes the settings for each Source Type:<br />

Data Source Type Description X-Axis field Data Source Settings<br />

Batch<br />

Batch generated by the Trend<br />

task of IWS<br />

Disabled. The X-Axis data will<br />

be retrieved automatically on<br />

the correct position from the<br />

proprietary Batch file generated<br />

by IWS.<br />

Enter the data point values in Batch Name for their retrieval. You<br />

can configure a tag between curly brackets in this field to change<br />

this setting dynamically during runtime.<br />

Page 282<br />

<strong>InduSoft</strong> Web Studio

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

Saved successfully!

Ooh no, something went wrong!