Configuring Commands for a TrendWorX64 Viewer
You can apply some of the commands that you have added to your assets in AssetWorX to a TrendWorX64 Viewer control in PortalWorX-SL. For more information about adding commands to assets, refer to the Setting up Commands for Runtime Navigation topic.
To apply an existing command from an asset to a TrendWorX Viewer:
- In the AssetWorX Navigator on the left-hand panel, navigate to the asset that contains the command that you wish to apply to the viewer.
- Right-click the asset and select the command you wish to apply.
- Choose the viewer to which you would like to apply the command. You can also apply the command to a New Control, which will open a new TrendWorX64 viewer with the default settings.
Commands Supported by TrendWorX64 Viewer Controls
TrendWorX64 Viewer control in PortalWorX-SL supports the following commands:
Detailed descriptions of all TrendWorX64 Viewer Controls are available in the Commands Tab for Equipment page.
- Create Pen - The Create Pen command adds a new pen into a target TrendWorX Viewer.
- Delete Pen - The Delete Pen command removes a pen from a TrendWorX64 Viewer. This command requires a target which can be a TrendWorX64 Viewer in GraphWorX64 or PortalWorX-SL. The name of the pen and the target viewer are the parameters for this command.
- Export Image - The Export Image command is a GraphWorX64-Only Command that allows users to export an image of a GraphWorX64 file based on the current view or the entire display.
- Export Statistic - The Export Statistic command shows the Export Statistics dialog using default options.
- Load Trend Configuration - The Load Trend Configuration command opens a TrendWorX trend file inside a TrendWorX Viewer when a runtime user selects the menu option.
- Navigate - The Navigate command allows users to supplement web navigation buttons with GraphWorX64 buttons or Asset commands to provide alternative navigation schemes. TrendWorX64 viewers support only the Back, Forward, and Now navigation types for this command.
- Print - The Print command allows users to print the current view or entire control in GraphWorX64. An option to use a White Background can be selected, but users should be careful of white text as it may not show up with this option selected. Targeting can be used to print embedded GraphWorX64 displays..
- Save Configuration - The Save Configuration command can be used for any of the .NET Controls (e.g., AlarmWorX64 AWXX and AWXXS files). The file type used to save the configuration is entered at the end of the file path and name in the FileName field. Select the Overwrite checkbox to allow for changing the configuration of an existing one when saving.
- Select Element -The Select Element Command allows users to provide secondary navigation for tabs, views, rows or objects separate from what is available in the .NET Viewers. Each Element must be named uniquely for Select Element to find them.
- Set Freeze Mode - The Set Freeze Mode command, used with TrendWorX64, toggles Freeze Mode in a TrendWorX64 Viewer.
- Set Time Range - The Set Time Range command, used with TrendWorX64, allows the time range to be changed from AssetWorX Assets and GraphWorX64 Pick Actions.
- Set Visibility - The Set Visibility Command is a flexible command used to target GraphWorX64 Objects (Visual ObjectType), TrendWorX64 Pens (Pen ObjectType), and any grid-based layout like AlarmWorX64 and GridWorX (Column ObjectType). The command allows operators to Show, Hide or Toggle the visibility of any one of these object types by issuing the command from an AssetWorX asset or GraphWorX64 Pick Action. TrendWorX64 viewers support only the Pen object type for this command.
See also:
Commands Tab for Equipment
Setting up Commands for Runtime Navigation