Send information in vertor to broker MQTT

Hi guys, I'm reading registers from a Siemens PAC 2200. When I read double data I get data by data. I would like to gather this data in just one vertor of the form [info, info, info, ...] and send it that way to broker mqtt. Could you help me? Thank you very much

This way I am reading only 3 of the 40 data I need to send to the broker. I would like to merge all this data into just one vector and send this even vector to the broker.

This example from the cookbook shows how you can combine messages from different streams