Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - csam

Pages: [1]
1
Tips & Tricks / Re: AdvancedHMI on a Raspberry Pi
« 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



Pages: [1]