I work with a PXI6534 for emission and a PXI6533 for reception. If I only do an emission with the 6534, everything works well. If I only do a reception with the 6533, everything works well. But when I create a thread for the reception on the 6533 followed by an emission on the 6534, it works well at the beginning but the emission stops after a random delay (between 5s and 15 min depending using the same .exe). The NIDAQ functions we use are very basic (configuration functions, DIG_Block_In, DIG_Block_Out,DIG_Block_Check...).
We tried to change the frequency of the emission (about 1MHz) but it doesn't change anything; I think it's not a problem of time.
We tried to change the priority of the main thread but it's the same. We also tried to use the function NIDAQYield.
I send you the code, could you please help me to find the origin of the problem and to solve it.
Thanks