RTI DDS Toolkit for LabVIEW Support

cancel
Showing results for 
Search instead for 
Did you mean: 

Is this message type allowed under 3.1.1

This is an implementation of the ROS2 Message 'radar_msgs/msg/RadarTracks.msg'.  Is this typedef valid as it has arrays embedded in a structure that is part of an array.

 

 

0 Kudos
Message 1 of 3
(1,447 Views)

It is valid. The problem you have is that arrays are not initialized. The ctl must be saved with all the arrays initialized to their maximum desired number of elements and saved as default value before generating the VIs with Complex Type Generator. Check the Getting Started Guide section 6.10 "Setting Up Arrays" for more information about how to setup arrays.

 

I initialized the arrays of the ctl you provided, generated examples, and worked in LabVIEW 2020 64 bit. I also attach the file I used with all the arrays initialized to four elements. Have a look at it and use it as a reference.

Untitled.png

0 Kudos
Message 2 of 3
(1,423 Views)

Thank you

0 Kudos
Message 3 of 3
(1,417 Views)