Status >> Current Write Position

NI-DAQmx C Properties

Status >> Current Write Position

Data Type: uInt64
Description: Indicates the position in the buffer of the next sample to generate. This value is identical for all channels in the task.
Restrictions: Not Settable

You can get this property using:
  DAQmxGetWriteCurrWritePos