First of all, fell free to send corrections or alternative ways to this method 🙂
The main goal of this page is instruct how to install the latest PascalSCADA snapshot on the latest Lazarus version. Why I don’t explains how install it on Delphi or on a outdated Lazarus version, is question to another page, or feel free to send the instructions to install it on the desired IDE.
Warning: The current PascalSCADA package will install others packages together with PascalSCADA. The packages are:
- ZeosLib 7.2
So, if you dislike some of these packages, feel free to create a new package without the undesired package.
BIG Warning 2: The PascalSCADA isn’t like others SCADA systems. It’s a package, plugin or a add-on (you name it) for Lazarus to enable it to create HMI/SCADA applications. So, a wizard with Next, Next then finish buttons will be not available.
What I need before start?
- Latest Lazarus version. If you are a Windows user, you can get Lazarus from: http://www.lazarus-ide.org/. If you are a Linux/FreeBSD user, you can get it from your package system.
- Latest PascalSCADA: available on this link.
- WinRAR or something else that can decompress .bz2 files.
Well, the first to be installed is Lazarus. I don’t want explain how to install Lazarus on any OS/platform that exists on this world, because install Lazarus is a very simple task, both on Windows (With wizard next, next and finish) or on Linux (Linux Mint 17.3 here: sudo apt-get install….). At the end of Lazarus install process, you should open it and see something similar to this:
If you see your fresh Lazarus similar to this, you are on the right way. The next step is install the PascalSCADA package. Please forget the Lazarus by a moment. Go to your Downloads folder and find the downloaded PascalSCADA and extract it to a folder of your choice.
After extract your file, return to Lazarus and select the menu bellow:
Click on this menu. A open file dialog will be showed:
Navigate to the folder where you extracted the PascalSCADA. You should see the following files:
If you don’t see one of these files, check your downloaded file, paths. If everything is ok, you should see a screen like this:
Select the file “pascalscada_full.lpk” then open it. The package window of pascalscada_full file will be displayed:
The last step, is install it into your IDE. To do this, click on button “Use >>” then select install.
The package pascalscada_full is a metapackage, used only to make a complete install of PascalSCADA on your Lazarus. Because of this, you will be bored with some messages:
Click on “Install it, I like the fat” to continue the install. The next screen display a list with all packages that will be installed into your IDE, as displayed below:
More detailed view:
Click on OK to continue the install and get the final question, about the IDE recompile process, as you can see below:
To continue, click on “Yes”. The installation process will be started and your IDE will be recompiled. At the end of recompile process, the IDE will restarted. If you have a project with unsaved changes, take care!!
After the restart, depending of your PascalSCADA version, you should see the following component palete on your Lazarus:
If you see these tabs, congrats, you successfully installed the PascalSCADA on your Lazarus IDE.