Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronize analog output and digital output with same DAQ

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.

0 Kudos
Message 1 of 2
(1,321 Views)

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

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 2
(1,303 Views)