Hi Alex,
I've discussed this issue with a colleague who has been dealing with this issue on another thread. I believe he will be posting back soon with a solution.
If anyone is interested in the THD/FFT issue, that thread is at:
http://forums.ni.com/ni/board/message?board.id=170&message.id=294686
Regards,
Tom
Applications Engineering, NI UK