Unable to attach array of clusters to LVDDS_ReaderNode_create_advanced

2 posts / 0 new
Last post
Offline
Last seen: 3 years 7 months ago
Joined: 08/11/2014
Posts: 2
Unable to attach array of clusters to LVDDS_ReaderNode_create_advanced
AttachmentSize
Image icon arraycluster.png84.38 KB

I am attempting to attach a DDS topic (Cluster) that contains an array of a different cluster inside of it to the create advanced reader node method.  It gives me a broken wire with the error that I have connected two terminals of different types with 1 type being the cluster and the type of the sink being Interface To Data.  If I pull the array out of the cluster and attempt to attach it directly to the create reader call, I get a similar error.  If I take the cluster out of the array and use a simple numerical type in the array, it attaches successfully.  So I was just wondering if we aren't allowed to have arrays of clusters as part of our topics.  I have attached a screenshot of what I am attempting and the associated error.

Offline
Last seen: 9 months 3 weeks ago
Joined: 04/23/2014
Posts: 45

Hello germantree,

The problem is the CLF doesn't allow us to connect an array of clusters when we are using "Interface to Data". Currently, this is the only way we have to dynamically generate custom DataTypes, but they cannot contain arrays of clusters. You can find the supported types on the Getting Started Guide - Appendix C Supported Data Types and Corresponding IDL. For fixing this, if your array hasn't so many clusters, you can pull the cluster out of the array and copy it the times you need. Otherwise, you can use Routing Service for translating the type.