# DisposeDataAcq

Cancels an acquisition thread.

### Synopsis

`void DisposeDataAcq (AcqContextPtr ctx)`

### Description

Sends an exit message to an acquisition thread. `DisposeDataAcq()` also releases the memory allocated to the acquisition thread.

### Arguments

`ctx`
  Pointer to the context of the acquisition thread

### Return Value

None

### Associated Files

DataAcq.h

### See Also

`NewDataAcq`