List of available topic names and data types in domain?

4 posts / 0 new
Last post
Offline
Last seen: 3 years 3 months ago
Joined: 04/04/2017
Posts: 2
List of available topic names and data types in domain?

I'd like to get a list of the available topics (name and type name/type code) available to subscribe to on the domain, so that I can build an application where users can select which topics to read/write in LabVIEW.

I see that such a list is obtainable manually if I use the Connext Admin Console, but I don't see a way to get such a list with only what is installed with the DDS Toolkit for LabVIEW.

I was hoping to be able to access (from LabVIEW) the builtin topic that lists the publishers, but I can't seem to do so.  

An example of this would be most welcome!

Offline
Last seen: 3 years 3 months ago
Joined: 04/04/2017
Posts: 2

I did see the example referenced in other questions on this topic (though outside the LabVIEW scope): https://community.rti.com/forum-topic/built-topic-find-available-tpoics

sara's picture
Offline
Last seen: 13 hours 55 min ago
Joined: 01/16/2013
Posts: 125

Hi Matt_P,

As you have seen in that post, you could susbcribe to the built-in topics to extract that information. The IDL for the equivalent built-in topics can be found in your Connext DDS installation folder: 
%Installation folder%\resource\idl\dds_rtf2_dcps.idl

However, there are some constraints in the LabVIEW support that could complicate a bit your development. LabVIEW toolkit has some limitations regarding the data type supported due to the constraints within LabVIEW itself. You can find a full list of this constraints in Appendix C of the LabVIEW Toolkit Getting Started Guide.

I hope this helps. Thanks,
Sara

Offline
Last seen: 6 months 2 days ago
Joined: 01/06/2020
Posts: 3

I am also curious about implementing this in LabVIEW. More so in order to determine the currently published topics that are available on the Domain depending on what nodes have connected/discovered. I'm not sure I see an answer above though. Could you point me in the right direction?