2 posts / 0 new
Last post
Last seen: 5 years 9 months ago
Joined: 08/11/2014
Posts: 2
Using a cluster with multiple arrays simple numerics as a topic

I am attempting to define a cluster as a DDS topic that contains multiple numerics and multiple arrays interspersed throughout the cluster.  However, if I attempt to add a numeric after the array definitions (see attached photo), that the topic is no longer being generated (i.e. I can't examine the topic in Admin Console).  Is it a requirement that all arrays must be grouped at the end of a cluster definition in order to be used as a topic?  Thank you and forgive me in advance as I am relatively new to RTI DDS and very new to LabView.

1 post / 0 new
Last seen: 4 years 6 months ago
Joined: 03/03/2015
Posts: 19
Send String Arrays using Dynamic Data and Request-Reply pattern


I am a bit new to DDS. I am curently working with the request/reply pattern. I successfully managed to send requests and replies containing primitive types of data such as char, long, int, etc. What I am not trying to do is sending some string array with the request reply pattern and using Dynamic Data as the string array I'm trying to send must be custom made. Until now I managed to do something like this:


//Register the type support for creating string arrays

DDS_TypeCode* type = factory->create_struct_tc("MyType", structMembers, out_exc);

3 posts / 0 new
Last post
sara's picture
Last seen: 6 months 20 hours ago
Joined: 01/16/2013
Posts: 128
QUIZ - Are you using arrays in your VI? Do you need sequences?

Hi LabVIEW developers,

We are working on the next version of the RTI DDS Toolkit and we would like your feedback!!

Currently, LabVIEW arrays are mapped as DDS arrays. We are considering replacing DDS arrays by DDS sequences. Sequences can be initialized to a length of 0 and then be resized as needed. Pretty much as LabVIEW arrays! The behavior will be something like this:

3 posts / 0 new
Last post
Last seen: 8 years 8 months ago
Joined: 05/06/2013
Posts: 2
Setting an array of strings

Given next field in a topic.

<member name="exerciseNickname"          type="string" arrayDimensions="4" stringMaxLength="20"/>

With the usual dynamicdata you have set some array types to set as double, byte, float, etc but there's no set_string_array.

Notice in my case i don't use idl file i use a file .qos to describe every topic instead.

How can i set the array of string?

Subscribe to RSS - array