GetTagValAtX2
- Last UpdatedJan 25, 2024
- 1 minute read
The GetTagValAtX2 method gets the value of the specified tag at the point at which the curve intersects with the second time axis cursor.
Syntax
[Result=] aaHistClientTrend.GetTagValAtX2(message serverName, message tagName);
Parameters
serverName
The name of the server.
tagName
The name of the tag.
Return Value
The tag value as a real.
Remarks
For more information on cursors, see Using Axis Cursors. If the specified tag is shown in the chart multiple times, the method uses the first instance that was added.
In a scatter plot, this method behaves as if the X axis were a time axis and the X axis cursors were time cursors. For example, if the plot shows data from 3:00 PM to 4:00 PM, and the cursor is exactly at the middle of the X axis, this method returns the value of the tag at 3:30 PM.