DDS_TIME_INVALID

2 posts / 0 new
Last post
Offline
Last seen: 7 years 3 months ago
Joined: 12/29/2016
Posts: 5
DDS_TIME_INVALID

I write a dds program.Everything looks ok.Untill an error appear in dds spy tool.It says DDS_TIME_INVALID.

Who knows why?

harish's picture
Offline
Last seen: 4 years 8 months ago
Joined: 09/17/2014
Posts: 11

Hi,

The dds spy tool provides source timestamps for valid samples. Meta samples such as those used for indicating that an instance has no data writer, have their sample info, valid flag set to false. These meta samples can have their source timestamps marked as invalid.

More details about the spy output is provided here  - https://community.rti.com/static/documentation/connext-dds/5.2.3/doc/api/connext_dds/api_c/group__DDSNddsspyModule.html

The output is formatted as: A sB 

When the s value is '?', the instance state is 'NOT_ALIVE_NO_WRITERS' and these meta samples can have their source timestamps marked as invalid.

I would like to confirm if this is what you observe. Let me know if you have further questions.