You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From time to time GDS error increases.
Does somebody know what is possible reason (maybe UART implementation specific to hardware?) and how to debug GDS errors:
GDS errors occur in the GDS subsystem. The most common source of GDS errors is when your backend (Python) stops talking to your front end (Web Browser). These errors are logged at the bottom of the "Advanced" tab. Have a look there for more details.
This warns that the polling code that pulls channels from the backend to the frontend is falling behind its expected interval. This is usually caused by one of two things:
Network latency between the UI and the backend
Large data transfers that take longer then expected
If these errors are occasional, it is ok to clear them. If these errors are constant, then some tuning is likely.
Tuning:
Make sure there is good network connection between the host running fprime-gds and the machine running the browser.
Try decreasing the number of channels requested at a time (Advanced Tab)
Try decreasing the polling interval of channels (Advanced Tab)
As a last resort, reduce the number of channels being downlinked
Tuning explanation:
At a polling interval configured on the Advanced Tab, the frontend UI asks the backend data store for new channels. The total number that can be transferred is limited by another Advanced Tab configuration setting. The above error happens when a previous request is still running when it is time to ask for the next set of data.
When intermittent, this error reveals occasional slowness in the network between the fprime-gds and the associated client browser. When continuous, this error reveals there is too much data to transfer over in the given interval. Smaller more frequent requests typically out-perform larger less frequent ones (or so it seems). So decreasing the max channel count and the interval may help.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
From time to time GDS error increases.
Does somebody know what is possible reason (maybe UART implementation specific to hardware?) and how to debug GDS errors:
Beta Was this translation helpful? Give feedback.
All reactions