List of available topic names and data types in domain?

3 posts / 0 new
Last post
Offline
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
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
Joined: 01/16/2013
Posts: 86

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