Hello all,
after several measurements, my program shuts down because of heap overflow.
I searched the forum and found out that on Win NT a maximum buffer of 64MB for buffered counter measurements exists.
I nearly reach these 64MB when measuring.
My question is:
How can I clear the buffer? I only allocate memory for 15 PWM-measurements and after calculation this memory is freed.
But it seems that the 6602 uses always new memory...
My system: PXI 233Mhz (!), PXI 6602
NI-Daq 6.9.1f28
measured signal 2x PWM, 5V
CVI 6.0
Measurement is done in a do while loop (but always crashes after 5,5 hours).
Before any measurement the counters are reset an configured.
I attached a piece of my software with setup and measurement routine...
Is there any help ?
Thanks, Mike