Search Results

Search results 1-20 of 20.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Plotting graphs

    Sue - - emWin related

    Post

    Hi Sven, I thank you very much for your reply, and also for having put me in the right direction. Your technical support is really helpful and valuable to work with STemWin. So, I am going to work on this for my project and will keep you informed on the results. Thanks a lot again and I wish you a nice day. With kind regards, Sue

  • Plotting graphs

    Sue - - emWin related

    Post

    Hey Sven, I hope that you have been going okay.... My project has been progressing finely, and I thank you very much for your technical support in resolving the problems. The STemWin is a great tool and I am pleased on how it works for the graphics application. So far, I have managed to display 2 graphs (Current and Power) as shown on the previous page, with some values and scales. Also, the WIDGET_GraphXY.c example has helped me a lot. However, I have been experiencing the following issue with …

  • Plotting graphs

    Sue - - emWin related

    Post

    Hi Sven, I thank you very much for your reply. #1. Yes, I have done this. I had thought that the 2nd scale could be more complicated to do.... #2. I have been working on this function GRAPH_SetUserDraw() to implement the company logo. Indeed, the WIDGET_GraphXY.c example has got this function, so it helps to understand how it should be done. Have a nice day and with kind regards, Sue

  • Plotting graphs

    Sue - - emWin related

    Post

    Hey Sven, Learning from the WIDGET_GraphXY.c, I have managed to read and to display the measurement points. So, this is okay now. And I thank you for your technical support and help so far. Nowadays I have 2 questions regarding the graph display : #1. Plotting 2 graphs on the same display window, is it possible to have 2 different vertical Y axis sharing the same horizontal X axis ? The first Y axis for current measurements, and the second Y axis for power measurements. If this is possible, how …

  • Plotting graphs

    Sue - - emWin related

    Post

    Hey Sven, I have double-checked the break point and also the variables to get the values of the array registered into the _aI[] and _aP[] GUI_POINT array. That seems to be working, indeed. So, the point #1 is okay. Have a nice day and with kind regards, Sue

  • Plotting graphs

    Sue - - emWin related

    Post

    Good morning Sven, I managed to get your example code of WIDGET_GraphXY.c and learn from it about the GUI_POINT. This part interests me a lot : ... _aPoint[0].x = (int) (100 - r * cos(Rad)); _aPoint[0][i].y = (int) (100 + r * sin(Rad) * Deg / 360); .... So, inspiring from the above codes, I have done something similar : ... _aI[i].x = (int) Axis_U_Array[i]; _aI[i].y = (int) Axis_I_Array[i]; ... However, I have experienced the following issue with those codes : #1. Putting the break point just af…

  • Plotting graphs

    Sue - - emWin related

    Post

    Good morning Sven, I thank you very much for your quick and great reply : that helps me to move forward in my project. Further, I am going to implement this in my codes, and also to learn better the GUI chapter from your manual. Then, I will give you a feedback on how things work..... Have a nice day and with my kind regards, Sue

  • Plotting graphs

    Sue - - emWin related

    Post

    Dear Sven, I have got one question while working on my project : #1. When I work with the array, how can I convert the type uint32_t to the type GUI_POINT ? I have been trying to resolve this issue, but fail so far..... I thank you in advance for your technical assistance and with my kind regards, Sue

  • Plotting graphs

    Sue - - emWin related

    Post

    Hey Sven, I thank you for your reply, and also for the PID file. That is great! So, the codes work correctly as they are meant to : touch screen button works and so the graph. This will give a good starting point to rework on my project. Have a great day and with kind regards, Sue

  • Plotting graphs

    Sue - - emWin related

    Post

    Dear Sven, Great and thank you for your feedback : it assures me that my method is correct. As for the Touch Screen configuration with STemWin, I have been collecting the questions+answers about this subject from Segger forum. And even though there are still some unclear points for me, I have gotten better understandings about the subject. I am afraid that the Touch Configuration file has not been attached. So, may I ask you to send me this file ? I thank you a lot for your help and wish you a n…

  • Plotting graphs

    Sue - - emWin related

    Post

    Hello Sven, I am going to install and use Embedded Studio IDE, and understanding how it works..... Regarding your reply, my understanding is the following then : #1. The measurements start once an interrupt input (button) is activated. It is a single sequence measurement. #2. Read the ADC current and DAC voltage inputs. #3. Save the values in arrays : current, voltage and power points. #4. Reprocess these values and plot / display them on the screen window. #5. End of sequence. Please feel free …

  • Plotting graphs

    Sue - - emWin related

    Post

    Hey Sven, I thank you very much for your reply to my question. That is really great. I will require some times to take your example and make it work into my project, as I have been experiencing some technical issues with Atollic IDE, these last days..... But, as soon as I can make some progress on it, I will get back to you. Thank you again and have a nice day. With kind regards, Sue

  • Plotting graphs

    Sue - - emWin related

    Post

    Hi Sven, I hope that you have been doing okay.... So, I have been experiencing some technical difficulties with the graphical display of my project. And here are the points : #1. I can manage to measure and to display 2 graphs on the same window, however I am not able to make them suitable to my project. #2. The graphs of my project should correspond to the attached file below : photovoltaics I-U measurement. #3. And here are the detailed steps : #3.1. There are 2 measurements : the current I (v…

  • Plotting graphs

    Sue - - emWin related

    Post

    Hey Sven, I thank you very much for your reply and also for your recommendation tip about the super loop issues. I am going to work on using the timer to update the values. The super loop without dedicated 'user section' is situated in GUI_App.c file; and I going to post this in ST forum to resolve the issues. And I will get back here to let you know the results. My project has been progressing fine, and I am so happy about it. So, BIG thank you for supporting my technical issues with STemWin. Y…

  • Plotting graphs

    Sue - - emWin related

    Post

    Good morning Sven, I thank you for your helpful reply. So, your explication confirms my understanding about the super loop and also the several C files generated by CubeMX and GUI Builder. Using CubeMX 5.0.1 and GUI Builder to start a project, there are main, GUI_App, WindowDLG / FramewinDLG and also other files generated. The super loop in function GRAPHICS_MainTask() is not clearly dedicated for 'user code'. And consequently, when the same project is regenerated with CubeMX, all the codes that…

  • Plotting graphs

    Sue - - emWin related

    Post

    Hi Sven, I hope that you enjoyed your weekend. So, IT SIMPLY WORKS! And I am a happy guy. Firstly, I followed your suggestion about the timer and checked those 2 files. Activating the Systick handler had resolved this issue. Secondly, I made a step-by-step approach to work on the display. And yes, I am now able to display an image and also a window for the graph. Third step, I implemented your 2nd code in the graph window and can see its graph. So, that is a good step forward for me and I THANK …

  • Plotting graphs

    Sue - - emWin related

    Post

    Good morning Sven, I thank you a lot for your reply, and also for your recommendation. Indeed, I learn and get to know more about emWin and Window Manager on your detailed manual. It helps to better understanding about the subject. So, here are the steps that I have been taking : #1. Using GUI Builder to make simple and progressive samples, with the help of the manual. #2. Taking back the samples you have given me and implement them in my project. It is a bit difficult for me to say when I would…

  • Plotting graphs

    Sue - - emWin related

    Post

    Hi Sven, I thank you very much for your reply and support with my issues. This is nice of you. So, I started the project with CubeMX + GUI Builder + Atollic, then generated the code. I then copied the code you have given me in the FramewinDLG.c of the project. The code compiled successfully without error. However, the display screen is the same between before and after the implementation of the last code. Even the background screen did not change its colour to BLUE, as the code written after WM_…

  • Plotting graphs

    Sue - - emWin related

    Post

    Hi Sven, I thank you very much for your quick reply and your helpful help. So, I have created the project using CubeMX 5.0.1 + Atollic TrueStudio + STemWin. In the Graphics / STemWin section, I click the execute button to open GUI Builder and create Framewin c file, then generate the code. Using Atollic, I have FramewinDLG and GUI_App files. And the code creates the skeleton of graphics on the screen. So far, it is okay. I have then worked and tried to integrate the code you had given me, so tha…

  • Plotting graphs

    Sue - - emWin related

    Post

    Hello, I would need to use and integrate STemWin graphics functions in my project, but I would like to learn how to do this. The STemWin chapter is a new subject for me, so any information / tutorials / recommandations are greatly appreciated. Here is my information : 1. Tools : CubeMX + Atollic TrueStudio + STemWin 2. Board : STM32F429I Disc1 Purpose of project : 3. Measuring a value with ADC, then plotting it as a graph using STemWin. Please feel free to comment if you need further information…