LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Concurrent ADC/DAC timing

I'm doing an echolocation experiment with the USB-6341 -X Series DAQ.  I can output a wav file through an analog output and collect the input through one of the analog inputs.  My problem is that I can't figure out how to time the two functions in relation to each other.

 

I'm pretty new to Labview so one solution I was thinking was to start logging the data after I've finished outputting the wav file.  I don't know how to do that in Labview because it seems like everything runs in parallel.  How do I get things to run in a specific order?  I was looking at the time delay or wait functions but they don't have any sort of input or output to connect to anything so I don't know how to put them into the program. 

 

Or it would be better if I could trigger the data logging within labview so that it starts during the first rising edge of the signal. 

 

Any help or alternative ideas would be appreciated.

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

There are a lot of example VIs in the NI Example Finder (Help » Find Examples) to help you get started with synchronization (and pretty much everything else).  You can find the DAQ synchronization examples under Hardware Input and Output » DAQmx » Synchronization.  You should be able to start with one of these examples and modify it to fit your application.

Jayme W.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,615 Views)