The code below wil reboot windows xp, when a breakpoint is hit after the 'wfm_op' instruction AND the red 'TERMINATE execution' button from the cvi debugger is hit (If, for example, a (non) fatal runtime error is encountered in a real program).
short ChanVect[1], WaveBuf[6];
#define NIDAQ_PXI6070E_ID 7 // Card on position A7
void main(void)
{ int a = 0, err ;
ChanVect[0] = 0 ;
err = WFM_Op (NIDAQ_PXI6070E_ID, 1, ChanVect, WaveBuf, 6, 0, 30*6); // generate INFINITE
a++ ; // breakpoint set here
}
cvi 7.1
Runtime 7.1.0.307
Traditional NiDaq 7.3.0F1
Hardare: PXI6070E
Windows XP SP2
I think the debugger is releasing the memory, but the card (driver) is still trying to use it.
Any solution ?