SEGGER - Florian SuperModerator

  • Member since Oct 24th 2019
Last Activity

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

  • SEGGER - Florian -

    Replied to the thread emwin - GUI_LANG_LoadCSVEx loading different CSV files.

    Post
    Hi, I couldn't reproduce the error with this version either. Based on how your test went, it sounds like a memory issue. But in my test, emWin didn't run out of memory. You could still check if you run out of memory by watching the variable…
  • SEGGER - Florian -

    Replied to the thread Snapping time in a window motion.

    Post
    Hi Alex, I don't think it'll be easy to implement the LISTWHEEL's behavior into your custom widget. When the LISTWHEEL was made, there was no motion support but only timers (ancient times...). Also, as you already said, you can only set the Period in…
  • SEGGER - Florian -

    Replied to the thread DropDown Widget Problems.

    Post
    Hi htsmith19, normally this happens if the y-size of the widget isn't big enough to display all the items. When this is the case, a white space is added to make up for that. And when this white space is clicked, the items move up. Note that the y-size…
  • SEGGER - Florian -

    Replied to the thread 7 inch TFT image not clear even for sample code.

    Post
    Hi sridhar6994, without sample code I can't tell you what is going wrong. Since these aren't SEGGER samples, I would suggest that you ask Nuvoton. Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread font size is 256x32,256x64 etc.

    Post
    Hi sridhar6994, please note that the maximum size for an emWin font is 255 pixels. Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread Snapping time in a window motion.

    Post
    Hi Alex, I'm not sure if I understand your problem correctly. The variable Period sets the period it takes for a moving operation to finish. As of right know it's not possible to set a snapping period for motion support within emWin. Best…
  • SEGGER - Florian -

    Replied to the thread ProgBar - Fill bar.

    Post
    Hi Pieter, the clipping rectangle you set doesn't work, because of that most of the blocks don't get drawn. It worked for me when I called WM_InvalidateWindow() after each loop that increases the progbar value. Also, try this to draw your blocks: C…
  • SEGGER - Florian -

    Replied to the thread emwin - GUI_LANG_LoadCSVEx loading different CSV files.

    Post
    Hi, could you tell me which emWin version that is? The version number is located in the file GUI_Version.h. And could you also send me your application and the CSV files, as well as the files GUI_Conf.c and LCD_Conf.c so I can accurately try to…
  • SEGGER - Florian -

    Replied to the thread emwin - GUI_LANG_LoadCSVEx loading different CSV files.

    Post
    Hi Sysmop226, I have tried to reproduce this with an array like you said, with an even bigger file and less target memory than the file size, but it still worked fine. Even with an older version (5.48) from before something in the GUI_LANG module was…
  • SEGGER - Florian -

    Replied to the thread Widget Edit display unexpected length string.

    Post
    Hi Ross Lee, if you leave out the Para element, the EDIT widget will have a default length of 8. That was indeed your mistake. Now if you want to increase the text length and add a longer text to your widget, you should call EDIT_SetMaxLen() before
  • SEGGER - Florian -

    Replied to the thread GUI_TIMER_Create.

    Post
    Hi Pieter, window timers still do its job when you use multiple windows. You can create and react on timers with different windows, you just need the window handle the timer will be attached to. What applies for both kinds of timers, is that you still…
  • SEGGER - Florian -

    Replied to the thread GUI_TIMER_Create.

    Post
    Hi Pieter, you have to set a period for the timer using GUI_TIMER_SetPeriod(). Once you did so, calling GUI_TIMER_Restart() will restart that timer with the set period. By the way, when using windows, you might want to use the timer API that is part of…
  • SEGGER - Florian -

    Replied to the thread Widget Edit display unexpected length string.

    Post
    Hi Ross Lee, can you tell me what maximum length you set to the EDIT widget when you create it? EDIT_SetMaxLen(hItem, 1000); could fail due to not enough memory being available. Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread images to .DAT files creation using emwin.

    Post
    Hi sridhar6994, emWin doesn't support .DAT files. Maybe you mean .DTA files? .DTA is a streamed bitmap format. You may save images in the .DTA format using the Bitmap Converter, click "File->Save As" and select the .DTA file format. Best…
  • SEGGER - Florian -

    Replied to the thread emwin - GUI_LANG_LoadCSVEx loading different CSV files.

    Post
    Hi Sysmop226, I've tried to reproduce your error, but it worked fine for me. And yes, file size shouldn't matter with GUI_LANG_LoadCSVEx() as this function only gets size and file offset of the text locations. Have you checked if the file handle you…
  • SEGGER - Florian -

    Replied to the thread MULTIPAGE: issue #2 of non-focusable page.

    Post
    Hi Volodymyr, I'm sorry but unfortunately you will have to wait for the next emWin version to be released. By the way, owning an emWin license gives you the advantage to report bugs and obtain a fixed version. But you can try with this workaround for…
  • Hi Arjuman, the manual explains how to use GetData() functions and provides examples under "9.5 Getting data with the ...Ex() functions". Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread language changing using csv file binary format.

    Post
    Hi, yes. If you have any more questions, let me know. Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread language changing using csv file binary format.

    Post
    Hi Arjuman, no, a binary format is not necessary. You may also use a file reader (like the one in Windows.h) to load the csv data. There is an example of a _GetData() function doing this in the manual if you search for the function…
  • Hi Arjuman, let me answer your questions. The format of the CSV is based on some rules that you can find in the manual under "32.2.4 Rules for CSV files". Let me show you an example CSV file: Source Code (5 lines) According to the rules, each line…