MQTT Troubleshooting

To perform MQTT troubleshooting, you need to establish reliable reference for 3 involved parties separately, namely Subscriber, Publisher and Broker. For subscriber and publisher, you may use MQTT Spy as your MQTT clients, it is a small Java utility that you can run without installing. And it’s preconfigured with some public brokers or servers that you can use right away. So you need to get only one tool to isolate and troubleshoot on any of the scopes.

https://github.com/eclipse/paho.mqtt-spy/wiki/Downloads

  1. Connect to public broker from start screen.

    MQTT Spy is has a dashboard-like of Control Panel which you can click on any listed public broker.

    You will then see a new tab openned with server name in light green indicating broker’s status.

  2. Subscribe to a topic by clicking on ‘New’ tab

    Enter your desired topic under Subscriptions and Received Message section , for example ecava/igx/scada/#, whereby # is the wildcard.

    A new Tab with entered topic will be added in Subcriptions section.

  3. Observe New Tab is added for receiving data

    You are now good to receive any MQTT data from any Publisher in the specified topic. You may try to publish any data from the Publish Message pane itself to see if data get looped back.

    Next step is to automate the publishing work, which is useful despite optional.

  4. Add and Set the Script Directory

    Copy the following script and save as a JavaScript (filename.js) file in a folder. And then set the directory as the Script Directory, in the pop up option when right clicking on Scripted Publications Pane.


    (function (){
      mqttspy.publish("ecava/igx/scada", (Math.random()*1000).toFixed(2));
      try {
        Java.type("java.lang.Thread").sleep(1000); //try to sleep
      }
      catch (e){
        return false;
      }
      ;return true;
    })();

    This script will automate a random data publishing sequence in every second.

  5. Load and Start Script

    Your script(s) shall appear in the script list after setting direcotry and refreshing list. Check on the Repeat option, then right click on the script to Start.

  6. Observe messages being sent and received

    You can now leave MQTT Spy running in the background, and proceed to your application to see if the same data can be received.

If you need to use Modbus in your work, you might be interested in the Modbus Troubleshooting Guide as well. Also, Ecava IGX SCADA can do both Pub/Sub and has a built-in MQTT broker or server. Download the latest copy for free and start enjoying many advanced benefits now.

We have spent great deal of time to simplify the flow to own SCADA license, so you can perform your complete transaction when it’s urgent. And we also taken care of previously purchased licenses. Just request your new software keys that associated to your existing project configuration and you will be able to authorize any offline license by generating ILA file by yourself. So you no longer need to wait for our admin to authorize your license manually.

Once you get your ILR file from offline or previous version of SCADA, all you need to do is to run License Manager from current IGX version (6+), then choose “I want to activate License from offline machine”. You will be prompted to browse for ILR file, then followed by Activation Screen.

Paste your software keys into this box then click Activate and you will get your own License Authorization (*.ILA) file!

The world is all about IoT (Internet of Things) now. Basically technology developers are aiming for IoT approach for whatever products (if possible). While home automation is another big trend that carries great development potentials, it is now commonly wrapped with IoT technologies as a package to furnish automation to your home.

Why use IoT for home automation? Simple. Because one of the main reasons of building an automated home is to be able to control it outside of your home. Such purpose can be achieved by applying IoT technolgy, there it stores and syncs all your required home data in the cloud. From there, you can then access/control your home while sitting in office or when heading home from your workout sessions.

What do people normally use home automation for? Well, the answer will be depending on what are the main objectives of the owner’s intention to implement an automated home. But for current users’ demand, usually it breaks down to a few main categories,
– Home security
– Power consumption monitor
– Smart control

Those who opt for security clearly will include smart devices like CCTVs, alarms’ sensors, and lock systems. These devices shall be installed to guard the house, at the same time they shall be connected to the main server which allows IoT cloud access, and users can access using portable smart devices (smartphones, tablets, etc.).

There are users who concern alot about their power consumption, despite to watch out for the bills or for resource saving purpose, it is always good to monitor your own house’s consumption. For landlords who rented out their houses, implementing a system to the house which is smart enough to let them monitor all the power usage can be very helpful. There are different ways to achieve the monitoring part. You can trigger to store the running hour of the certain device(s) and perform a calculation for the power consumption based on the records. In addition, you can even set the limit on the maximum allowed consumption, and alert yourself when the limit is coming close, or even cut off the power for that device(s) if you want.

On the other hand, some users think home automation serves for the purpose of convenience. They would love to utilize automation to allow themselves to have full control of their home. Similarly, such system shall include smart sensors built-in for devices like lighting, fan, air cond, heaters, etc. Smart enough where users can control (on/off, adjust) using their phones or tablets, anywhere they want as long as it is connected to the network.

Ecava has also taken the approach and stepped into the IoT Home Automation world. We have even built our own little demo home, in Lego version (built from scratch, brick by brick) and live it up with automation! We may be going a little bit too far and had enough fun for the house building part (who doesn’t like an over-luxury house with pools and chopper?), but the home automation concept should be the focus here.

SCADA IoT Home Automation demo house set

SCADA IoT Home Automation demo house set barrier gate

Our little dream home has automated lights for all rooms, automated car garage gate, automated barrier entrance gate, even an automated chopper! We plugged the home system via wire to workstation (laptop), go through an IoT gateway module, and wirelessly accessible via phones and tablets. Just simply tie the lights and motors to a PLC, create a SCADA project using IntegraXor with a minimalist HMI screen for home device controls/status, map the IO with the PLC, and we are ready to roll.

SCADA IoT Home Automation demonstration Ecava IGX

The demo house automation system was showcased in a developer’s housing property gallery exhibition.

SCADA IoT Home Automation demo set demonstration

Check out the video for demonstration on controlling lights, barrier gate, garage gate and helicopter using IGX SCADA via HMI screens on laptop, phone or tablet.


Fancy an automated system for your home? Contact us to know more on how to build it.

Do you still support some legacy system that could not speak MQTT? You can easily enable your legacy system with IIoT capability by adding MQTT gateway. IGX I/O module can perfectly help you achieving just that because it’s equipped with complete MQTT elements, which are subscriber, publisher as well as broker or server.

MQTT protocol is event driven and has a Broker/Server to act as middlemen in all transactions. So the traditional read/write transaction doesn’t apply directly, but can briefly associated. For read operation of device, the site will have to publish its tag to the broker when its data is updated. And then the SCADA shall be configured as subscribe from the broker to get notified. Conversely for write operation, the SCADA shall publish any write request (from operator) to the broker, and then the IGX gateway will subscribe to the broker to perform the write operation. So you can see that both pub and sub are involved in both read or write operation. As such, be informed that MQTT driver itself can only read status from sensor/device, change of data/setting will require MQTT publisher.

In the world of industrial automation, there are situations where System Integrators are required to backup the entire system and reinstall it back somewhere. Imagine if you can clone the entire hard disk, and just restore it to your destination drive identically. Forget about needing to install and setup everything again, that could make you save up plenty of time!

Clonezilla Live, it is a partition and disk imaging/cloning program for single machine. Basically it is a useful tool to perform disk backup and recovery. It is a bootable GNU/Linux distribution for both x86 or AMD64 based computers. One of the best things about Clonezilla is despite it is an open sourced tool, you can use it for any OS, regardless it is Microsoft Windows, Linux, or Mac OS. There were tons of tutorials about Clonezilla on the internet, even the official source provided the most detailed steps. However, most of the times we only require something simple. This guide serves as the only guide you need to achieve your maintenance job at site whenever there’s hard disk backup required.

To use Clonezilla Live, first you need to prepare it in a bootable media such as CD/DVD or USB drive. That can be achieved by relevant free tools found online (e.g. Unetbootin, Tuxboot, LinuxLive USB Creator, etc.). Or, simply follow this quick guide to install the tool in a bootable USB device.

Clone the hard drive

Step 1:

Startup your machine, which will boot from the media you have chosen. The boot menu will be displayed as shown in screenshot below.

SCADA system integrator tool

Proceed to choose your wanted resolution and setting. If you are unsure of what to choose, just go on with the default selection.

Step 2:

Follow the procedures and you will reach the screens to prompt you to choose your language and keyboard layout. Same advice, simply go on with the default selection to make things easier.

Choose Language – English
Keyboard Layout – Don’t touch keymap

Then, you will come across the screen to start Clonezilla Live. Choose ‘Start Clonezilla”.

SCADA system integrator tool

Step 3:

For industrial automation scenarios, it is often more practical to clone the disk to an image. Thus, in this guide we shall proceed to select “device-image”.

SCADA system integrator tool

Step 4:

Next is to select your destination to save the image. An USB drive or external hard disk is often the popular choice for SIs. Therefore, pick “local_dev” for saving in local device and proceed.

SCADA system integrator tool

The detected local drives will be listed out. Note that the disks and drives’ naming are Linux based. Choose a drive from the list as repository to save your image.

SCADA system integrator tool

Follow the procedures and choose to save the image in top directory of the selected drive. Then the disk space usage and details will be shown by Clonezilla.

Step 5:

You will be asked to select the mode to run cloning wizard. Choose “Beginner mode” will do.

SCADA system integrator tool

After that, select on how you wish to save your image. In this case, we will be cloning the partition only. Select on “saveparts” to clone the partition to image, then enter a site & project relevant name for the image file when prompted.

Step 6:

Next, the procedures shall lead you to choose the source that you wished to clone / backup. Select the disk to be cloned and proceed with “Skip checking” when prompted.

SCADA system integrator tool

You will also be prompted with more system and image checking options, as well as encryption. Proceed with your preferences.

SCADA system integrator tool

Step 7:

There will be one last prompt for your confirmation to clone the disk. Hit on “Y” key when being asked to continue.

SCADA system integrator tool

After that, the process will start, and you can notice the data block progress bar as the cloning is happening.

SCADA system integrator tool

When the cloning is done and image saved, Clonezilla will prompt for action to run the same thing again, or you may select to power off or reboot the machine.

Restore the Image

Now that you have cloned the disk or partition of the server, and it is time to restore the image directory into the destination drive. The steps to achieve that is pretty similar to the disk image storing process.

Step 1:

Again, boot into the system from your media with Clonezilla. Then repeat the selections from Step 1 to 4 as mentioned above for cloning.

Note that for the detected local devices, in this case you will need to select the drive that your image directory resides.

Step 2:

Choose “Beginner mode” as usual, and then the list of job selection will be displayed. Now you can see that the restore options are listed, because you have selected the drive with image directory in previous step.

Go on and select on how you wish to restore your image. For example, to restore the partition, choose “restoreparts”.

SCADA system integrator tool

Next, Clonezilla shall detect the image directory stored in the partition, proceed by selecting the image directory.

Step 3:
Then you will be asked to select the target partition to restore the image. List of detected partitions will be displayed, pick on whichever partition you wish to restore as destination.

Note: target partition should NOT be smaller than the image restore size!

Step 4:
Before the restore starts, there will be several confirmation prompts to notify you that all previous data located in the target partition will be overwritten. Proceed to restore if you are aware of this warning and have backed up everything inside the target drive (if any) to avoid any loss.

After the confirmation prompts, restore process will start.

SCADA system integrator tool

Wait for the progress to finish, and Clonezilla shall prompt you to either power off, reboot or rerun the process.

Then it is done, your system is clones and restored to your desired destination. No endless configuration job required to get the system running as before!

Conclusion:

It is no doubt there are tons of ways (paid or free) to backup and restore a hard drive or partition. There may still be engineers who manually backup every single data from the machine, and then re-installs the system and software, then finally re-configure them to achieve the previous functionalities. However, all these procedures may take up to days, depending on how huge the system is.

The fact is, tools like Clonezilla exists for quite some time, and it is free. It is able to perform the backup/restore job for you in such a short time and easy effort. So, days or hours, it is your choice.

Ecava IntegraXor 6.0 (Stable) is here! The beta label is finally gone for version 6.0, and it is now the new STABLE after uncountable improvements. Just in case you haven’t join the fun, here’re the shiny new features released.

MQTT
Added new MQTT driver and server support. Ecava team has paid great effort to bring in both MQTT Subscriber and Publisher features to IntegraXor.

MQTT (formerly known as Message Queuing Telemetry Transport) is a publish/subscribe messaging transport protocol based on client-server architecture. It is light weight, open, simple and is suitable for use in many situations, such as for communication in Machine to Machine (M2M) and Internet of Things (IoT).

MQTT Subscriber:
In IntegraXor, the MQTT subscriber is an MQTT client that is used to subscribe to the topics published by other MQTT clients. The received payload is written to a tag based on the selected data type. All of the IntegraXor data types are supported.

MQTT Publisher:
MQTT publisher in IntegraXor is an MQTT client that is used to publish tag values to other MQTT clients. And it’s very convenient that a built-in MQTT Server or Broker will be launched as well when the Publisher is started. So you don’t have to worry about learning and maintaining and managing another Server.

BACnet scheduler
BACnet scheduler is now added. In BACnet Protocol, you can automate repetitive events like daily HVAC On/Off and Lighting On/Off by using Schedule Object. IntegraXor provide a user-friendly and intuitive Scheduler Page as configuration page for Schedule Object.

Report Viewer
Added capability in report server to directly embed database result view into report.

UI language selection
In the past, you may add any language support for front end mimic. Now we have added UI language selection to IGX server and editor. Talk to us if you like your native language to be added.

[Edited 08/11/2017]

V6 Beta Release:

OPC UA
Added OPC UA client driver (the successor to OPC classic DA) into the supported list of communication protocols. OPC UA provides plug-and-play capabilities without DCOM configuration and also provides secure and reliable connections between OPC servers.

SCADA Cluster
Cluster module allows you to massively scale and distribute your SCADA installation over large geographical area. You may use cluster as I/O gateway, or isolate database related tasks like historian, alarm or report to another machine to break any bottleneck. You may also duplicate any module as many as you like to achieve partial or complete redundancy. Cluster module also facilitate project extension or delegation without interrupting existing configuration.


Download and install IntegraXor 6.0 today!

Portable edition means no installation needed. This is very common in the old days, but not anymore especially for large and complex program like SCADA.

In fact, there are many SCADA out there which requires complicated installation processes, such that to have the list of prerequisites installed first, then follow by core engine, front-end, etc. And you may need up to hours just to get the SCADA installed in your machine.

Nevertheless, Ecava IGX developers have spent a great effort by following Microsoft’s good practice and uses modern development tool for latest version of Windows, so the SCADA can work without registry entry, installing DLL and other unnecessary dependencies. There are too many benefits to make a program portable. Below are some we feel particularly true for SCADA environment.

  • You could run your SCADA on portable drive like flash drive on any PC without needing to install.
  • You could quickly try out certain version without going through the installation process.
  • You could try out different O.S. or environment to confirm your SCADA will work correctly.
  • You could have few versions running side-by-side without uninstall and reinstallation.
  • You could conduct quick test on site when no system admin right is granted.

Getting a portable SCADA is very easy after version 6, all you need to do is to copy the whole Program folder. You may call it portable edition right away and start running it anywhere. A SCADA typically store its configuration into the project itself, except some minor U.I. like column width will be stored in registry.

For any older version than 6.0, on top of copying the program folder, you just need to deploy Microsoft C++ runtime, which is a free Redistributable Package to install on target machine.

To avoid this hassle, you may simply go to Ecava IGX SCADA Download page to grab the latest copy and start making one portable SCADA for yourself!

Image Credit: LiquidSnake

HTTPS is a more secure way for a browser (client) and a web server to communicate. This is done by using Secure Sockets Layer (SSL) which is the standard security technology for establishing an encrypted link between a web server and a browser. With this link, users can be sure that the data being sent between web browser and server stays private without the ability of interception by a third party. An SSL certificate is needed by the server to identify itself and send a public key for the browser to use to establish the encrypted link.

SSL Certificate

An SSL certificate file in the form of a pkcs#12 with the file extension “.pfx” is needed for this to work. Usually a certificate would be requested from a Certificate Authority (CA). These CA are trusted entities that will sign your certificate making it publically trusted. However, based on a some new ruling, they are not allowed to sign certificates for internal domain names or IP addresses.

How to create a self-signed SSL Certificate

A self-signed certificate would suffice for running internally or testing purposes. The following are the steps for creating a self-signed certificate to be used in your SCADA system:

First, you would require a tool called “openssl”. This can be installed following this link  (https://slproweb.com/download/Win32OpenSSL_Light-1_0_2k.exe). After installation, the path to the use the tool would have to be added to the system path. If you are not familiar with doing so, this (http://windowsitpro.com/systems-management/how-can-i-add-new-folder-my-system-path) article would help. The path to add is the “bin” folder of the installation which is usually “C:\OpenSSL-Win32\bin”.

Next, open “Command Prompt” by selecting (Start -> Run) and typing “cmd” or simple searching “cmd” on newer Windows systems. Change the directory of the  by typing:

cd <full directory>

This directory can be anywhere is the system for creating and storing the certificate files. Here, type the following command to create a self-signed certificate:

openssl req -x509 -days 365 -newkey rsa:2048 -keyout cert.pem -out cert.pem

You will be asked to input a passphrase to encrypt the certificate. Do remember this passphrase to be used when installing the certificate at a later time. Then just fill in the other details requested. Note that the common name is usually the domain name or IP address the SCADA is accessed from.

Next, the following command can be used to convert the “.pem” certificate to a PKCS#12/PFX file:

openssl pkcs12 -export -in cert.pem -inkey cert.pem -out cert.pfx

The passphrase for the “.pem” file would have to be entered and then followed by setting a passphrase for exporting the file. Once this is done, the “.pfx” file would be created in the directory.
From this point, the “.pfx” file would have to be imported into the system certificate store so it can be used. This is already described in the user guide linked here.

Need an app for your SCADA? Do you know you can turn your own SCADA into an app in few seconds?

It is no news that you can access your SCADA/HMI by web browsers, even in smartphones or tablets. But the best and fastest way to add your SCADA project as an icon on your home screen. In this way it is as if you are turning it into an app, and can easily launch it in ONE tap.

The ordinary way (steps):
1. Tap browser app
2. Find bookmark URL / Type URL for SCADA project
3. Enter the URL

The Best & Fastest way:
1. Tap app icon

To add the SCADA app icon to home screen, simply follow the steps below.

Launch the browser app from your smartphone or tablet (despite any Operating System). For example, the Chrome browser app. Then type or open the URL for your IGX SCADA project, as shown in a smartphone screenshot below.

how to add URL link as icon in smartphone tablet homescreen

Then, tap on the top right corner to reveal the menu (it should be a drop down with listed options). Then select the option for “Add to Home screen“, as shown in screenshot below.

how to add URL link as icon in smartphone tablet homescreen

After that, you can notice an additional app icon now appeared in your homescreen, which is the shortcut to your SCADA system. You can now simply tap on it and open the HMI of your SCADA project instantly.

Every software has its best practice(s) of using. For Ecava IGX SCADA, there is a useful setting called “Triggered By”, which is a compulsory setting for several modules like Script. This setting determines how should the particular action or event be triggered.

Script module is very useful in SCADA projects, especially when you have specific conditions to meet or need to have advanced mathematics function for certain parameters, or other advanced functions to program. Now the question is, how do you configure to execute these scripts in your project? Do you need to keep them running for every second? The clever way here is to use event based trigger, i.e. trigger it by event instead of timer.

For instance, if you want to execute a calculation ONLY when a button in HMI is clicked, then you wouldn’t want to execute it when there is no action sent from the button. In that case, you should configure the script to be triggered by event. This will ensure the system to avoid unnecessary background operation that might drag the process time.

Example

As shown in screenshot below, let’s say ‘calculation’ is a script to calculate some selected parameters from input devices. The requirement here is to only perform the calculation when the operator hits on “Start” button. So that it can capture the correct set of data for calculation execution.

scada best practice script trigger by action event

For this scenario, select “Tag” (instead of “Timer”) for the setting “Triggered By”, so that the script will only execute when there is a trigger to the selected tag’s value.

Kiosk mode is essential in industrial automation, because SCADA/HMI are normally presented in kiosk mode. By doing so the whole package shall appear more “panel” like instead of an ordinary computer browser. But other than application in automation projects, kiosk mode is widely used by system administrators to provide the browser in limited/restricted user access. Some great examples will be the usage in laboratories, schools’ libraries, information kiosks, etc.

In fact, kiosk mode feature is provided in most of the commercial modern web browsers. Some of you may ask, why not just press F11 key? Well, pressing F11 key does make your browser “appear” as kiosk mode, but in fact it only serves as a full screen mode, users can still easily escape by pressing F11 again. One of the main purposes for kiosk mode is the limited access, in certain circumstances the less the user can access the better.

There are plenty of online guides on how to set the kiosk mode for different browsers separately. This blog serves as the helpful reference guide to achieve kiosk mode for some popular web browsers.

Google Chrome:

Google Chrome no doubt is one of the most widely used web browsers in these days. In order to launch the browser in kiosk mode, simply follow the steps below:

– Right click on chrome.exe and create a shortcut. (or you may just use the shortcut created upon installation)
– Right click on the new shortcut and select ‘Properties’.
– Then click on “Shortcut” tab and add --kiosk at the end of the Target field.
– Optional: You may also set to launch a particular URL in kiosk mode every time, for example as shown in the figure below.

kiosk mode web browser Google Chrome setting

By setting this, you can simply double click on the Google Chrome shortcut, then the web browser will be launched in kiosk mode. (If you have added an URL in the parameter, then it shall be loaded upon launch)

Internet Explorer:

If you are using Microsoft Windows operating system, then launching Internet Explorer in kiosk mode will be easiest.
– Click on “Start” menu
– Type in the command bar: iexplore -k [page]
Note: [page] indicates the page you wish to launch, for example to launch a website, type iexplore -k https://www.integraxor.com.

kiosk mode web browser Internet Explorer

Mozilla Firefox:

In order to achieve kiosk mode in Firefox, you are required to install plugin or add-on. However, there are plenty of free plugins available in the Firefox store (e.g. mKiosk, R-kiosk, etc.). One of the benefits of using any of these plugins is you get to have more options to configure your kiosk mode.

Opera:

Launching Opera in kiosk mode is pretty similar with Google Chrome. The switches are simple, which is /Kioskmode. But unfortunately, only the older versions of Opera supports this feature.


Alternatives:

Of course, you can always opt for the alternative, i.e. use a kiosk software. In this way you get to enjoy the feature for every applications you wish to present in the limited access way. Ecava Kiosk-it is the great tool you should consider. It is the kiosk software that requires absolutely zero plugin and tiny in size at the same time. You wouldn’t need to worry about any heavy resources consumption that would burden your system, because there is none.

Ecava Kiosk-it

Benefits of using Kiosk-it over web browser kiosk mode:

  • Provide even more limited access, where the most important escaping keystrokes are disabled (yes, including ALT+F4).
  • Protect your application from being access beyond what it should.
  • Independent from a certain web browser. You do not need to worry whether your web browser provides kiosk mode feature, you can easily launch any destination by using Ecava Kiosk-it.
  • Read more benefits HERE.

One of the things we love about Ecava Kiosk-it is that it is so simple, almost zero configuration, and yet you can achieve what you want for a kiosk software!

Imagine you need your HMI to display the map of your process plants across the world, so that you can control / monitor them via simply clicking on their map locations on screen. Although you can always design the HMI with a stilled map image and labels, but it is always better if you can embed an accurate and dynamic map like Google maps.

Ecava IGX SCADA can achieve what you wish. With the freedom to customize and 100% flexibility, you can now integrate your project with Google Maps easily with only a few lines. We understood your requirements to integrate SCADA with Google Maps, therefore it is possible to implement live data monitoring on Google Maps.

Step 1:

Basically, the integration can be done via a simple javascript function in HTML, for example as shown in screenshot below.

Ecava IGX SCADA Google Maps integration

You can display your desired tag(s)’ live data on any coordinates specified on the map. This example function will open an info window when user clicks on the marker on the Google Maps, in which the info window consists of a SCADA tag data.

Step 2:

Simply customize and design the HTML file in any way you like, then add it as one of the screens in Ecava IGX Project Editor. Next, just run the project, and from the HMI web browser, navigate to the map page which you have added. For this example, the outcome will be as shown in screenshot below.

Ecava IGX SCADA integrate Google maps

 

Most of the time, when creating a HMI screen, we are required to include company logo or relevant images. These images are mainly in raster form, normally saved as JPEG or PNG file format. Since Ecava IGX SCADA uses SVG for HMI screens, inserting raster images into the SVG is never a problem by using Inkscape SAGE. However, there is an optimum way to achieve that while maintaining the project efficiency. (Credits to Joshua JYN, our front-end engineer for sharing these tips.)

Basically, there are two ways of inserting raster image (JPEG / PNG) into SVG:
1. Embedded
2. Link

By inserting raster image (JPEG/PNG) as embedded image into SVG, the image is saved within the SVG file, i.e. the SVG file size will be the summation of that raster image and its original size. This great increase in SVG file size will then affect the performance of HMI loading in Ecava IGX. In short words, by choosing to embed the image in the SVG will result in slower loading time during SCADA runtime.

Hence, the better way is to insert the raster image (JPEG/PNG) into SVG as a link. By using this method, the raster image must be first added into the project folder, and then link them into the SVG file. By doing so, the SVG file size can remain optimized and lead to efficient loading of SVG during runtime.

Inserting raster image (JPEG/PNG) into SVG as a LINK

Step 1: Copy the image(s) into project folder

Make sure you add the image(s) into project image folder, which is ‘PROJECT_FOLDER/images/’ folder path. Refer to screenshot below for example.

Step 2: Add the raster image(s) into SVG

Open your SVG file using Inkscape SAGE (download here), drag and drop the raster image into the SVG. You will be prompted the image import dialog as follows.

Select the option “Link” to add the image as link image. For scale image preference, use “Blocky” so that the performance of the SVG loading can be optimized.

Useful tips:
– To position your image, drag and drop your image in the SVG.

– To scale you image, click onto the image to reveal the resize handle, click and hold “CTRL” button, and resize the image using the resize handle.

The purpose of UG is to give guidance to user. There’s no hard and fast rules in writing user guide, but below are 10 checkpoints to write a good User Guide. The essence here is to teach user to use a product completely, although User Guide is very much describing User Interface.

  1. It should have a short intro explained what is it, the concept/flow, and the problem that being solved.
  2. Every UI, window or popup must be presented in screenshot, unless it’s tabulated input.
  3. A tabulated configuration can be presented in listed form, all items must be explained.
  4. Every single UI element like button, text input and etc., must have explanation.
  5. All possible options/parameters shall have its purpose/effect explained.
  6. Any syntax oriented entry/feature must furnished with example and its possible output.
  7. Known issues must be alerted with warning.
  8. Every special condition/handling must be described in note.
  9. Any additional good to know information can be described in tips.
  10. It’s best to have a How-do-I… section to show user how to achieve certain task.

A good UX design should be able to stop user from asking how-do-I, and user guide role could also help to stop user from asking. And in case it still being asked, then the answer in steps must be incorporated and updated into the UG. When a question is being asked repeatedly, it could be tempted to create an FAQ section. However, the best approach is to improve the UX in order to stop the same question being asked again. You know, some users just don’t read that fantastic manual…

philosophy kill repeated question by writing user guide
Our philosophy is to kill a repeated question permanently to reduce technical support work, so we always try to improve our U.G. whenever possible. If you have some tips in writing user guide, do share in comment below.

Clonezilla Live is a partition and disk imaging/cloning program for single machine. Basically it is a useful tool to perform disk backup and recovery. It is a bootable GNU/Linux distribution for both x86 or amd64 based computers. One of the best things about Clonezilla is despite it is an open sourced tool, you can use it for any OS, regardless it is Microsoft Windows, Linux, or even Mac OS.

System backup and restore are never a surprise job for engineers at site. Once awhile the system may require routine system maintenance or server reformat, or even encounters for major situations like migrating the backbone automation system. These are the scenarios where Clonezilla can become handy.

To use Clonezilla, first you will need to install it in a bootable media in order to launch it.

Tools needed:

  • USB drive (or CD/DVD if preferred)
  • Clonezilla ISO image (download here)
  • Image burning tools (Example: Tuxboot)

A bootable media can be either a CD/DVD, USB drive, hard drive, or even a PXE (Preboot eXecution Environment) server. In this guide we shall just use a USB drive, which is a more popular demand nowadays.

Step 1:
Download Tuxboot (based on your own Operating System), then double click to launch it.

In Tuxboot dialog, select “Pre Downloaded”, choose “ISO”, then locate your Clonezilla ISO image file. Plug in your USB drive and select “USB drive” as shown in screenshot. After that click on “OK” to proceed.

tuxboot setting iso image usb drive

Step 2:
The burning process shall start with progress bar showing in percentage (%). Wait for it to finish then click on exit and safely remove your USB drive.

tuxboot process iso image usb drive

Boot your device:
Now that you have created a bootable USB drive with Clonezilla inside. Power off your system, with your USB drive plugged in, startup the system. Press on “Esc” or “F12” key (depends on your machine) to enter the Setup and select to boot from your USB device.

After making the selection, your system will boot from USB and Clonezilla Live boot menu will be shown as following screenshot.

clonezilla live boot menu

And it’s done, you can proceed to perform cloning or restoring easily using this great tool.

Do NOT follow this link or you will be banned from the site!