You should first go to https://www.ni.com/en/support/documentation/supplemental/06/getting-started-with-ni-daqmx--main-page... and learn the basics of DAQmx. That should answer your questions but in order to take a single sample, you just use the DAQmx Read set to NChan 1Samp. And, just like traditional DAQ, you can acquire multiple channels with a single task. You specify the channels as Dev1/ai0:4 for example.