Using a Loop with DAQmx API - NI Learning Center