Thanks nlquist. I've made the changes you suggested. Definitely better than the way I did it earlier.
For some reason, after the first acquisition, I always get an empty array. I've attached the main VI, configure DAQmx, and Read DAQmx as JPG. I'll attach the Close DAQmx in the next post since I can't do more than 3 attachment in a single post.
Kudos are the best way to say thanks 🙂