XML

2 posts / 0 new
Last post
ilya_1725's picture
Offline
Last seen: 3 days 15 hours ago
Joined: 04/20/2020
Posts: 24
Reading Admin topic in python or traditional C++

I'm trying to make the python code work with the RTI Remote Administration interface. Python module requires XML type representation. A regular RTI release comes with the IDL type for the Remote Platform (inside rti_connext_dds-6.0.1/resource/idl/). The ServiceAdmin.idl has these types:

Keywords:
4 posts / 0 new
Last post
Offline
Last seen: 3 months 2 weeks ago
Joined: 10/06/2021
Posts: 2
Separate definitions of domainParticipants/qosProfiles into 2 XML files

Hi, I'm in the process of porting some existing code from 6.0.1 C++ API to 6.1 C# API.
I've looked through the example project that rtiddsgen 3.1 generates for dotnet5 to get a hang of things, but I'm currently stuck at trying to load 2 separate XML files. One defines the domain participants, while the other defines QOS profiles.

1 post / 0 new
jferguson75's picture
Offline
Last seen: 1 year 10 months ago
Joined: 01/28/2020
Posts: 4
Generating StructType from XML

Modern C++

5 posts / 0 new
Last post
Offline
Last seen: 2 years 4 months 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: 2 years 1 week ago
Joined: 07/22/2019
Posts: 11
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: 2 years 1 week ago
Joined: 07/22/2019
Posts: 11
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: 2 years 12 months 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: 2 years 9 months 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: 2 years 9 months 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: 4 years 2 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:
Subscribe to RSS - XML