🛠️ObX Backend Engineering
Backend engineering in ObX encompasses the technical tasks involved in managing licenses, configuring data sources, implementing tags, user management, and other related functionalities.
ObX Admin Tools
The ObX Admin tool serves as the primary backend engineering instrument for the ObX platform. It is the essential tool you'll rely on for all engineering tasks.

License Management
Requesting a License
The trial version of ObX provides enhanced capabilities for users to delve deeper into the functionality of the software. When you decide to upgrade your license, you can do so seamlessly by utilizing the ObX Admin tool to generate a license request.
Open the ObX Admin Tool
From the top menu, click on
Licenseand selectRequest lic.This will open the License window, fill out all required fields in the window that best suites your requirements.
Once filed, Click the
Create License RequestbuttonSelect a folder where you want to save the license request, and click OK.

To initiate the creation of a Production license, you must forward the Request License file to your designated ObX sales representative. Once processed, the finalized Production license will be sent to you for installation onto your server.
Loading a License
Once you have the production license, you may simply load it to your server
Open the ObX Admin Tool
From the top menu, click on
Licenseand selectLoad LicBrowse the folder and select the production license.
This will open the License viewer window and double-check if your requested license is the same as the production license. Once confirmed, click OK.
A message telling you that the license was successfully loaded. Note that the ObX admin tool will automatically close after loading a new license.

In the ObX Admin Tool home tab (at the lower part), click on the Check License Info link to view the loaded license on your server.
Web Dashboard and Datasource configuration
Upon launching the ObX Admin Tool, it initiates an automatic retrieval of essential data from both the ObX Historian and ObX WebUI component. To enable this process, configuration of the IP address interfaces for both the historian and WebUI component within the ObX Admin Tool is required.
Web Dashboard Config
This configuration is for assigning IP address where ObX WebUI component was installed.
Open ObX Admin Tool.
From the top menu, click on
Admin Tooland select theWeb Dashboard config, this will open the WebUI Configuration window.On the IP address, simply input the IP address where ObX WebUI components is installed.
Click on
Test Connectionto check if you have a connection to the IP address you have inputted.A message will tell you if it was successful or have any issue.
If ObX historian and WebUI component are installed on the same computer, simply set the IP address to localhost (which is the default value) in the WebUI Configuration.
Datasource Config
This configuration pertains to the allocation of an IP address for the installation location of the ObX historian component. Unlike the straightforward input of the IP address of the WebUI component computer in the Web Dashboard Config, in the datasource configuration, you must specify the precise IP address of your computer within the network. This involves selecting from a list of existing IPv4 addresses available on your computer, presented in a selection field.
Open the ObX Admin Tool
From the top menu, click on
Admin Tooland selectDatasource ConfigThis will open the Datasource configuration window.
Please ensure that you select the IP address of your computer for communication between the ObX historian and WebUI component. This IP address must be selected specifically to facilitate seamless interaction between the two components.
Click Save
If the ObX WebUI and ObX Historian is installed on the same computer, simply set the IP address of Datasource config to localhost

Adding Datasource
Datasources function akin to databases, serving as repositories for storing and archiving data as necessary. They are particularly useful for segregating various types of data, such as those associated with specific systems (e.g., ABB, Yokogawa, Honeywell) or categorized by site locations (e.g., Site 1, Site 2). Employing different datasources allows for efficient organization and separation of data according to distinct criteria.
You can add as many datasources that fits your requirements. 👍
Open the ObX Admin Tool
From left side bar, click on Datasources
Right click on Datasources and select
Add DatasourceEnter the name of the Datasource (no special character and space, you may use underscore
_as space)Click OK.
A successful message will notify you the the datasource was added.

You cannot edit the name of the Datasource, so make sure you have input the right name of the specific datasource.
Data Retention
By default, when you create a new datasource, its data retention is limited to 7 days. Depends on your existing license, you may increase or decrease the data retention of specific datasource.
If you are using a demo license, the maximum data retention will only be 7 days and you cannot edit retention duration. Simply load a production license to edit it (if needed).
Open the ObX Admin Tool
From left side bar menu, expand
Datasourcestab.From the list of datasources, click the name of the datasource you want to change its retention.
From the
Info Tab-> underData Retention->Duration, select the desired duration for the specific datasource.Click Save.
A successful message will notify you.

When reducing the duration of data retention, the system will automatically purge data that exceeds the newly specified duration. For instance, if you originally stored 3 years of data and your retention policy was set to 3 years, then you adjusted it to 1 year, the system will delete data older than 1 year, effectively removing 2 years' worth of data. It's essential to exercise caution when shortening the retention period to avoid unintended data loss.
Increasing the duration of data retention will have no effect on your existing data, and will automatically applied the duration you have set on the specific datasource.
Deleting a Datasource
Deleting a datasource is pretty straightforward.
Open the ObX Admin Tool.
From the left side bar menu, expand the
Datasourcetab.From the list of datasource, select the datasource you want to delete.
Right-click and select
Delete Datasource.A confirmation delete dialog will open. Type in the word
delete

Adding Users
User management is a critical component of any platform. The ObX Admin Tool facilitates the creation of users with varying levels of access privileges to a designated data source. These users serve as the authentication credentials for all ObX clients seeking access to data from said source.
There are three types of users when accessing the datasources inside the ObX historian.
Excel Report
A user used to connect to a datasource via the ObX Excel addin component.
read
ObX Collector
A user used by ObX collector to push process data (tags) to a datasource.
write
API
A user used to connect to a datasource via a 3rd party systems.
read or/and write
Make sure to create specific users for different user Types, there is no limit to the number of users you want to create.
Create Excel Report User
Open the ObX Admin Tool.
From the left side bar menu, click and expand the
Userstab.Click on the user
Typeyou want to add ( Excel Report, ObX Collector or API), then right-click ->Add UserAn
Add Userwindows will open, fill all required fields (username, password and password confirm)In the bottom, a list of existing datasources is listed, check on the column
Grant, where you want to givereadprivilege on the user you want to add. You can check as many as you want.Click
Createbutton.Repeat the steps to add more Excel Report user.

In the production license, it is required to have Excel Addin license features to create an Excel Report user. However, a demo license is a fully featured license, so you can create as many as you want.
You cannot edit the username of the user, so make sure you have input the right username.
Create ObX Collector User
Open the ObX Admin Tool
From the left side bar menu, click and expand the
Userstab.Click on the user
Typeyou want to add ( Excel Report, ObX Collector or API), then right-click ->Add UserAn
Add Userwindows will open, fill all required fields (username, password and password confirm)In the bottom, a list of existing datasources is listed, check on the column
Grant, where you want to givewriteprivilege on the user you want to add. You can check as many as you want.Click
Createbutton.Repeat the step to add more ObX collector user.

You cannot edit the username of the user, so make sure you have input the right username.
Create API User
Open the ObX Admin Tool
From the left side bar menu, click and expand the
Userstab.Click on the user
Typeyou want to add ( Excel Report, ObX Collector or API), then right-click ->Add UserAn
Add Userwindows will open, fill all required fields (username, password and password confirm)In the bottom, a list of existing datasources is listed, check on the column
Grant, where you want to give privilege on the user you want to add. You can check as many as you want.In the privilege column select wether to give
read, write or allfor this specific user on a specific datasource.Click
Createbutton.Repeat the step to add more ObX API user.

In the production license, it is required to have API license features to create an API user. However, a demo license is a fully featured license, so you can create as many as you want.
Deleting Users
Deleting a user is pretty straightforward.
Open the ObX Admin Tool
From the left side bar menu, expand the
Userstab.From the list of
Users, select the user you want to delete.Right-click and select
Delete User.

Changing User Password
Open the ObX Admin Tool.
From the left side bar menu, expand the
Userstab.From the list of
Users, select the user you want to edit.From the
Info Tab, click / check theChange Password, this will enable the input for passwords.Input valid passwords in the field.
Click
Savebutton.

Changing User Grant / Privilege
Open the ObX Admin Tool.
From the left side bar menu, expand the
Userstab.From the list of
Users, select the user you want to edit.From the
Info Tab, check / uncheck the on the Grant column for the database you want to give or revoke grant to the selected user.Click
Savebutton.A confirmation dialog will open, just confirm.

Adding Calculation Tags
Calculation tags enable the creation of custom tags that produce outputs determined by mathematical functions or equations. These functions utilize the JavaScript Math libraries for computation. For more information about the Math libraries, you can read it here.
In production license, you must have a Calculation Engine license in order to add a calculation tag. However, in a demo license you can add as many as you want.
Open the ObX Admin Tool.
From the left side bar menu, expand the CAL TAGS tab.
Click on a datasource where you want store the calculation tag, and right-click ->
Add Cal TagsFrom the new open window, input a valid value for each field. (Tagname, description, engmax, engmin, unit)
Define the formula by drag and drop any tags available in Variables (bottom part of the window). If you can't see any tags in the variables, click on
add buttonand select necessary tags you want to add in the Variables.Select the Datasource in the window, a list of tags will be listed after you selected a datasource.
Double-clicking the tag name will automatically add the tag in the Variables.
Once you define the formula, click the
Test Formulabutton to check if you have any syntax error in your formula. A message will notify you that it is valid or not.Click the
Create Calbutton to create a tag.

In technical terms, a CAL tag can be generated using a fixed equation, such as the example formula: 1000*10/2.5. This type of equation is functional but lacks dynamic adaptability to real-world scenarios. To incorporate specific tag values into equations, like (tag1 * tag2 / tag3), it necessitates pre-existing tags within the ObX historian system. The process of introducing new tags is facilitated through the ObX collector.
Organizations
Organizations are comprised of users, data sources, dashboards, and alarms. While each organization may possess a unique combination of these elements, they all utilize a singular instance of the ObX WebUI component. This functionality, commonly referred to as multi-tenancy, is particularly prevalent in cloud environments, enabling multiple organizations to share a single instance of the WebUI component.
Organizations are part of the WebUI component, it is where you create your Dashboards and Alarms via a web based application. We will talk about it more on the front-end engineering.
The concept of Multi-Organizations entails the creation of distinct resource allocations tailored for various applications, such as energy management, IoT, etc. This may involve segmentation based on different systems like Yokogawa, ABB, Honeywell, etc., or it could revolve around organizing by plant sites, denoted as Site1, Site2, etc. The categorization and segregation of applications within Multi-Organizations are flexible and depend on specific organizational needs and objectives.
Adding an Organization
By default, ObX Organization is already added upon installation of ObX WebUI. Of course you can rename this with your preferred name.
In production license, to add more than one(1) organization, you must have a multi-organization license. However the demo license contains multi-organization with up to three(3) organization to add.
Open the ObX Admin Tool
From the left bar menu, click the
Organizations.Right-click on
Organizations->Add Organization.Enter the name of the Organization.
Click OK.

Renaming Organization
Renaming of Organization is pretty straightforward.
Open the ObX Admin Tool.
From the left bar menu, expand the
Organizationstab.Select the Organization name and Righ-click ->
Rename Organization.Enter a new name of the Organization.
Click OK.

Deleting an Organization
Open the ObX Admin Tool.
From the left bar menu, expand the
Organizationstab.Select the Organization name and Righ-click ->
Delete Organization.A confirmation dialog will prompt you for confirmation.
Click Yes.

You cannot delete all Organizations, you must retain at least one(1) organization of each WebUI component instance.
Last updated