Easy Template Virtual Service allows you to bind the Virtual component's datapoints. This service provides the user to load the virtual properties of a Controller / Device on Easy template and deploy them on a PX page.
Note: To load the Virtual component properties, the Supervisor station gateway must be connected to a Controller / Device remotely.
To use the Easy template Virtual Service, add the EasyTemplatingVirtualService in the service folder.
In the Palette pane, open the EasyTemplatingVirtualService palette, and click OK – See Open a Palette.
Drag and drop the EasyTemplatingVirtualService from the Palette pane to the Services folder.
Click OK.
Result: This adds the EasyTemplatingVirtualService in the service folder.
Users can view the Dashboard properties in the EasyTemplatingVirtualService Property sheet as shown below.
Steps to open the EasyTemplatingVirtualService Property sheet:
In the Nav tree, open the Station > Config > Services folder.
Right-click the EasyTemplatingVirtualService > Views > select AX property sheet.
The Various Dashboard properties are explained in the below table.
Properties |
Description |
Status |
Shows EasyTemplatingVirtualService status |
Fault Cause |
This field is Read-only, which Indicates the reason why a system object (network, device, component, extension, etc.) is not working properly (in fault). This property is empty unless a fault exists. |
Enabled |
User can select True (to enable) or False (to disable) in order to view the EasyTemplatingVirtualService. |
Virtual Component Ords |
This field loads all the Virtual Component Ords from the remotely connected Controllers / Devices. For more details, refer to the section “Loading the Virtual Component Ords“. |
The user must load the virtual slots manually before deploying the virtual related Easy template on a Px page.
Steps to load the Virtual Component Ords
In the Nav tree, open the Station > Config > Services folder.
Right-click EasyTemplatingVirtualService > Actions > click Load Virtual Slots.
Result: This action would take few seconds to load all the virtual component Ords from the remotely connected Controllers / Devices.
Note:
User must repeat the step 1 and 2 for any change in the configuration of Controller / Device to load the latest Virtual component properties.
User has to run the "Easy Templating Virtual service" every time whenever a new device get added.
To create a new template
Open the px page. For more details on creating a px page, refer to the Niagara documentation.
Load the virtual slots using Easytemplatevirtualservice, refer Adding the Service and Loading the Virtual Component Ords.
Select Tools > New Easy Template. The New Easy Template window is displayed.
Click Next.
Select the required template type (Custom Popup), refer to Creating a Template for more details on Popup view on template type.
In the px file box click (…) icon to open the px page directory.
Select the px page and click Save.
Click Next.
Enter the template name in the Name field and click Next.
To create a new library, select the Create a new library folder option, enter the name of the library in the Name fields and click Next.
Or
To update an existing library, select the Select an existing library folder option, enter the name of the library in the Name search field, select the library from the search result and click Next.
To create a new folder, select the Create a new destination folder option, enter the folder name in the Folder field, and click Next.
Or
To select an existing folder, select the Select an existing destination folder option, expand the tree and select the destination folder and click Next the wizard changes. For more details refer to “Create a Template”.
Click Finish. The template will be created.
To copy the path, click (copy path icon). This helps you locate the path of the template. It also allows you to share the location with other engineers.
Once copied you can paste it into windows explorer to access the library folder in windows explorer.
If you want to continue and create more templates, select Createanother.
If the Create another option is selected the New Easy Template wizard will take you to the step "3 of 6" window, enter the new template name and repeat the process.
Steps to Deploy a virtual related Easy Template on a px page.
Open the px page in edit mode.
Open the Easy Templating palette and select the required virtual related template from the palette window, refer to Open Easy Templating Palette.
Drag and drop the required template from the Easy Templating palette to the px page.
Result: The Current Binding Location window is displayed. This displays the list of all the virtual networks whose points are bound to the template.
Select the required network from the list and click OK.
NOTE
The list of networks can be filtered by entering the network name in the search field. If you check the Show Exact Matches Only option, then it will display only those networks, whose source points extensions matches with target extension points.
Unresolved points may occur. You must resolve the network manually, for more details refer to Resolving_Complex_Template_Binding_Issues.html.
To deploy all the matching virtual Component datapoints, refer to “Bulk Deployment”.
In the "Point Chooser" Dialogue box, Virtual Components will disappear after few seconds. It is Niagara's default behavior. Niagara Framework will release all virtual components after few seconds.
If the user wants to load the virtual component again in "Point chooser", then the user has to close "Point chooser" and reopen "Point chooser" again.
Once the template is added to the px page, you can position or resize the items as required. After the changes are completed, save the px page.
The user can deploy all the matching points components on a px page by performing the Bulk Deployment.
To deploy all the matching components of a template on a px page
Open the px page in edit mode.
Open the Easy Templating palette and select the required template from the palette window, refer to Open Easy Templating Palette.
Drag the required complex template from the Easy Templating palette to the px page.
Result: The Current Binding Location window is displayed. This displays the list of all the networks whose points are bound to the template.
Select all the matching points from the the network list and click ok.
Note:
The list of networks can be filtered by entering the network name in the search field. If you check the Show Exact Matches Only option, then it will display only those networks, whose source points extensions match with target extension points.
Unresolved points may occur in the list. You must resolve the network manually, see Modify Points Binding. You can also modify the template to fix the issue, see "Resolving_Complex_Template_Binding_Issues.html".
Once the bulk deployment is added to the px page. User can view the different datapoints on a px page that are bound to the template.
To view the different datapoints on a px page
In the Nav tree open the Drivers folder then Right click the required datapoint (AHU1) >Views > select the template (AHU_Monitoring).
Result: Template will be created on a px page which displays the status and values of the selected datapoint (AHU1).
User can repeat the step 1 and 2 to view the different datapoints for which template will be created and displays status and values on a px page.
Relative Links