LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

deallocate memory daq buffer

Hello,

In the past it was possible to deallocate the buffer memory with AI buffer config. Is it still possible ?
thank
0 Kudos
Message 1 of 4
(3,140 Views)
Hi,

Are you looking for the equivalent function in NI-DAQmx? Also could you give me a bit more information regarding your need for deallocating the buffer memory, since if the equivalent function doesn't exist explicitly in NI-DAQmx there may be another way to get round it, suited for your particular application.

Regards,

Dan
0 Kudos
Message 2 of 4
(3,120 Views)
Thank for your answer,

The memory deallocation I was thinking is the memory buffer allocation for data acquisition.
I used to deallocate after an acquisition task has been finished.

0 Kudos
Message 3 of 4
(3,103 Views)

Hi again,

With DAQmx, you can now deallocate the memory in the buffer by using the DAQmx Clear Task VI in your application. This automatically deallocates the memory used in any particular DAQmx task once it has finished without the need for manual configuration.

Hope this helps,

Dan

0 Kudos
Message 4 of 4
(3,094 Views)