XML

5 posts / 0 new
Last post
Offline
Last seen: 1 week 3 days ago
Joined: 08/29/2019
Posts: 6
unable to find topic_qos and more from Qos_Profile in xml file

Hi currently i am trying out RTI Connext and i encounter a problem when i try to use an QoS file which was used for the ADLINK's Opensplice implementation. 

I added the qos_library is should, but it still can't find the sub elements past the qos_profile.

this is a snippet of my QoS.xml file.

 

<?xml version="1.0" encoding="UTF-8"?>
<dds
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="6.0.0">

<qos_library name="TestLibrary">
<qos_profile name="TestProfile" >

3 posts / 0 new
Last post
Offline
Last seen: 1 week 4 days ago
Joined: 07/22/2019
Posts: 9
Can't reference an xml into the xml used by recording service

Hi, 

 

I generated my xml files from my idl's and stored them in a folder called xml. This folder lives in the same directory as my MY_RECORDING_SERVICE.xml. It looks like this

main_folder/

|---xml/

|------image.xml

|------image_types.xml

|------coordinate_systems.xml

|---MY_RECORDING_SERVICE.xml

 

Inside my MY_RECORDING_SERVICE.xml I'm including these xml generated as follow: 

 

5 posts / 0 new
Last post
Offline
Last seen: 1 week 4 days ago
Joined: 07/22/2019
Posts: 9
Modern C++ Equivalent of DDSDomainParticipantFactory

Hello,

I'm trying to create a new DDSDomainParticipant using an input XML QoS profile.

In C++ we have the function 

1 post / 0 new
Offline
Last seen: 7 months 2 weeks ago
Joined: 01/28/2019
Posts: 1
create typecode from xml error processing tag "include"

I am trying to use the .NET create_tc_from_xml_file class to generate type codes from XML and I receive the following error in the console: 

RTIXMLParser_onStartTag:Parse error at line 3: Error processing tag 'include'
RTIXMLParser_parseFromFile:Parse error in file 'C:\XMLDataStruct\thisModule.xml'
DDS_XMLTypeCodeParser_parse_from_file:Error parsing XML
DDS_TypeCodeFactory_create_tc_from_xml_file:!error parsing types file

The XML files were generated from IDL using rtiddsgen, and the includes are at the top of the XML:

3 posts / 0 new
Last post
Offline
Last seen: 4 months 3 weeks ago
Joined: 09/06/2018
Posts: 22
USER_QOS_PROFILES.xml not found

Hi,

I can only use my custom USER_QOS_PROFILES.xml file if the environment variable NDDS_QOS_PROFILES is set.  If I place the USER_QOS_PROFILES.xml in the same diretory and my executable and launch the executable in that same directory, then the USER_QOS_PROFILES.xml is not read.

I'm using RHEL7 on an x64 platform.  I"m using the RTI v5.3.1 whih I just downloaded last week.

Why is this not working? I did not find any other situations similar to mine.

tia,be

5 posts / 0 new
Last post
Offline
Last seen: 5 months 1 week ago
Joined: 01/28/2016
Posts: 9
DynamicData to JSON/XML w/ Modern C++ API

Hi,

I'd like to serialize a DynamicData sample to JSON/XML using the Modern C++ APIs.

I realize there are internal APIs:  DDS_DynamicDataFormatter_to_xml and DDS_DynamicDataFormatter_to_json.  But, these APIs seem to take DDS_DynamicData types as arguments.  Is there an equivalent API for the Modern C++ DynamicData type ?  Thanks!

3 posts / 0 new
Last post
Offline
Last seen: 1 year 10 months ago
Joined: 10/26/2017
Posts: 2
Python (Connector) Subscriber - Subscribe to Java Example

Hi,

I have been working with the hello_idl example in the rti_workspace->examples->connext_dds->java.

I want to write a subscriber in Python that can listen to the java publisher. But so far I haven't gotten it to work. What do I need to change in the .xml to be able to listen to the java publisher.

Organization:
3 posts / 0 new
Last post
Offline
Last seen: 1 year 4 months ago
Joined: 09/24/2017
Posts: 4
more than one qos_profile in qos_library

This question refer to the lua prototyper examle file USER_QOS_PROFILES.xml

Say that I add one more qos_profile called name="SecondProfile".

What modifications is needed in the domain_library and/or participant_library sections

to use that qos_profile instead of the original qos_profile name="DefaultProfile"

Keywords:
4 posts / 0 new
Last post
Offline
Last seen: 1 year 8 months ago
Joined: 08/13/2014
Posts: 53
Converting XML to Code

 

Hi everybody,

I want to know the equivalent code of below xml in Modern C++ RTI V 5.2.0. 

Keywords:
6 posts / 0 new
Last post
Offline
Last seen: 2 years 11 months ago
Joined: 05/20/2015
Posts: 5
Loading user XML QoS Profiles in C++

Hey guys,

I'm not able to get XML QoS files to load in modern C++.  We are using version 5.2.3.  These work perfectly fine while using the C# APIs.  In trying to find a workaround, I found that the XML also will not load if I put it in either $NDDSHOME/resource/xml/NDDS_QOS_PROFILES.xml or <working directory>/USER_QOS_PROFILES.xml.  I'm just using the sample code in the user manual almost verbatim.

Keywords:
Subscribe to RSS - XML