What type of DAQmx acquisition are you doing? What type of sample clock are you using for the acquisition? If you are using implicit timing from an external source, or you are reading data On Demand, then the DAQmx driver won't be able to determine what the sampling rate will be. In that case it will output a zero for dt, which makes it impossible to use these waveform analysis libraries. You can find more information about this
here.
You should probably probe your waveform to see if your dt is indeed zero. If it is and you know what the dt value should be, you can reconstitute that value in your waveform using the Build Waveform function in the Waveform palette. It works a lot like the Cluster Bundle by Name function if you're familiar with that one. Hope this helps!
Jarrod S.
National Instruments