OTX Reference  
OpenTestSystem.Otx.Extensions.DiagComPlus.Terms.GetResponseTimestamp Class Reference

Gets a timestamp to identify the time at which a Response from a vehicle was received. More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DiagComPlus.Terms.GetResponseTimestamp:
Inheritance graph

Public Attributes

ResponseTerm response
 Cardinality [1]
The Response whose timestamp shall be returned. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Cardinality [0..1]
The MetaData type allows tools to store additional, mainly tool-specific data. More...
 

Detailed Description

Gets a timestamp to identify the time at which a Response from a vehicle was received.

The GetResponseTimestamp term returns a timestamp to identify the time at which a Response from a vehicle was received.

Systems should provide as much precision as possible - ideally by recording the time in receiving hardware.If this is not possible the timestamp can be recorded in the receiving software stack but in all cases a timestamp shall be returned.

GetResponseTimestamp gives greater precision than could be obtained by using DateTime:GetTimestamp in an OTX sequence since the timestamp may exclude delays in communication processing and OTX execution.Consequently, the term is useful for timecritical applications.

GetResponseTimestamp is an otx:IntegerTerm that returns a timestamp expressed in milliseconds elapsed since 1970-01-01 00:00:00 UTC.The timestamp uses the same definition as DateTime:GetTimestamp.

Note: The related MVCI system method is MCDResponse::getEndTime().

Syntax
IntegerTerm = DiagComPlus.GetResponseTimestamp(ResponseTerm response);

Member Data Documentation

◆ response

ResponseTerm OpenTestSystem.Otx.Extensions.DiagComPlus.Terms.GetResponseTimestamp.response

Cardinality [1]
The Response whose timestamp shall be returned.

OpenTestSystem.Otx.Extensions.DiagComPlus.Terms.GetResponseTimestamp.response
ResponseTerm response
Cardinality [1] The Response whose timestamp shall be returned.
Definition: DiagComPlus.cs:1411