🛠️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
License
and 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 Request
buttonSelect a folder where you want to save the license request, and click OK.

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
License
and selectLoad Lic
Browse 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.

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 Tool
and 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 Connection
to 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.
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 Tool
and selectDatasource Config
This 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

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.
Open the ObX Admin Tool
From left side bar, click on Datasources
Right click on Datasources and select
Add Datasource
Enter 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.
Open the ObX Admin Tool
From left side bar menu, expand
Datasources
tab.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
Datasource
tab.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
Create Excel Report User
Open the ObX Admin Tool.
From the left side bar menu, click and expand the
Users
tab.Click on the user
Type
you want to add ( Excel Report, ObX Collector or API), then right-click ->Add User
An
Add User
windows 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 giveread
privilege on the user you want to add. You can check as many as you want.Click
Create
button.Repeat the steps to add more Excel Report user.

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
Users
tab.Click on the user
Type
you want to add ( Excel Report, ObX Collector or API), then right-click ->Add User
An
Add User
windows 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 givewrite
privilege on the user you want to add. You can check as many as you want.Click
Create
button.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
Users
tab.Click on the user
Type
you want to add ( Excel Report, ObX Collector or API), then right-click ->Add User
An
Add User
windows 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 all
for this specific user on a specific datasource.Click
Create
button.Repeat the step to add more ObX API user.

Deleting Users
Deleting a user is pretty straightforward.
Open the ObX Admin Tool
From the left side bar menu, expand the
Users
tab.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
Users
tab.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
Save
button.

Changing User Grant / Privilege
Open the ObX Admin Tool.
From the left side bar menu, expand the
Users
tab.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
Save
button.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.
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 Tags
From 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 button
and 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 Formula
button 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 Cal
button to create a tag.

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.
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.
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
Organizations
tab.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
Organizations
tab.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