Hello Jim,
Actually, the two options you listed should execute in the same amount
of time. While they appear slightly differently in LabVIEW, they will
compile to the same code. So, at run-time there is no difference
between the two. In fact, if you place a DAQmx Task Constant in your
LabVIEW Block Diagram you can right-click and select
Generate Code»Configuration and Example to automatically generate the associated NI-DAQmx sub-VIs.
For more information about the functionality of NI-DAQmx I would recommend that you check out our
Getting Started With NI-DAQmx resource. I hope this information is helpful. Let me know if there's anything else I can do.
Matt Anderson
Hardware Services Marketing Manager
National Instruments