data type

7 posts / 0 new
Last post
Offline
Last seen: 1 hour 53 min ago
Joined: 09/10/2022
Posts: 59
convert a Data with a mutable DataType to a data With another mutable DataType

Hello.


I know that I can convert samples of a DataType to a DynamicData with rti::core::xtypes::convert function.
Also I know that it's possible to convert that DynamicData to the DataType vice versa.

The question is that is it possible to convert DynamicData that created from a mutable DataType, to a DynamicData of another mutable DataType?
Is converting between datas of mutable DataTypes is possible just by sending data by DataWriter of TypeA and receiving data by DataReader of TypeB OR converting is also possible in code?

3 posts / 0 new
Last post
Offline
Last seen: 1 year 8 months ago
Joined: 08/17/2023
Posts: 1
Size and overhead of enumerations

Historically we have been passing enumerations as longs. We just switched over from another DDS library, and we want to start passing enums.

However, we are concerned about the bandwidth. How many bytes is an enumeration? Is there any overhead associated with an enum that would make it more cumbersome than a simple long?

Thanks!

4 posts / 0 new
Last post
Offline
Last seen: 5 years 5 months ago
Joined: 05/05/2020
Posts: 2
Type mismatch issue in LabVIEW

First, I use RTI monitor to show this is the datatype of the subscriber (not LabVIEW) that I need to talk to: 

enum IDL::Common::Message_type {
@default_literal
status_issued = 0,
command_issued = 1,
command_success = 2,
command_failure = 3,
command_pending = 4
};
//@Extensibility EXTENSIBLE_EXTENSIBILITY

Subscribe to RSS - data type