Easy Template Virtual Service

About Easy Template Virtual Service

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.

Graphical user interface, text, application, emailDescription automatically generated

Adding the Service

To use the Easy template Virtual Service, add the EasyTemplatingVirtualService in the service folder.

  1. In the Palette pane, open the EasyTemplatingVirtualService palette, and click OK – See Open a Palette.

  2. Drag and drop the EasyTemplatingVirtualService from the Palette pane to the Services folder.

    A picture containing tableDescription automatically generated
  3. Click OK.

    Result:  This adds the EasyTemplatingVirtualService in the service folder.

Easy Template Virtual Service Properties

Users can view the Dashboard properties in the EasyTemplatingVirtualService Property sheet as shown below.

Steps to open the EasyTemplatingVirtualService Property sheet:

  1. In the Nav tree, open the Station > Config > Services folder.

  2. Right-click the EasyTemplatingVirtualService > Views > select AX property sheet.

    Graphical user interface, applicationDescription automatically generated

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“.

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

  1.  In the Nav tree, open the Station > Config > Services folder.

  2.  Right-click EasyTemplatingVirtualService > Actions > click Load Virtual Slots.

    Graphical user interface, text, applicationDescription automatically generated

    Result: This action would take few seconds to load all the virtual component Ords from the remotely connected Controllers / Devices.

    Graphical user interface, text, applicationDescription automatically generated

    Note:

Creating an Easy template for Virtual component Ords

To create a new template

  1. Open the px page. For more details on creating a px page, refer to the Niagara documentation.

  2.  Load the virtual slots using Easytemplatevirtualservice, refer Adding the Service and Loading the Virtual Component Ords.

  3. Select Tools > New Easy Template. The New Easy Template window is displayed.

  4.  Click Next.

  5. Select the required template type (Custom Popup), refer to Creating a Template for more details on Popup view on template type.

  6. In the px file box click (…) icon to open the px page directory. 

  7. Select the px page and click Save.

  8. Click Next.

    Graphical user interface, text, application, emailDescription automatically generated
  9. Enter the template name in the Name field and click Next.

  10.  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.

  11. To create a new folder, select the Create a new destination folder option, enter the folder name in the Folder field, and click Next.

    Graphical user interface, applicationDescription automatically generated

    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”.

    Graphical user interface, text, application, emailDescription automatically generated
  12. 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.

    Graphical user interface, text, application, emailDescription automatically generated

Deployment of the virtual related Easy template on a px page

Steps to Deploy a virtual related Easy Template on a px page.

  1. Open the px page in edit mode.

  2. Open the Easy Templating palette and select the required virtual related template from the palette window, refer to Open Easy Templating Palette.

  3. Drag and drop the required template from the Easy Templating palette to the px page.

    Graphical user interfaceDescription automatically generated with medium confidence

    Result: The Current Binding Location window is displayed. This displays the list of all the virtual networks whose points are bound to the template.

    Graphical user interface, text, application, emailDescription automatically generated
  4. Select the required network from the list and click OK.

    Graphical user interface, text, application, emailDescription automatically generated

NOTE

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.

 

Relative Links