There may be a couple of answers here, but I’ll try the easy one first. If you just want these bits of information saved with your exam file (zip) then by far the easiest thing to do is add them as analog channels. To do this, in your task open the DataLogging block and check the “analog channels” block. That will create a new input on the block. You can then pass arrays of data into the input. Once you have the model compiled, you can edit your protocol in Dex. In the protocol editing dialog go to the analog channels tab, there you can name the channels you have added and ensure they get saved.
Please let me know if that will work for you. If there is something else you were hoping to do with the data while the task is running we may need to do something else.