Following the example "Data Compaction for High-Speed Streaming to Disk Example Programs" which streams data read from an analog input directly to disk, I want to sample multiple channels at the same time using a PCI-6143 card.
First, I realize by reading other posts here that I cannot create two DAQmx tasks, both using analog inputs, so I have to attach two channels to one task. How do I do that properly?
Second, the above mentioned example uses Raw1DU8 data to write to the file for performance reasons. How can I read multiple channels from a DAQmx task and output the result in that format?
My final goal is a vi that reads data from the 8 channels of the NI-6143 and continuously streams it to disk, using the highest possible sampling frequency.
Any help would be welcome.
Best regards,
Christian