Nirmal,
The size of the buffer is determined by the number of scans/updates that you specify for DIO Config. For handshake outputs, you have it set equal to the number of updates and for handshake inputs, you have it set to 100,000. Then, in the DIO Start VI, you specify to acquire continuously by wiring the number of samples to 0. This means that the operation will run continuously or until you clear it. If you leave the value in DIO Start unwired, though, it will use the default value that you specified in DIO Config. Try leaving these unwired, and see if the process is being cleared prematurely.
Have you tried using DMA transfers to write the data instead of IRQs? IRQs cannot occur until the CPU is ready to transfer the data. So, a
ll of the data may not be getting transferred into the buffer. DMA transfers bypass the CPU and write data directly to memory. Try using DMA transfers to acquire the data and then see if the data written to the files match up.
Let me know if this doesn�t clear things up, or if you have any further questions on this issue.
Scott Romine
National Instruments
Scott Romine
Course Development Engineer
National Instruments