array

2 posts / 0 new
Last post
Ucf bader's picture
Offline
Last seen: 1 year 4 months ago
Joined: 03/10/2021
Posts: 2
Difference between array and sequence

Hello,
I was wondering what is the difference between a sequence (FooSeq) and array, in terms of:
1) order of elements.

2) accessing elements.

3) transmission of data (is only valid elements of a sequence being transmitted?)

4) Which one is a better resolution if  the max size is known.

thanks a lot..

Keywords:
2 posts / 0 new
Last post
Offline
Last seen: 8 years 8 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.

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

Hello,

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
Offline
Last seen: 3 weeks 2 days 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:

Organization:
3 posts / 0 new
Last post
Offline
Last seen: 11 years 7 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?

Keywords:
Subscribe to RSS - array