Upload
dothu
View
228
Download
3
Embed Size (px)
Citation preview
� Dragonfly Version 6
Indi.Systems GmbH | Universitätsallee 23 | D-28359 Bremen
Tel. + 49 421-989703-30 | Fax + 49 421-989703-39
User-friendly | Cross-platform | Industry 4.0 | Web Viewer | Smartphone-App | Free Hotline
QuickHMI with Raspberry Pi
Documentation
Documentation | QuickHMI Dragonfly - QuickHMI with Raspberry Pi
Program documentations as a video? www.youtube.com/c/Quickhmi_Indi-systems 2
Table of contents
1 Automated QuickHMI installation for the Raspberry Pi ........................................................................ 3
2 Manual QuickHMI Installation for the Raspberry Pi .............................................................................. 4
2.1 Creating system requirements ........................................................................................................ 4
2.2 Installing QuickHMI on the Raspberry Pi ........................................................................................ 5
3 Do you have any questions?................................................................................................................... 6
Documentation | QuickHMI Dragonfly - QuickHMI with Raspberry Pi
Program documentations as a video? www.youtube.com/c/Quickhmi_Indi-systems 3
1 Automated QuickHMI installation for the Raspberry Pi
1. Open the terminal
2. Enter the following commands:
� wget http://www.quickhmi.de/linux/qhmi_RPI.tar
� tar – xvf qhmi_RPI.tar
� sudo ./qhmi_RPI_requirements.sh (If you haven't installed Oracle Java or JavaFX)
3. Follow the instructions in the terminal
4. If the system requirements are met, enter the following:
� sudo ./qhmi_RPI_install.sh
After completing the installation process, you can configure your project on the Raspberry Pi.
Enter the following commands:
java –jar /home/quickhmi/QuickHMIServer/qhmi_console_rm.jar
At next a selection menu open, where you can configure your project and import your license(s).
When the configuration is complete, use the following command to start the QHMI server on the Raspberry Pi:
sudo /etc/init.d/qhmiserver start
Now you can connect to your project.
Documentation | QuickHMI Dragonfly - QuickHMI with Raspberry Pi
Program documentations as a video? www.youtube.com/c/Quickhmi_Indi-systems 4
2 Manual QuickHMI Installation for the Raspberry Pi
2.1 Creating system requirements
The following steps shows you, how you can create the system requirements for the Raspberry Pi. If you like it more
convenient, you can download a finished image on our homepage www.quickhmi.de. With this image you can use
QuickHMI on the Raspberry Pi without further effort.
How you prepare your Raspberry Pi for use with QuickHMI?
1. Open the terminal and enter following commands:
� sudo echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | sudo tee
/etc/apt/sources.list.d/webupd8team-java.list
� sudo echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | sudo
tee -a /etc/apt/sources.list.d/webupd8team-java.list
� sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
� sudo apt-get update
� sudo apt-get install oracle-java8-installer
2. Download JavaFX Embedded SDK from:
http://gluonhq.com/open-source/javafxports/downloads
3. Unzip the downloaded archive
4. From the terminal, navigate to the unzipped folder and enter the following commands:
� sudo cp rt/lib/ext/jfxrt.jar /usr/lib/jvm/java-8-oracle/jre/lib/ext
� sudo cp rt/lib/arm/* /usr/lib/jvm/java-8-oracle/jre/lib/arm
� sudo cp rt/lib/javafx.platform.properties /usr/lib/jvm/java-8-oracle/jre/lib
� sudo cp rt/lib/javafx.properties /usr/lib/jvm/java-8-oracle/jre/lib
� sudo cp rt/lib/jfxswt.jar /usr/lib/jvm/java-8-oracle/jre/lib
Now all the prerequisites for using QuickHMI on the Raspberry are given.
Documentation | QuickHMI Dragonfly - QuickHMI with Raspberry Pi
Program documentations as a video? www.youtube.com/c/Quickhmi_Indi-systems 5
2.2 Installing QuickHMI on the Raspberry Pi
1. sudo adduser quickhmi (passwort: indi)
2. su quickhmi
3. cd /home/quickhmi
4. wget http://www.quickhmi.de/linux/QuickHMIServer.tar
5. tar –xvf QuickHMIServer.tar
6. su
7. nano /etc/init.d/qhmiserver
* ---> (In the appendices document you will find the content to be entered)
8. chmod +x /ect/init.d/qhmiserver
9. cd ..
10. cd ..
11. mkdir /log
12. chmod 777 /log
Now you can configure your project on the Raspberry Pi.
Enter the following command in the terminal:
java –jar /home/quickhmi/QuickHMIServer/qhmi_console_rm.jar
In the selection menu you can configure your project and read in your license (s).
Use the following command to start the QHMI server on the Raspberry Pi:
sudo /etc/init.d/qhmiserver start
Now you can connect to your project.
Documentation | QuickHMI Dragonfly - QuickHMI with Raspberry Pi
Program documentations as a video? www.youtube.com/c/Quickhmi_Indi-systems 6
3 Do you have any questions?
If you have questions about our product QuickHMI, please call us on our free hotline or send us an email.
Free hotline: 0800 - 72 35 102
Email: [email protected]
We will process your request promptly or respond to you directly.