MessageTimeNS
Syntax
float MessageTimeNS(message msg);
float MessageTimeNS(linFrame msg);
float MessageTimeNS(mostMessage msg);
float MessageTimeNS(mostAmsMessage msg);
float MessageTimeNS(mostRawMessage msg);
Function
Returns the time stamp in nanoseconds. The time stamp that can be polled with this function has a greater precision than themsg.TIME time stamp, whereby the precision depends on the CAN or LIN hardware that is being used.
Parameters
message CAN message
linFrame
LIN frame
mostMessage, mostAmsMessage, mostRawMessage
MOST message
Return Values
Time stamp of the message in ns
—
MessageTimeNS (FlexRay) | EnvVarTimeNS | timeNowNS | Message Selector TIME