Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to send one pulse only to the analog output

Solved!
Go to solution

I am sending a rect function through to the ao, thorugh the transmitting transducer and then a receiver transducer through the ai. Although I am sort of receiving a signal, I can see there is something wrong. What I suspect is happening is the pulse is being transmitted continuously whereas I just want it to be sent once. from the received signal I expect the signal to arrive at 0.2/1500 s as the medium is 0.2m in diameter and the speed of sound probagation through it is around 1500m/s. So, with these in mind I have the following questions: 

1. How do I set the daq assistant output to send only 1 rect function

2. Do i read in continously or for a while

 

I have attached the output and the input signals together with a pic of my VI

 

Thanks

Download All
0 Kudos
Message 1 of 3
(2,958 Views)
Solution
Accepted by topic author mancane

Hi mancane,

 

For a single generation/acquisition setup, you would set your DAQ Assistant to finite instead of continuous, and calculate how many samples are in your single pulse you are sending.  For the acquisition, you can set up an analog reference trigger finite acquisition where it will begin to capture after your signal is received, or if you do not want a triggered acquisition you can set the amount of samples to be acquired.  For instance, finite sampled task at 1kHz for 2000 samples would equal a 2 second acquisition.

 

You can configure all the DAQ Assistants on the inside of the express VI by double-clicking on the VI.  Hope everything turns out well!

Kyle A.
National Instruments
Senior Applications Engineer
Message 2 of 3
(2,920 Views)

Thanks a lot. Will try that

0 Kudos
Message 3 of 3
(2,888 Views)