Dynamically Updated Time Strip Data from Back-End #4317
Unanswered
Cameronseitz
asked this question in
Community Q&A
Replies: 2 comments
-
@shefalijoshi could you help @Cameronseitz with this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
You should be able to achieve such a solution by using WebSockets (check out socket.io or vue-socket.io) to subscribe to a socket server hosted by your backend. Then once you upload the JSON file to your backend server, you would send a socket message from the backend to your OpenMCT frontend with the relevant data to update your time bounds - where you would interact with the OpenMCT Time API to update the bounds. For example:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was wondering if anyone knew how you can upload JSON from the back-end from a Rest API or socket connection, NOT manually from the GUI, and how you would update the time strip based on live telemetry from a back-end source. Also, if updating based on live telemetry is not possible, can you at least update the time strip color properties from the back-end source? This seems like something Open MCT has functionality for, but not sure how to go about doing it. Lastly, for demo purposes, how do you indicate the start of an event i.e. start all the events starting with the first few? If anyone knows the answer to any of these, help would be much appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions