I am using the PCI-MIO-16XE-50 and PCI-7344. I need to have continuous aquisition at a scan rate of about 10 kHz. Along with this, I want to record motion/motor position data into the same file, whenever I give a move (sinusoidal) command. How do I do that? Hopefully, there is also a way for me to have the DAQ continue and be able to change different parameters (freq, amplitude etc) on the motion control and perform different sinusoidal motions without having to re-start the vi. Any ideas? Attaching a code i was working with.