MathWorks

3 posts / 0 new
Last post
Offline
Last seen: 1 month 1 week ago
Joined: 10/23/2013
Posts: 44
QoS setting to prevent missing first sample

I have two applications, CircleRx and CircleTx running on two different computers.  CircleRx reads topic Circle, while CircleTx sends one sample of Circle.  CircleRx starts first.  Minutes later CircleTx starts and  immediately sends a single Circle sample.  The sample is sometimes missed by CircleRx.  I suspect this is due to a race condition between discovery and the transmit of the sample.  I assume the Reliabilty QoS can be used to ensure Rx of this sample.  What are the proper Reliability settings  for the reader and writer to ensure deliver

Organization:
2 posts / 0 new
Last post
Offline
Last seen: 1 month 1 week ago
Joined: 10/23/2013
Posts: 44
QNX and USER_QOS_PROFILES.xml

Hello,

Organization:
4 posts / 0 new
Last post
Offline
Last seen: 1 month 1 week ago
Joined: 10/23/2013
Posts: 44
Determine if a type has been previously registered

Hello,

Is there an API that can be used to determine if a type has been previously registered via DDS_DomainParticipantFactory_register_type_support()?

Thanks.

Mark.

Organization:
1 post / 0 new
Offline
Last seen: 1 month 1 week ago
Joined: 10/23/2013
Posts: 44
Union discriminator value for default, invalid and fall-through cases

I am using the Dyanamic Data API's to send/receive toipcs with unions.  I have 3 questions about the proper way to handle the discriminator value when read/take a sample that contains a union. The descriminator value is needed in order for the data reader application code to know which field in the union data structure has valid data.

Organization:
1 post / 0 new
Offline
Last seen: 1 month 1 week ago
Joined: 10/23/2013
Posts: 44
Dynamic Data API to access attributes of union cases

Hello,

Organization:
2 posts / 0 new
Last post
Offline
Last seen: 1 month 1 week ago
Joined: 10/23/2013
Posts: 44
Sequence type enforcement and dds.type_consistency.ignore_sequence_bounds

Hello,

Organization:
2 posts / 0 new
Last post
Offline
Last seen: 1 month 1 week ago
Joined: 10/23/2013
Posts: 44
Obtain IDL for a registered DDS_TypeCode

Is there an API what will give me the IDL-equivalent for a DDS_TypeCode that has been previously registered?  Since the Admin Console can display IDL information, I assume this is possible but haven't been able to find appropriate function.

Thanks.

Mark.

Organization:
3 posts / 0 new
Last post
Offline
Last seen: 1 month 1 week ago
Joined: 10/23/2013
Posts: 44
API to access XML Application Creation info from XML Configuration file

There are existing API's for accessing QoS libraries and profiles ( DDS_DomainParticipantFactory_get_qos_profile_libraries(), DDS_DomainParticipantFactory_get_qos_profile()).

Are there similar functions for loading <types>, <domain_library> and  <domain_participant_library>?  I searched through doc and header files but can't find anything.

Thanks.

Organization:
2 posts / 0 new
Last post
Offline
Last seen: 1 month 1 week ago
Joined: 10/23/2013
Posts: 44
Proper use of take_next_sample() and SampleInfo

I have an application that uses read_next_sample()/take_next_sample().   What is the proper way for the application to determine if a valid sample has been read/taken.  Does return value of DDS_RETURN_OK indicate a valid sample?  Or must SampleInfo.valid_data also be checked before using the sample data?

Organization:
1 post / 0 new
Offline
Last seen: 1 month 1 week ago
Joined: 10/23/2013
Posts: 44
Reading only changed samples

Hello

Is there a DataReader StatusCondition, ReadCondition or QoS policy that will allow DataReader to only return a sample when the contents of the sample have changed?

Thanks.

Organization:
Subscribe to RSS - MathWorks