1 Reply Latest reply on Mar 6, 2020 4:03 PM by Fred27

    Error when running winforms app on raspberry pi 3b+

    lhj1997

      Hi,

       

      I have a project of creating a learning-based UI on raspberry pi showing the function of a buck converter. I had created the .cs file successfully without any error on my windows laptop that can display the step line graph displaying the rectangular waveforms of voltage. I had also released the codes to get an executable file to be run on my raspberry pi with mono installed. The problem is that when I moved the .exe file and the other directories to raspberry pi, it showed an error when I tried to execute the file via mono command.

       

      UI created on windows laptop

       

      Error code received on the raspberry pi :

      Unhandled Exception:

      System.NotImplementedException: The method or operation is not implemented.

        at System.Windows.Forms.DataVisualization.Charting.Chart.BeginInit () [0x00000] in <8d5b59ea564545b4b5a25b6d84402f8b>:0

        at Raspbery_Pi.Form1.InitializeComponent () [0x00106] in <ec5d8e03b9d64f62b66f824e24b6c22b>:0

        at Raspbery_Pi.Form1..ctor () [0x0000f] in <ec5d8e03b9d64f62b66f824e24b6c22b>:0

        at (wrapper remoting-invoke-with-check) Raspbery_Pi.Form1..ctor()

        at Raspbery_Pi.Program.Main () [0x0000e] in <ec5d8e03b9d64f62b66f824e24b6c22b>:0

      [ERROR] FATAL UNHANDLED EXCEPTION: System.NotImplementedException: The method or operation is not implemented.

        at System.Windows.Forms.DataVisualization.Charting.Chart.BeginInit () [0x00000] in <8d5b59ea564545b4b5a25b6d84402f8b>:0

        at Raspbery_Pi.Form1.InitializeComponent () [0x00106] in <ec5d8e03b9d64f62b66f824e24b6c22b>:0

        at Raspbery_Pi.Form1..ctor () [0x0000f] in <ec5d8e03b9d64f62b66f824e24b6c22b>:0

        at (wrapper remoting-invoke-with-check) Raspbery_Pi.Form1..ctor()

        at Raspbery_Pi.Program.Main () [0x0000e] in <ec5d8e03b9d64f62b66f824e24b6c22b>:0

       

      I wonder if the chart is supported on raspberry pi. Could anyone please lend me a hand? Thanks a lot