Hi,
I need help with simultaneous sampling on the USB 9233. I am reading acceleration data from two channels having different accelerometers (that is the min value, max value and sensitivity settings are different for both).
Until now, I was acquiring data from one channel. I have used DAQmx create virtual channel, timing, start task, and read VIs to accomplish acquisition. My settings are shown in attached image.
The acquisition is triggered against a digital pulse, which is why I need to keep the 'Relative to' setting at 'Most Recent Sample'.
Now, with two channels:
1) Do I need to use two separate create virtual channel VIs because the sensors are different?
2) If answer to (1) is yes, I guess that means I have created two tasks, right? Then, how do I ensure that when I fire my two Read VI, I will get the simultaneous sampled data points from the buffer?
3) Ideally, I would have liked to flatten my two tasks into one thread after the Create Virtual Channel VI and thereafter use only single instance of Timing, Start, and Read VIs. Can I do that or something similar?
Hardware: NI cRIO-9233
Software: LV-FDS 7.1, DAQmx 8.0, Win 2000 Pro
Thanks,
Gurdas
Gurdas Sandhu, Ph.D.
ORISE Research Fellow at US EPA