I'm writing a script which displays CAN messages in a slightly different format from the standard CAN protocol decoder. I'd like to indicate the time that a CAN message arrived, as can be done in the standard display (with View/Timestamp). However, I can't find a way to get the time. The example shows getting time from Scope.Time.taken, for example, but this does not work either from CAN.Time.taken or Protocol.CAN.Time.taken or Protocol.Time.taken (all seems like possibilities based on the doc saying that it would work with any "instrument". It would also be fine to get the real time rather than the received time. Is any of this possible?
Question
BFisher
I'm writing a script which displays CAN messages in a slightly different format from the standard CAN protocol decoder. I'd like to indicate the time that a CAN message arrived, as can be done in the standard display (with View/Timestamp). However, I can't find a way to get the time. The example shows getting time from Scope.Time.taken, for example, but this does not work either from CAN.Time.taken or Protocol.CAN.Time.taken or Protocol.Time.taken (all seems like possibilities based on the doc saying that it would work with any "instrument". It would also be fine to get the real time rather than the received time. Is any of this possible?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now