Author Topic: 3.99 not working on Raspberry Pi  (Read 1858 times)

toolmanhoss

  • Newbie
  • *
  • Posts: 5
    • View Profile
3.99 not working on Raspberry Pi
« on: September 18, 2015, 10:35:00 AM »
I had some projects that were working with 3.98j really well.  I tried 3.99 so I could use the ChartByArray, but the Raspberry won't load up the new 3.99 project.  Do you know of anything that might have changed in the new version?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: 3.99 not working on Raspberry Pi
« Reply #1 on: September 18, 2015, 12:16:11 PM »
Will any application not work or just an application with a chart does not work?

toolmanhoss

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: 3.99 not working on Raspberry Pi
« Reply #2 on: September 18, 2015, 02:26:49 PM »
I have tested it with just a basic label and a meter and it works fine.  As soon as I add the chart, it just stays at a black screen and never loads the exe

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: 3.99 not working on Raspberry Pi
« Reply #3 on: September 18, 2015, 03:54:10 PM »
The ChartByArray is based on the chart component in System.Windows.Forms.DataVisualizations. I suspect that Mono does not have an implementation of that class library. Fortunately the Windows class libraries are binary compatible with Mono. You may be able to make this work like this:

- Right click the AdvancedHMI project in Solution Explorer and select properties
- Go to the References tab
- Select System.Windows.Forms.DataVisualizations
- In the Properties Windows change Copy Local to True
- Rebuild the application and try it again

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: 3.99 not working on Raspberry Pi
« Reply #4 on: September 18, 2015, 05:42:43 PM »
I tried a few things with this, but have not been able to make it work. Apparently the mono implementation of the library is not complete and mono does not like something about Microsoft's DLL.

The way it looks I'm afraid to say that charting may not be possible on the Pi.

toolmanhoss

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: 3.99 not working on Raspberry Pi
« Reply #5 on: September 22, 2015, 07:05:34 AM »
Ok, thank you for looking into this for me