Status >> Space Available in Buffer

NI-DAQmx C Properties

Status >> Space Available in Buffer

Data Type: uInt32
Description: Indicates in samples per channel the amount of available space in the buffer.
Restrictions: Not Settable

You can get this property using:
  DAQmxGetWriteSpaceAvail