I'm developing a dll in LabWindows CVI for automatic testing with TestStand.
My application is pretty simple. I configured group 2 (w/ port 2 and 3) as input and I'm using port 0 as output. I need to aquire a fixed amount of data when I detect a hardware stop trigger. For setting up the stop trigger, I'm calling DIG_Block_PG_Config, DIG_Trigger_Config and DIG_Block_In functions. To see if the data transfer is completed, I'm using DIG_Block_Check function. Everything is working fine but the problem is only when the rate is 10MHz and the number of data points is < 100. In this case, I see that the Rx & Tx LEDs on the DAQ card are ON all the time and my system just hangs up. What can be the possible reasons for this?
I'm attaching my program.