05-31-2022 01:51 AM
Hi, I am a student new to labview, and I am working on a project uses DAQ. I wrote a signal myself, and used DAQ as a generator to generate this signal. I would like to know if daq supports simultaneous output of digital and analog signals? This can save some bandwidth. The DAQ is USB-6431.
Thanks.
05-31-2022 05:26 AM
Yes, definitely.
For starters, open up separate shipping examples for continuous analog and digital output and run both at once. Voila!
Then you'll likely want to learn how to synchronize those outputs. I'm a fan of the simple "shared sample clock" approach when both tasks can run at the same sample rate.
- Here's a simple example to illustrate the idea. (It uses input tasks, but the same kind of approach works for output tasks.)
- Here's a more thorough article about sync. I would advocate that you start with the simplest sync approach that works "good enough" for your system. A lot of physical systems are just not going to exhibit any difference in behavior to nanosec-level timing errors, so you can often do just fine with simple approaches like the shared sample clock.
-Kevin P