I use an pci-6014.
I need to stop acquisition, clear FIFO and restart acquisition.
If I use the command:
next is not possible restart acquisition for example with
One thing to keep in mind is that the board won't be in the same state after you end the acquisition as it is in right before you just start it. You will need to reconfigure parts of board to rearm it to restart the acquisition. Try checking the arm state of the AI counters by reading the values of AI_SC_Armed_St, AI_SI_Armed_St, AI_SI2_Armed_St, AI_DIV_Armed_St.
You can find more information about these registers in the STC Reference Manual:
I read the example aiex2.cpp from dhddk e series and I wite the next function for sto,clear FIFO and start acquisition:
usleep(100); //wait 100 micro seconds
but the new acquisition do not start.
I resolved with the next code:
tanks at all