Author Topic: AdvancedHMI on a Raspberry Pi  (Read 107853 times)

jsathern

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: AdvancedHMI on a Raspberry Pi
« Reply #90 on: December 02, 2019, 08:28:11 PM »
I'm new sorry.  :D did not know about the addressing

NaturallyAspirated

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: AdvancedHMI on a Raspberry Pi
« Reply #91 on: March 06, 2020, 05:34:45 PM »
Here is how to run an AdvancedHMI application on a Raspberry Pi

1) Download the Debian Wheezy image
http://www.raspberrypi.org/downloads/

2) Copy the image to the MicroSD card using Win32DiskImager
3) Install the card and boot up the Pi
4) When it gets to the configuration screen, set it to expand the image and also to boot to a Graphical User Interface
5) Select Finish in the configuration and Reboot
6) Once booted into the GUI, open a Command Prompt
7) Type these series of commands:

sudo su
apt-get update
apt-get install mono-complete
apt-get install mono-vbnc

8 ) Put in a memory stick with an AdvancedHMI application on it
9) In the command prompt, use the "cd" command to browse to the memory stick to the directory /bin/debug
10) mono AdvancedHMI.exe

In a few seconds the application should start.

There are a few things you may run into.

- You cannot use an OPC server because it is not a .NET application
- The MessageDisplayByValue may stop the application because it uses a speech library. There is a work around. Find System.Speech.DLL on your Windows PC and copy the file into the /bin/debug directory
Well hot dog, I got this working!

This is my first foray into Raspberry Pi and AHMI, - I have been mostly an Arduino guy.



I do have a question however, is there a connector, or way to harvest data from MySQL or an AWS RDS into AHMI directly?  I have the desire to have some direct device data, and some database data on AHMI.

Neal


Godra

  • Hero Member
  • *****
  • Posts: 1438
    • View Profile
Re: AdvancedHMI on a Raspberry Pi
« Reply #92 on: March 07, 2020, 06:06:14 PM »
Just search this forum for "MySQL" and you will see some topics that had discussed it, like these ones:

https://www.advancedhmi.com/forum/index.php?topic=1641.0

https://www.advancedhmi.com/forum/index.php?topic=2291.0

https://www.advancedhmi.com/forum/index.php?topic=2129.0

Google will probably provide a bunch more info on MySQL and .Net usage.


csam

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: AdvancedHMI on a Raspberry Pi
« Reply #93 on: May 28, 2020, 09:34:56 AM »
Hello folks!!! Newbie here....

I see that @NaturallyAspirated is still using and has success on Archie's 2015 post.
Is there an updated version where a detailed step instruction are provided for an absolute green newbie like me?
Would appreciate any link. Thanks in advance...
 
Here is how to run an AdvancedHMI application on a Raspberry Pi

1) Download the Debian Wheezy image
http://www.raspberrypi.org/downloads/

2) Copy the image to the MicroSD card using Win32DiskImager
3) Install the card and boot up the Pi
4) When it gets to the configuration screen, set it to expand the image and also to boot to a Graphical User Interface
5) Select Finish in the configuration and Reboot
6) Once booted into the GUI, open a Command Prompt
7) Type these series of commands:

sudo su
apt-get update
apt-get install mono-complete
apt-get install mono-vbnc

8 ) Put in a memory stick with an AdvancedHMI application on it
9) In the command prompt, use the "cd" command to browse to the memory stick to the directory /bin/debug
10) mono AdvancedHMI.exe

In a few seconds the application should start.

There are a few things you may run into.

- You cannot use an OPC server because it is not a .NET application
- The MessageDisplayByValue may stop the application because it uses a speech library. There is a work around. Find System.Speech.DLL on your Windows PC and copy the file into the /bin/debug directory
Well hot dog, I got this working!

This is my first foray into Raspberry Pi and AHMI, - I have been mostly an Arduino guy.



I do have a question however, is there a connector, or way to harvest data from MySQL or an AWS RDS into AHMI directly?  I have the desire to have some direct device data, and some database data on AHMI.

Neal



NaturallyAspirated

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: AdvancedHMI on a Raspberry Pi
« Reply #94 on: June 27, 2020, 10:55:55 PM »
Hello folks!!! Newbie here....

I see that @NaturallyAspirated is still using and has success on Archie's 2015 post.
Is there an updated version where a detailed step instruction are provided for an absolute green newbie like me?
Would appreciate any link. Thanks in advance...
 
I can help you walk though it.  It's pretty easy to do!

Neal

jrnoel11

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: AdvancedHMI on a Raspberry Pi
« Reply #95 on: November 07, 2020, 10:36:58 PM »
Dear Sirs

Could you help me to install AdvancedHMI application on my Raspberry pi 3+??

Bhupesh

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: AdvancedHMI on a Raspberry Pi
« Reply #96 on: February 22, 2021, 01:27:50 AM »
How to download AdvancedHMI.exe software to put it in RaspberryPi?
Kindly give me proper details with each and every step(How to go step by step)
So please reply ASAP.

Godra

  • Hero Member
  • *****
  • Posts: 1438
    • View Profile
Re: AdvancedHMI on a Raspberry Pi
« Reply #97 on: February 22, 2021, 05:09:08 AM »
The first and most important step is that you start reading.

You can choose to go from the very first post of this topic (which would be recommended) or just scroll up to the reply #93 and you will see the steps.

Bhupesh

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: AdvancedHMI on a Raspberry Pi
« Reply #98 on: February 22, 2021, 06:04:28 AM »
Where is an AdvacnedHMI.exe file or from where i can download it?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: AdvancedHMI on a Raspberry Pi
« Reply #99 on: February 22, 2021, 06:38:18 AM »
Where is an AdvacnedHMI.exe file or from where i can download it?
You don't download AdvancedHMI.exe , you use the base package to create your application

https://www.advancedhmi.com/index.php?main_page=product_info&cPath=2&products_id=20

Bhupesh

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: AdvancedHMI on a Raspberry Pi
« Reply #100 on: February 22, 2021, 11:09:22 PM »
How to start communication with Rpi from our Base Package and how can I check that rpi is responding?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: AdvancedHMI on a Raspberry Pi
« Reply #101 on: February 22, 2021, 11:50:32 PM »
How to start communication with Rpi from our Base Package and how can I check that rpi is responding?
Have you read the quick start guide?

Godra

  • Hero Member
  • *****
  • Posts: 1438
    • View Profile
Re: AdvancedHMI on a Raspberry Pi
« Reply #102 on: February 23, 2021, 02:50:24 AM »
Consider that RPi is just another computer.

You don't communicate with RPi at all, you only use it to load your finished application and run it from there.

You need to use the Base Package on a Windows based computer, create your application and, while creating it, can only test it with the direct connection to your PLC. Once you know it works, that is when you load it to the RPi and connect your PLC to the RPi as well.

RubiksMan

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: AdvancedHMI on a Raspberry Pi
« Reply #103 on: April 07, 2022, 07:37:40 AM »
Hi guys. I have got AHMI working on my Pi 4b 8Gb using Mono. The executable file loads fine and the HMI looks great so Mono definitely works well.

The issue I am having is with the Pi port labels. Unlike Windows which has easy "COM1" "COM2" etc it would seem that after a little bit of digging around the command lines on the Raspberry Pi my USB - RS485 cable seems to be attached to "ttyUSB0". However when I enter this port value into the properties box of the Modbus RTU driver and run it on the Pi it shows that "no such port address exists" ? . . . Any help would be most appreciated. Would love to get this to work on the Raspberry Pi.

Fito_IEBSA

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: AdvancedHMI on a Raspberry Pi
« Reply #104 on: June 16, 2022, 07:14:41 PM »
Hi, sorry, what OS is the RPi working with?
Could you guide me how mono is installed in RPi
and what version