data type

3 posts / 0 new
Last post
Offline
Last seen: 2 months 1 week 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: 3 years 10 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