RAPMAS PMS Software
- Installation process
- First running
- Final words
1. Installation process
Download the RAPMAS Pressure Measurement System and start the installation program. At the very beginning of the process, You will be asked to choose the language of the installation. This language will be also used later in the program but can be easily changed later.
You can choose between the following languages:
- English (default)
You choose the language click on the Next button. A welcome message will appear that inform You about the software installation begin.
Click on the Next button to arrive in the Licence area. Please read the license and if You agree with it, click on the “I Agree” button.
If You don’t agree with a Licence, please click on the Cancel button and delete the installation file. Note that for the usage of RAPMAS PMS Software is the accepting of Licence mandatory.
In case You accepted the Licence, the next step is to choose the sensor You have. The RAPMAS PMS is sold with pressure sensors from 2 Bar until 110 Bar.
The installation directory is the next step. In most cases is enough that You leave it as it is, but in case You wish another location, You can specify it right now. RAPMAS PMS Software is not space intensive, so is 200 MB storage space more than enough.
The Start menu setup is the next task in the installation process. At this part, You can define the name in the Start menu. If You don’t have any special reason to change, leave it as it is.
After the installation process is done, You can see the Finish window. At this point is the program successfully installed on your PC and is ready to start it.
2. First running
Connect the measuring device over USB to PC. Find the program in the Start menu and run it. The program will start and You can see the main menu. To use the program, first You need to configure the program. Go to File -> Settings In the Setting window You can configure all the parameters and options that are supported by RAPMAS PMS Software.
For a first, You need to find the Device port in General settings. Click on the Scan button and wait some seconds. From the drop-down menu choose the COM port where is You device detected. In a case that You have more that one port, choose all of them, or remove the other connected device, to distinguish between it.
In a General settings part, You can also change the Language and the Unit that is used in GUI.
You made all the changes, click on the Save button in the right bottom corner and close this window. Restart the program by File -> Exit
Run the program again and go to File -> Connect.
The main information window will appear and You can read the pressure data from Your USB device.
In the Real-time data tab, You can see three gauges in the bottom part of the main window. Two of them have blue colored gauges. These two gauges show the pressure value from both sensors of You USB pressure meter. In a middle is one gray-colored gauge for differential value. On the bottom of the gauges can You see the current unit (can be changed) as the digital number with two decimals.
Above the gauge is a graph line. It shows the graphics of the last 10 minutes of measurement. With this graph, You can always see how changed the pressure in the last 10 minutes. This function is integrated for all three gauges.
The Other units tab contains a real-time presentation of current measurement in the following units: Pascal, Hectopascal (or millibar), PSI, technical atmosphere, standard atmosphere, mmHg, centimeter water column, the meter of the water column, an inch of the water column, feet of the water column, Torricelli, barye, and pieze. In the left column named Enabled can You enable or disable a unit that needs to be presented.
Recording of a measurement can be done by clicking on the tab Record measurement. To make a recording, for a first You need to create a file where the recorded data will be stored. To do this, click on the Browse button. The duration can be set in minutes, minimal 1 minute. By clicking on the Start button begins the logging. With a Stop button can You stop the measuring. With the Elapsed time function You can check how long is the measuring running.
In the right part of the window is the table where You can load the data. The data loading can be done with buttons on the left bottom side. Read from current can You load data while recording.
To open settings, please go to File -> Settings. You made any change, please restart the program because the new settings will take effect after a restart. This window contains settings for the next parts:
- Program settings
- Local alarm
- eMail alarm setup
- Database setup
- Web client setup
- SSH client setup
The Program settings window is made to set up the main program. The general setting can be defined as the Device port. Is a software serial port on Windows from the USB adapter where is the USB pressure meter connected. A language menu allows You to choose between supported languages. The Unit is used to change the measurement unit in RAPMAS PMS.
A gauge setup can be used for setting up the front gauges. The minimal value is for the beginning of the gauge, maximum is for the end of the gauge. The step value can be used to define the main step between the beginning and end of the gauge.
The web server setup is used to define a port where the server listening for incoming connections. You can use any port between 1025 and 65535. You have to choose a free port. Please note, there is no username and password for data protection. Because of this, the webserver can be accessed only from localhost, and not from internal or external networks. You can access it over address: http://localhost:PORTNUMBER
The Local alarm is the very basic alarm function of RAPMAS PMS Software. Is made to inform You that pressure exceeds a limit that is predefined. You have the possibility to choose between visual alarm and visual and audio alarm. The visual alarm is shown as a warning window and You can close it by clicking on the Stop button.
The Local alarm settings window contains an enabled checkbox, that must be checked to activate this function. If the pressure is under the minimum value or over the maximal value, the alarm will be activated. The AND/OR rule is made to define is enough that one sensor triggers the alarm, or the alarm condition must be fulfilled for both sensors. The values must be written in the unit You choose on the first setup of the program. If You change later the unit, You must also change the values according to the new unit.
The last checkbox is to activate the Sound warning by activated the alarm. In a case that is checked, a warning sound will be played.
If You wish to test the alarm behavior just click on the Test button. You made the setup and saved the data, please restart the RAPMAS PMS Software application.
eMail alarm setup
eMail alarm is made to receive an email if the pressure in the system exceeds the predefined range. Is very useful if the alarm will not occurs often but You need to be informed with email. If You made a mailing list, You can send this email to more people. A mail alarm is also good for documentation of the triggering of over or under pressure because it will send the value of the pressure in a moment of the alarm.
You see, the settings page is divided into 3 parts: alarm setup, email server setup, and the email text.
The alarm setup defines a pressure value that can trigger the email sending an alarm. If the pressure falls under the minimum value or exceeds the maximal value, the email will be sent. The repeat time value is defined in minutes and represents the time that must elapse between two emails. This is made to prevent mail flooding. Please note, that in this time (minimal 30 minutes), the threshold for alarm can be triggered but no email will be sent before the time is elapsed. With the AND/OR rule is defined is enough that one sensor reaches the pressure of alarm condition or this must occur on both sensors.
To enter a mail server parameter, use the eMail server setup part. Here You can define a mail server address and other parameters for email sending.
If You don’t own an email server, You can set up a Gmail account and use Google Gmail to send a pressure alarm. To do this, please register an additional Gmail account and check the “Allow less secure apps to access your Gmail account”. The above-mentioned part is to be found if You login to Gmail, navigate to My Account, and scroll down.
To use Gmail for sending pressure alarms, use next server parameters:
SMTP server: smtp.gmail.com
SMTP port: 587
From address: email@example.com
To address: firstname.lastname@example.org
The Email text box is made to write a message that will contain some additional information, like instructions or information about the pressure system, measuring points, etc.
With the Test button, You can send a mail with a configured parameters. Please note, that after You made the setup and saved the parameters, is necessary to restart the application.
At a modern environment is a SQL based data storage a standard procedure. The huge advantage of the SQL databases is that can easily be scalable, light to maintains, easy to use with other applications, and web pages. The modern 4. generation SCADA use also a web-based system to interoperate with different modules. RAPMAS PMS Software supports MySQL(MariaDB) and PostgreSQL databases.
The main database system is divided into two parts, depending do You need an UPDATE or INSERT functions. You can configure both of them and use different database systems to store Your pressure data.
The server type can be MySQL(this is to use also for MariaDB) or PostgreSQL. The server address can be the IP address or an FQDN. The default port for MySQL is 3306. PostgreSQL uses default 5432 as a port. If the port deferred from above mentioned, please write the exact port number in a field. Username and Password fields are used to store the credentials for the database access. Please note that a password can’t be empty. The database and table are used to define the storing parameters. To choose how often is needed to make the SQL query, use the Interval field. This field is stored the time in seconds between two SQL queries and it can’t be lower than 5 seconds.
Before You setup the RAPMAS PMS Software for storing pressure data in SQL database, please check the correct SQL server setup. You must allow access to the SQL database for the account You wish to use from the PC where is the USB pressure meter connected. Often is needed to allow the connection from the IP address from this PC to the server, if is this two different PC-s.
Also, by UPDATE function, You must first insert one dummy data, the will be later updated. If You don’t have any record in the UPDATE table, and You try to make an UPDATE query, You will have no data. RAPMAS PMS Software use the next SQL queries:
For INSERT function:
INSERT INTO table_name (sensor1, sensor2) VALUES ( ‘sensor1_value’ , ‘sensor2_value’ );
Please note that a table has to contain a column named sensor1 and sensor2 .
For UPDATE function:
UPDATE table_name SET sensor1=’sensor1_value’, sensor2=’sensor2_value’;
Please note that a table has to contain a column named sensor1 and sensor2 .
With a Test button, You can always check is the query will be done or not.
Web client setup
In a modern world is the HTTP based data transmission the best and reliable way. Because of this is the 4. generation of SCADA web-based. RAPMAS PMS Software also supports web-based pressure data sending. Also, the system is used to make an alarm in a case that is needed. It supports username and password-protected access to HTTP resources, over the SSL layer with POST and GET methods.
The URL statistics setup contains the URL field. Here is to write the full URL, like https://www.mycompany.com/pressure_stat.php The method is to choose which is accepted from Your script. It can be a PORT or GET. Please note that a server sends the values like sensor1=sensor1_value and sensor2=sensor2_value . The username and password field is here to define the access parameters to the URL. In a case that is not needed leave it empty. The interval parameter defines a time that needs to be elapsed between two HTTP requests. In case You need a special user agent to access Your site, you can define a custom user agent that will be used by the access of the page.
The URL alarm parameters are used to send an alarm signal over HTTP is the pressure reaches a critical condition. The main setting is the same as for statistics, but with a difference for alarming threshold. If the pressure is lower than the minimum value or higher as the maximal value, it will trigger the alarm. As an additional parameter, You can define the AND/OR rule. AND rule define that the alarming condition must occur on both sensors. OR rule alow You that an alarm occurs on one of the two sensors to trigger the alarm.
SSH client setup
A modern IT environment contains almost ever a Linux or UNIX system. These powerful operating systems are the base of the modern internet and a lot of SCADA systems running on it. The SSH is a protocol that allows You secure shell access from a remote server and execution of commands on it. The RAPMAS PMS Software support both statistical data collection and also alarming function for pressure system over SSH.
For a first, You need to set up SSH access parameters. The server address can be an FQDN or just an IP address. The default port for SSH is 22 but often is changed to higher ports. Username and password are credentials for login. Please note in a moment is the login with key-based authentication not supported. By clicking to the test button, You can check is the connection made or not.
The SSH statistics setup is a place to define a program and parameters that need to be run. As command use the full path, like /bin/logscript.sh
Sensor1 and Sensor2 names are the switch parameter names.
For example, if names are –tank1 and –tank2, the execution command will be:
/bin/logscript.sh –tank1 99.99 –tank2 99.99
If You leave the sensor name parameters empty, the command will look like:
/bin/logscript.sh 99.99 99.99
With the interval parameter, You can define how often will the RAPMAS PMS Software send she SSH command with a pressure data.
The SSH alarm is almost the same as the statics part, with a difference that You can set up the pressure values for trigging the alarm and You chose to send or not to send the sensor data.
RAPMAS PMS Software contains some useful tools that You can need in all day working in the industrial environment.
Some sensors and software use different pressure units. Having a fast and integrated converter make Your life more easily.
The RAPMAS PMS Software integrated convertor for different pressure units allow You to convert between 14 different units.
The Calibration curve calculator is a strong tool by statistical calculation in pressure-based systems. Can be used to prove other systems and measuring elements. Also, a dependency of pressure with other factors, like heat, electrical usage, etc can be easily calculated.
The tool has on the right side a table with X-axis and Y-axis column. You fill with corresponding data, just click on the Load button. The pressure Calibration curve calculator will automatically make a graph and the statistical calculation.
The RAPMAS PMS Software will automatically calculate the next statistical parameters:
- Linear regression
- Coefficient of correlation
- Coefficient of determination
- F test for regression
- Student’s T-test
If You need a new calculation, please click on the Clear button and fill the field again.
Load CSV data
In analyzing the process of pressure behavior in different systems is the data logging the main tool. The interpretation of the CSV pressure data requires a tool for graphical presentation of pressure changes in the time range.
If You recorded the data, You can load it by clicking on the Browse button.
After a data is loaded, You can change the values by double-click in the cell. The Graphic generation tab contains the graphical curve of pressure value in time, with a one-second resolution.
5. Final words
Pressure measuring with the RAPMAS PMS USB pressure meter is easy and fast. With a low price and good quality, You can always know the exact pressure. Different supported statistical methods make it easy to log pressure data in databases, web sites, or even on remote Linux or Unix servers. An alarm function can save You from to high or to low pressure.