Hi,
As noted in the emwin manual, when calling GUI_LANG_LoadCSVEx it deletes the old resources and loads the new one.
The scenario in my code is:
1. Load CSV1 -> read values
2. Load CSV2 -> read values
3. Load CSV3 -> read values
So far no issues, works perfectly.
4. Load CSV1 again -> Fails (GUI_LANG_LoadCSVEx return 0).
Note: if I reload CSV2 or CSV3 Again, it does not fail.
Also if I load CSV1 twice in a raw (only for debug), it fails
1. Load CSV1 -> read
2. Load CSV1 again -> Failes.
Note: CSV1 size is 60K. But I believe that emwin does not load the CSV to the RAM, it only loads the specific text to RAM when calling GUI_LANG_GetTextBufferedEx function.
How can I spot the cause of this issue or is it a known issue for big CSV files.
As noted in the emwin manual, when calling GUI_LANG_LoadCSVEx it deletes the old resources and loads the new one.
The scenario in my code is:
1. Load CSV1 -> read values
2. Load CSV2 -> read values
3. Load CSV3 -> read values
So far no issues, works perfectly.
4. Load CSV1 again -> Fails (GUI_LANG_LoadCSVEx return 0).
Note: if I reload CSV2 or CSV3 Again, it does not fail.
Also if I load CSV1 twice in a raw (only for debug), it fails
1. Load CSV1 -> read
2. Load CSV1 again -> Failes.
Note: CSV1 size is 60K. But I believe that emwin does not load the CSV to the RAM, it only loads the specific text to RAM when calling GUI_LANG_GetTextBufferedEx function.
How can I spot the cause of this issue or is it a known issue for big CSV files.