Works Software | Ax Graphics Migrated to Niagara 4

Works Software | Ax Graphics Migrated to Niagara 4

integrate everything

Posted on 2018-02-17 07:08:00

Since the release of Niagara4 there has been growing confusion concerning the use of the “HTML5HxProfile”. The “HTML5HxProfile” is simply a new and additional Hx profile that has been enhanced to support the HTML5 markup language. The “HTML5HxProfile” profile is the best Px viewer of the various Hx profiles available in Niagara4. This means that your AX graphic pages that were designed for Hx profiled users will be enhanced after migrating to Niagara4. However, if those same graphic pages were designed for workbench (Wb) profiled users, the switch to “HTML5HxProfile” may not be as desirable and there could be problems displaying the Px page.

The PxToHx converters originated in AX with the purpose of converting the PxPages created in AX workbench to html views in a browser. This code remains relatively unchanged in Niagara4. The bottom line is, if you created the Px graphics in AX using the ‘HxMedia’ type, and those graphics were targeted for AX users with Hx Web Profiles, then the graphics will display as well or better in Niagara4.

Where users are running into trouble is when the designers of AX graphics start with the “Workbench PxMedia” (which is normally the case). This ‘target media’ type allows the graphic creator to add any workbench view, even if that view does not have a PxToHx converter. When this style of Px pages are migrated to Niagara4 and the “HTML5HxProfile” profile is selected, it is very unlikely the pages will display as expected. Tridium is working to create Niagara4 PxToHx converters for all views, however most are scheduled for a future version of Niagara4.

Ideally, graphic designers should create Px pages using the “Hx PxMedia” due to the fact that this type of ‘target media’ will warn the designer (figure 1) when there is no PxToHx converter for the object being added to the graphic.

The above being understood there are some modifications that can be made to typical workbench profiled graphics to allow them to operate better in the "HTML5HxProfile".

Some stations have a lot of content. Global changes can be made with the following search and replace procedure using Workbench:

In Workbench, make a Station connection to your Niagara Host (JACE or Supervisor) , and use the Backup Service to create a complete station Backup*.dist file.

In Workbench, make a Platform connection to your Niagara Host, and use the Station Copier to copy that Host's Station to your Workbench PC.

In the menu bar in Workbench, go to Search, and choose Replace in Files. In the window that comes up, enter in the information as directed below:

Search for : scale="fitRatio" Replace with: scale="none" Files to Replace *.px Folder <Niagara-user-home>\stations\<station-name>\shared Please note that the <Niagara-user-home> will already be filled-in by Workbench. You only need to add the Station-specific path on the right, either by typing, or by clicking on the navigation (folder) icon next to the path. After hitting OK, make sure to click “Select All” and then hit OK again. Once the PX changes have been made in the Niagara-user-home, copy the station back to the Host.

Here are a list of items that may not work as expected: Services as a widget on a px page: AlarmExtManager - cannot load plugin AlarmInstructionManager - no ux and hx does not function AlarmClassSummary - cannot load plugin CategoryBrowser - no ux and hx does not function CategoryManager - cannot load plugin EmailAccountManager - cannot load plugin HistoryExtManager - cannot load plugin JobServiceManager - no ux and hx does not function BatchEditor(ProgramService) - no ux and hx does not function RoleManager(RoleService) - no ux and hx does not function PermissionsBrowswer(RoleService) - no ux and hx does not function

Direct HTML5view AlarmExtManager - resolves to alarm db maint AlarmInstructionManager - resolves to alarm db maint AlarmClassSummary - resolves to alarm db maint CategoryBrowser - resolves to PropertySheet CategoryManager - resolves to PropertySheet EmailAccountManager - resolves to PropertySheet HistoryExtManager - resolves to PropertySheet JobServiceManager - resolves to PropertySheet BatchEditor(ProgramService) - resolves to PropertySheet RoleManager(RoleService) - resolves to PropertySheet PermissionsBrowswer(RoleService) - resolves to PropertySheet

Drivers as a widget on a px page: Station Manager - cannot load plugin BacnetDevice Manager - cannot load plugin LonDevice Manager - cannot load plugin Any Device Manager - cannot load plugin

Used by some of the largest companies in the world

see View Builder IOT

see Niagara PX Graphics

back to knowledge base...

Home About Us Current Projects Affiliations Privacy Policy ECommerce Policy

View Builder IOT ™© Mobile Solutions N4 View Builder ™© Niagara PX Graphics

Software Development Consultancy Project Management Graphic Design Knowledge

T: +44 (0)800 511 8446 E: Contact Form

T: +44 (0)800 511 8446 E: Contact Form Home About Us Current Projects Affiliations Dashboards Niagara Niagara Graphics Software Development Consultancy Project Management Graphic Design Knowledge

Copyright © 2021 WSE Ltd. All rights reserved.

Recommended articles