The NaN could be the result of a timeout. If you only want the pretrigger scans, simply use AI Read.vi and ask it to read the number of pretrigger scans you requested at AI Start.vi. There is a good example called "Acquire&Proc N Scans - Trig.vi" located in the ..../examples/DAQ/anlogin/anlogin.llb library.
Also, remember that the Alliance Members are ready and waiting to help. We do this stuff every day.
Daniel L. Press
PrimeTest Corp.
www.primetest.com