DataReader

2 posts / 0 new
Last post
Offline
Last seen: 4 weeks 1 day ago
Joined: 11/16/2019
Posts: 2
Publish and Subscribe on the same Topic, prevent catching own data

Hi,

My application needs to write and read on the same "TopicA". It works fine, but I don't want to catch data from my own dataWriter. Is there a way (QoS or ReadCondition) to prevent fire data to myself?

ReadCondition would be the best because I do not have the full control of the QoS, but I can't figure out how to deal with it.

Regars

JB 

Organization:
1 post / 0 new
Offline
Last seen: 3 months 2 weeks ago
Joined: 08/22/2019
Posts: 4
DataReaderListener not called

Hi,

I have successfully set up a publisher in a Java application, and its data is received by another participant. Registering the same participant that is publishing the data as a subscriber seems to be successful, too, but it seems my DataReaderListener is never called when something is published on the topic. Here's the code that is setting up the subscriber:

3 posts / 0 new
Last post
Offline
Last seen: 3 months 2 weeks ago
Joined: 08/15/2019
Posts: 3
Cannot Create Data Reader for New Topic

I'm working with an existing system which already has many topics. I've added a new one and I'm receiving the following error when attempting to create a data reader for the new topic:

PRESPsService_createLocalEndpoint:!assert pres psReader
DDS_DataReader_createI:!create reader
DDS_Subscriber_create_datareader_disabledI:!create reader
DDSDataReader_impl::create_disabledI:!create reader
DDSDataReader_impl::createI:!create reader
DDSDomainParticipant_impl::create_datareader:ERROR: Failed to create datareader

Keywords:
4 posts / 0 new
Last post
rohitrx4's picture
Offline
Last seen: 1 month 4 weeks ago
Joined: 02/15/2019
Posts: 10
How can I get a notification when my DataReader receives a ‘dispose’ sample with identity

Scenario:

I have UI application hosted on the remote machine. Server publishes data and UI Application(Remote) subscribe it continuously and populate data on UI.
If the server added a new record and published new data this data get subscribe through the UI application and populate on UI.

3 posts / 0 new
Last post
Offline
Last seen: 7 months 3 weeks ago
Joined: 09/06/2018
Posts: 22
sending only fields that have changed

Hi,

 

We are using RHEL7.5 and RTI DDS 5.3.1.

I've done some searching already.  I was wondering if it was possible for a datawriter to only send the fields that have changed in a message and a datareader to only act on those 'changed' fields.  Am I correct that this feature does not exist in RTI DDS currently?

6 posts / 0 new
Last post
Offline
Last seen: 1 month 1 week ago
Joined: 08/13/2014
Posts: 55
Failed to close DataReader

Hi everybody,

2 posts / 0 new
Last post
Offline
Last seen: 4 years 4 months ago
Joined: 08/17/2015
Posts: 1
Subscribing Program Terminates Unexpectedly

After a few minutes reading data from a topic, the subscribing program unexpectedly terminates as if someone decided to simply stop it. What could cause a subscribing program to terminate by itself? I had originally thought that maybe it was a set limitation of the trial license (since at termination, the licensing information is displayed), but the problem remains with the full license. Data is received with a couple losses here and there. Perhaps the problem is obvious, but I am new to DDS. Has this happened to anyone else, and how did you solve it?

2 posts / 0 new
Last post
Offline
Last seen: 7 months 3 weeks ago
Joined: 01/27/2014
Posts: 8
Critical sections between datareader operations

Hello,

We got a datareader receiving every 100 milliseconds (it's a mean value) batches of 100 samples each of the samples are 60 bytes in size. The datareader max_samples is 1000.

A thread takes samples into the datareader 100 by 100, using loaning function.

We observe that most of the time the "take" operation takes less than 200 microsecond but sometime (rarely) the "take" operation can takes as much as 3-6 milliseconds to return the loaned buffer.

Organization:
3 posts / 0 new
Last post
Offline
Last seen: 3 years 1 month ago
Joined: 10/21/2012
Posts: 18
Listener Vs Poll

In order to test and try out different DDS configurations and QoS settings, I have a small suite of 3 test applications.

The first is a publisher that writes new data every 0.5 seconds.

The second is a subscriber that polls for new data every 1.0 seconds.

The third is a subscriber that uses a listener on the datareader. However, the on_data_available callback contains a sleep(1.0). This means that the callback can only be called once every second.

Organization:
Subscribe to RSS - DataReader