03-28-2012 08:41 PM
Hi,
I modified the "Multi-Function-Ctr Retrigg Pulse Train Generation for AI Sample Clock" example to sample and store data into the binary file.
The attached code can work. But when I open the stored file, I found for every 1000 correct samples, there is one extra small vualue, like "
-2.12e-311" in front of them, and this is obvious an error value. There should be only 1000 samples for each iteration. Where does this extra data come from?
By the way, the DAQ in this application is PXIe-6358.
Thanks!
Solved! Go to Solution.
03-28-2012 09:22 PM
Your Write Binary Data does not have anything written to the input for Prepend Array or String Size, so that means it defaults to true. Those extra bytes you see are the ones that define the size of your array.