Laurent,
This is expected behaviour, the continuous acquisition mode maintains a constant data stream from your device. The N samples mode is only meant to be run once, if you place that in a while loop, it resets the driver everytime you start, stop and restart the acquistion, this can lead to a lag between acquisitions. For your application, I would recommend the continuous sampling mode as it ensures that you do not lose any data in every iteration of the while loop.
Abhinav T
Applications Engineer
National Instruments
Abhinav T.
Applications Engineering
National Instruments India
LabVIEW Introduction Course - Six Hours
Getting Started with NI-DAQmx
Measurement Fundamentals