LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to creat a BPF

Hi,
 
I have a program of analog output (sine wave at 20 kHz freq) and an analog input which samples the analog output.
 
I need to create a BPF after I create the sine wave. 
 
any help and thoughts?
thanks in advanced
0 Kudos
Message 1 of 6
(743 Views)

Hi Naama,

 

- what is a BPF? (Are you talking about Bandpass filters?)

- why do you convert your data to DDT wires? The DAQmx functions work better with "plain" wires like "array of DBL!"

- Why do you need a bandpass just behind the signal generation function?

- What's the point in using DAQmx IsTaskDone when you don't read its output?

- What's the problem at all? Apparently you already solved your problem!?

Best regards,
GerdW
CLAD expired, using LV2011SP1 + LV2017 (+LV2019 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 2 of 6
(711 Views)
Hi, and thank you for your response.
What I need to do is a sine wave that need to go through Bandpass Filter- this will be my analog output and then I need to acquire this signal in my analog input channel.
the problem is when I added the filter the program doesn't work well there is an error (200284)
I have added the program. 
0 Kudos
Message 3 of 6
(676 Views)

You are loosing the timing information of your sine wave by using the Dynamic Data Type. Stick to the waveform, and you shouldn't get an error:grafik.png

 

 

 

 

 

 

 

 

 

Regards, Jens

Kudos are welcome...
Message 4 of 6
(669 Views)

Jens, thank you very very very much!! you helped me a lot. 

Happy new year!

Naama

0 Kudos
Message 5 of 6
(637 Views)

Hi Jens,

Just one more question because I am new in Labview. 

I have add the new program with your comment and I look at the filtered signal graph and it doesn't look different though the inquire data look different.

I work with the X-series USB-6341 so the sampling info is now 500kHz.

 

thanks in advanced,

Naama

 

0 Kudos
Message 6 of 6
(629 Views)