I have written an application that uses the GPCTR functions to measure pulse time period, and also acquires data using interval scanning.
I have noticed that if I start pulse time period measurement, then terminate it using GPCTR_Control (,,ND_DISARM), the next call to SCAN_Op() or SCAN_Start() has problems with the DMA transfer and after one or two calls to SCAN_Op() or SCAN_Start() the PC crashes with the blue screen or causes CVI to terminate (usually the former on my machine).
Looking at the binary data acquired before the machine crashes shows the acquisition to be incomplete, as if the pointers have become corrupted.
However, I have also discovered that terminating the time period measurement with GPCTR_Control(,,ND_RESET) preve
nts the problem from occuring.
Should ND_RESET always be used over ND_DISARM?
Is this a known bug?
Jamie Fraser