LoadTargetRegionFromFile
- Last UpdatedNov 17, 2021
- 1 minute read
This method sets a target region for the currently selected tag based on values read from a CSV file. It replaces any existing target region that may already be defined for the tag.
Syntax
[Result=] aaHistClientTrend.LoadTargetRegionFromFile(message source);
Parameters
source
The location of the file containing the target region items. This can be a local file name or a URL.
Return Value
Returns True if the tag’s target region was set successfully; otherwise, returns False, and the tag’s existing target region is left unchanged.
Remarks
For information on file format requirements, see Defining a Target Region for a Tag for regular trends, and Defining a Target Region for a Scatter Plot for scatter plots.