04-25-2018 12:16 PM
Hi all,
I am new to LabView and am trying to build a data logging application for two separate DAQs that are on the same chassis - one is a digital I/O module (which we'll call Mod1), and the other is an analog voltage input module (which we'll call Mod2).
I've tried playing around a with both DAQ Assistant and DAQmx functions, but I can't seem to get what I want to happen. I want to log one channel on each DAQ at the same sample rate and continuously store both sets of data until a stop button is pressed. I would ideally want both sets of data in the same log file (since they are at the same sample rate), but if this isn't possible, then two separate log files with the appropriate timestamps are fine.
Can anyone help me out? I've attached my efforts so far to just simply *plot* these two waveforms continuously, with no success.
04-25-2018
12:57 PM
- last edited on
12-20-2024
06:14 PM
by
Content Cleaner
Learn LabVIEW. Get rid of the Dreaded DAQ Assistant and its Evil Twin, the Dynamic Data Wire. Use DAQmx. There are excellent Tutorials, including this one which points out that using a few (4-6) DAQmx functions (and MAX -- have you played with your Device using MAX?) will do 80% (actually, I suspect it is more like 95%) of your DAQ requirements.
Bob Schor
04-25-2018 01:47 PM
Apologies, I should have clarified in my post that my current effort is with DAQmx. The title is a bit misleading. Can you take a look at my attached example vi?
04-25-2018 02:25 PM - edited 04-25-2018 02:26 PM
Hi agenecov,
I would ideally want both sets of data in the same log file (since they are at the same sample rate),
Build a 1D array from the one digital waveform and those several analog waveforms and save them using the WriteWaveformFile function…