RE: the "RelativeTo" property in the DAQmx Read property node.
I'm running an app where I regularly use the "RelativeTo" property set to the value 'Most Recent Sample' and I think geoff's suggestion might very well work for you.
In my app, I first call the DAQmx Read property node to set "RelativeTo" to 'Most Recent Sample' and set "Offset" = -50. My subsequent call to DAQmx Read.vi (with '# to read' set to 50) gives me the 50 most recent samples acquired without any delay waiting for new data. Then I evaluate the data, and depending on what I find, I may then ask for the next 50 future samples by setting "RelativeTo" to 'Most Recent Sample' and "Offset" = 0 (or maybe 1?), and calling DAQmx Read.vi (with '# to read' set to 50 again). In my app, the buffer sometimes overwrites unread data between Reads, but by using the DAQmx Read property node I don't get stuck with buffer overwrite errors.
Note that once you start overriding the default read mark, your buffer is more likely to overwrite itself. This will not generate an error for subsequent reads with "RelativeTo" = 'Most Recent Sample', but it may prevent you from reading relative to the 'Read Mark' (or 'Most Recently Read' -- I forget the exact name and my LV PC is a long walk from here). Also note that by skipping some data, you'll be glitching your live display a bit, though you're already doing some of that by stopping and restarting the task.
-Kevin P.
CAUTION! New LabVIEW adopters -- it's too late for me, but you *can* save yourself. The new subscription policy for LabVIEW puts NI's hand in your wallet for the rest of your working life. Are you sure you're *that* dedicated to LabVIEW? (Summary of my reasons in this post, part of a voluminous thread of mostly complaints starting here).