05-29-2026, 02:54 PM
Sorry once again for the late reply. (I am beginning to wonder if this thread is cursed. I am subscribed to this thread, but I cannot find an email notification anywhere...)
I do not see the issue immediately, but if I understand you correctly, the problem is only that the GPS data is not plotted while the latest values are shown. Could you post the entire XML file? It could be the configuration of the graph. I mean, since you are receiving the BLE data and the current GPS data is shown, I suspect that either mismatching data containers are used for x and y or that - if there is also an analysis block - the data is removed in the analysis process.
About the things you tried:
1+2. As you are getting a location, everything should be there for plotting
3. That should not make a difference. Internally, the same parser is used and the same classes are initialized with the result - it is just different methods to load the XML from different locations. If it loads it should be the same.
4. That's just for cleaner code. On microcontrollers that do not need it, it is just an empty function call.
5. There are indeed some cases when the app has not been "destroyed" by the system and you open the same file from the same location, it might just come to the foreground instead of reloading it. Returning to the main menu should make sure that it is reloaded next time, though. (If you are unsure if a new file arrives, just change a letter in the title
)
So, please post the entire XML and I can test it on a phone here.
(Also, I set myself a reminder to check this thread regularly. Wondering if the email notifications are having a problem...)
I do not see the issue immediately, but if I understand you correctly, the problem is only that the GPS data is not plotted while the latest values are shown. Could you post the entire XML file? It could be the configuration of the graph. I mean, since you are receiving the BLE data and the current GPS data is shown, I suspect that either mismatching data containers are used for x and y or that - if there is also an analysis block - the data is removed in the analysis process.
About the things you tried:
1+2. As you are getting a location, everything should be there for plotting
3. That should not make a difference. Internally, the same parser is used and the same classes are initialized with the result - it is just different methods to load the XML from different locations. If it loads it should be the same.
4. That's just for cleaner code. On microcontrollers that do not need it, it is just an empty function call.
5. There are indeed some cases when the app has not been "destroyed" by the system and you open the same file from the same location, it might just come to the foreground instead of reloading it. Returning to the main menu should make sure that it is reloaded next time, though. (If you are unsure if a new file arrives, just change a letter in the title
)So, please post the entire XML and I can test it on a phone here.
(Also, I set myself a reminder to check this thread regularly. Wondering if the email notifications are having a problem...)

