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 - milos

Pages: [1]
1
Support Questions / Re: AdvancedHMI+Raspberry Pi - error
« on: October 30, 2017, 08:24:33 AM »
Great!

This application runs on Raspberry properly without errors.
So something wrong is in Visual Studio side.

Thank you, guys!

2
Support Questions / Re: AdvancedHMI+Raspberry Pi - error
« on: October 27, 2017, 06:10:47 PM »
Phrog30: This is great an idea! Please, can somebody do it for me?

3
Support Questions / Re: AdvancedHMI+Raspberry Pi - error
« on: October 27, 2017, 06:09:23 PM »
Hello dmroeder!

My app is simplified down to one label, as I wrote before.

Now, I wrote simple "Hello world" console application, copied it to Raspberry. Works fine.
Next, I wrote simple window application using Windows Form. Runs on Raspberry as well.

I created those apps both in Visual Studio 2015 and 2017. OK.
But if I'm trying run even the simplest AHMI app, always getting the above-mentioned error :-(

4
Support Questions / Re: AdvancedHMI+Raspberry Pi - error
« on: October 25, 2017, 03:51:20 PM »
Godra,

searching through forums was the first thing I did. Of course, I know this topic you mentioned.
I followed instructions on Mono homepage as well. Unfortunately, it seems to me that AHMI on Raspberry works nicely for everyone except me :-(
As you can see, I cannot even start AHMI.
My application is pretty simple, only two gauges and few labels on one page. I simplified it down to one label, but the problem persists.

There must be something I missed, but what? Or can be the problem in Raspberry (3, B+) itself?

5
Support Questions / AdvancedHMI+Raspberry Pi - error
« on: October 23, 2017, 04:19:07 PM »
Hello all,

Im new both in AdvancedHMI and Raspbian. I have a big problem. Cannot run AdvancedHMI on Mono:

pi@raspberrypi:~/bin/Debug $ mono AdvancedHMI.exe

Unhandled Exception:
System.InvalidProgramException: Invalid IL code in System.Windows.Forms.Application:SetCompatibleTextRenderingDefault (bool): method body is empty.

  at MfgControl.AdvancedHMI.My.MyApplication.Main (System.String[] Args) [0x00007] in <6b3a05ddcb9b406895d49466ab68072f>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidProgramException: Invalid IL code in System.Windows.Forms.Application:SetCompatibleTextRenderingDefault (bool): method body is empty.

  at MfgControl.AdvancedHMI.My.MyApplication.Main (System.String[] Args) [0x00007] in <6b3a05ddcb9b406895d49466ab68072f>:0

Raspberry Pi 3B+, Raspbian, updated, installed last Mono. Visual Studio 17.

Any ideas? Please help me.

Milos

Pages: [1]