Here is my problem: I have 2 PC-LPM cards plugged into my computer. When my application starts, I need to start aquiring data continiously from both. I have employed 2 threads to do the job, but the OS hangs. I tried to use only one thread in a scenario like this:
iStatus = DAQ_Rate( 50000 , 0, &iSampTB, &uSampInt);
iStatus = DAQ_DB_Config( 1, 1 );
iStatus = DAQ_DB_Config( 2, 1 );
// start the conversion
iStatus = Lab_ISCAN_Start( 1, iNumChans, 0, ..
iStatus = Lab_ISCAN_Start( 2, iNumChans, 0, ..
if I comment the "DAQ_DB_Config( 2, 1 );" the code works. Otherwise, it hangs on the second call to Lab_ISCAN_Start.
Please help!