MathWorks

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:

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:

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:

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:

Using DynamicData API with TopicType definition utilizing typedef IDL

I make extensive use of the DynamicData API for registering, reading and writing TopicData.  I have relied on examples provided in this Forum and the Knowledge Base to handle sequences, nested structs, enums, etc.  However, I have recently run into a problem with a topic whose definition includes typedefs.  My code fails when encountering a member in DDS_DynamicData that was defined in the IDL file with a typedef.  It appears that the _type._data fields are not valid for a typedef, but rather the information in _type._data._typeCode should be used.

Organization:

2.2.4 rtiddsgen code gen bug with enumerated data types

rtiddsgen for micro dds 2.4.4 igores enumeration constants when generating typedef for enum.  The attached h files are generated from RTI Connext 5.2.0 and RTI micro DDS 2.4.4.  Note that for the file from micro DDS, the constant expressions for the enumerators are missing.

 

"C:\Program Files\rti_connext_micro.2.4.4\rtiddsgen\scripts\rtiddsgen" -language microC -replace DDSTypesBus.idl

"C:\Program Files\rti_connext_dds-5.2.0\bin\rtiddsgen" -language C -verbosity 3 -replace DDSTypesBus.idl

Organization:

playing back recordings in 5.2.0 made with 5.0.0

I have a couple of recording files that I made with Connext 5.0.0 and can replay then using 5.0.0 Recording Console.  When I load the files in Recording Console in 5.2.0, I can not play them. The play button is not active and no topics are visible in the "Recorded Topics" dialog.  Did the format for recordings change?  Is there a way to convert?

 

Thanks.

Mark.

Organization:

Pages

Subscribe to RSS - MathWorks