Skip to content

Telemetry Graph not Plotting #4136

Discussion options

You must be logged in to vote

OK, cool. So the problem is Event.timeStamp. It doesn't look like Telemachus provides timestamps associated with the telemetry values that it emits. You're using Event.timeStamp instead, but this cannot be used for this purpose because it's an offset relative to the creation of the document. JavaScript represents time as an offset relative to the UNIX epoch. So, when your value is interpreted it evaluates to 5855 ms since January 1st 1970. If you were to set the time conductor to January 1st 1970 you would probably see your data.

So! The simple solution is just to use Date.now() for the timestamp value, instead of Event.timestamp. Date.now() will give you a timestamp value relative to the…

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jvigliotta
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug severity:critical source:community Community contribution or request
3 participants
Converted from issue

This discussion was converted from issue #4046 on August 19, 2021 17:40.