LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Audio Delay

hey, I need a delay system that delays the input from the audio port on the myDAQ and outputs it on the other audio output.  

 

p.s. the delay needs to be changable and not disrupt the output signal.

 

 

I am thankful for any responses.

0 Kudos
Message 1 of 7
(3,576 Views)

@Aid_geo wrote:

hey, I need a delay system that delays the input from the audio port on the myDAQ and outputs it on the other audio output.  

 

p.s. the delay needs to be changable and not disrupt the output signal.


You can have software defined delay between, Acuire and Generation code. Something similar to:

 

Delay between Acquire & Generate


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 2 of 7
(3,569 Views)

@Aid_geo wrote:

hey, I need a delay system that delays the input from the audio port on the myDAQ and outputs it on the other audio output.  

 

p.s. the delay needs to be changable and not disrupt the output signal.


You can have software defined delay between, Acuire and Generation code. Something similar to:

 

Delay between Acquire & Generate


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 3 of 7
(3,569 Views)

What about something like this?

 

I seem to remember not being able to share sample clocks across subsystems on myDAQ for some reason, so if that's still the case take out the sample clock source for the AO task.  You probably also should read a finite number of samples per loop (depending on your sample rate, say 1/5 of the sample rate) rather than -1.

 

 

Best Regards,

John Passiak
0 Kudos
Message 4 of 7
(3,521 Views)

Hey moderator1983 and JOHN_P1,

These are good codes but not what I need, I should have been more specific.

 

The signals coming in and out of my audio ports of the myDAQ will be a small voltage signal.  The application is I am trying to force a machine that works on a certain signal that (I cannot change the machine or reprogram it) has to be exactly right, if the machine thinks that there is something wrong with the signal the machine will stop.     

 

So I need a code that will contiuously read the voltage signal into the audio left of the myDAQ delays it the time I specify and outputs it as a continuously without stopping either the inputs or outputs, it is sort of an phase adder.  

 

I used the delay time VI and it stopped the outputsand inputs which wasnt acceptable, I have tried the transport delay VI and the delay values VI but seeminly cannot get it to output properly to the myDAQ (the chart looks like it is working).  I have attached the methods that I am trying, one including relays but both with no sucess, (the delay is hard to change on the delay values VI but it is possible)

 

Any help would be great,

Thanks,

Aid_geo

0 Kudos
Message 5 of 7
(3,500 Views)

Forgot to attach before posting,

Download All
0 Kudos
Message 6 of 7
(3,497 Views)

I'm pretty sure I understand what you are asking.  The example I linked does what you are describing (but it might need to be slightly tailored for myDAQ).

 

 

Best Regards,

John Passiak
0 Kudos
Message 7 of 7
(3,480 Views)