Using sequences in openDDS PreviousNext
Data Distribution Service (DDS) Forum > DDS Technical Forum >
Message/Author
Next message C Sethukkarasi  posted on Monday, June 27, 2016 - 11:51 am
This is OpenDDS version 3.6, released Mon Feb 9 16:20:28 UTC 2015.

OpenDDS VERSION: 3.6
TAO VERSION:2.2a

HOST MACHINE and OPERATING SYSTEM: windows xp professional 32 bit

TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
COMPILER NAME AND VERSION (AND PATCHLEVEL):

CONTENTS OF $ACE_ROOT/ace/config.h [if you use a link to a platform-
specific file, simply state which one]:

CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU (unless
this isn't used in this case, e.g., with Microsoft Visual C++):

CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
(used by MPC when you generate your own makefiles):

LEVEL OF URGENCY (LOW, MEDIUM, or HIGH):high

AREA/CLASS/EXAMPLE AFFECTED:
[What example failed? What module failed to compile?] no modules failed

DOES THE PROBLEM AFFECT:
COMPILATION? no
If so, what do your $ACE_ROOT/ace/config.h and
$ACE_ROOT/include/makeinclude/platform_macros.GNU contain?
LINKING? no
On Unix systems, did you run make realclean first?
EXECUTION?
OTHER (please specify)?

SYNOPSIS:

Regarding using sequences in idl

DESCRIPTION:

we use sequences in idl and generated support files. Compiled and created visual studio solution. Build the solution and generated dll and jar files. We created a publish and subscribe application in java which uses the generated dll and jar files. When executing the applications, the DCPSInfoRepo successfully identified the applications. The applictaions were associated successfully but while running we got run time exception and program stops. When we tried to debug, we found the error at the following line. register_instance();

Our idl file is as follows:


module sequenceExample
{
#pragma DCPS_DATA_TYPE "sequenceExample::seqData"
typedef sequence<long,> sensor_values;

struct seqData {
string sensor_type;
sensor_values svalues;
};
};

We also tried like this

#include <tao/floatseq.pidl>

module sequenceExample
{
#pragma DCPS_DATA_TYPE "sequenceExample::seqData"
typedef sequence<long,> sensor_values;

struct seqData {
string sensor_type;
CORBA::FloatSeq svalues;
};
};

Kindly support us in solving the above said problem.

REPEAT BY:
[What you did to get the error; include test program or session
transcript if at all possible. ]

SAMPLE FIX/WORKAROUND:
[If available ]
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Post as "Anonymous"
Enable HTML code in message
Automatically activate URLs in message
Action: