Dennis brings up an excellent point--any version of DAQmx 9.0 or later includes the built-in TDMS Logging feature. Using this feature will result in the best possible performance for logging binary data to disk. Some examples that show how to use the feature in LabVIEW:
-Acquire Finite Data and Log to a TDMS File
-Continuously Read Data and Log to a TDMS File
-Stream Finite Data to a TDMS File (Log Data Only)
-Continuously Log Data to a TDMS File
The last two examples bypass LabVIEW application memory altogether and are ideal for logging data with the intent on processing/viewing it at a later time.
Best Regards,
John Passiak