SetXDuration Method
SetXDuration is a method for a Trend Invoke method action.
- Purpose: SetXDuration
- Advanced Configuration: SetXDuration
Purpose: SetXDuration
To change the X-axis duration settings for a single line or all lines on the chart that use the chart X-axis and scrolls lines to beginning of chart.
Advanced Configuration: SetXDuration
Click Advanced on the Action tab of the Procedure Information dialog box.
The Edit Method dialog box opens for the SetXDuration method
Configuration is as follows.
Field | Description | |||||
---|---|---|---|---|---|---|
Method name | Name of the selected method. Note: Another method can be selected from the drop-down list. | |||||
Method result | (Optional) Setpoint that contains the status value. | |||||
Class | Boolean | |||||
Structure Type | BOOL | |||||
Allowed | Device or global Point ID. | |||||
When a user invokes the method, the method result contains one of the following values. | ||||||
Value | Method Result | |||||
1 | The X-axis duration was successfully changed. | |||||
0 | The X-axis duration was not changed. | |||||
Parameters | LineID | One of the following names what lines should have the duration of the X-axis changed: | ||||
Value | Trending will | |||||
"" | Chart X-Axis. | |||||
Existing Line ID | Axis that belongs to the line. | |||||
seconds | Numbers of seconds. Note: Multiply minutes by 60; hours by 3600 | |||||
milliseconds | Addition to seconds for the X-duration. |