I recently had some problems with the labview dds toolkit and would like to ask for technical support
I'm on one host, one thread publishes data, two threads subscribe data. A piece of data can only be subscribed by one thread at the same time, and there will be competition between two subscribing threads. But different hosts subscribe normally.
Below is my labview program vi.
Hi Yugonghui,
The toolkit internally shares entities when possible. That is when for example create a new DataReader VI is called it checks internally if one of the existing DataReaders accomplishes the conditions to be reused (same domain id, QoS, topic, data type, type name...) then it is reused. What you are seeing here is that despite you are creating two DataReaders, internally there is only one that is shared in both threads. You can enable the forceExcluseReader option in the Create Reader configuration to create an exclusive DataReader. See more information in the section "Reading in Strictly Reliable Mode" and section "Configuring Advanced Reader Settings" of the Getting Started Guide. You can find it in Help->RTI DDS Toolkit->Open Getting Started Guide
Hi Ismael Mendez,
Thank you for your help. It's useful.