09-24-2015 12:18 PM - edited 09-24-2015 12:26 PM
Hello everyone,
I have a text file which I am using to generate a graph and it works well. However, when I try to wire this array to a Build Waveform it shows a broken wire (as shown in the image below).
I added the Build Waveform because it didn't let me filter the signal directly from the array. I found that solution here http://goo.gl/wjacvO
How could I filter my signal using this function? Thanks in advance.
Solved! Go to Solution.
09-24-2015 12:40 PM
09-24-2015 12:51 PM
09-24-2015 12:59 PM
I tried that, but then the error Analysis: The following conditions must be met: 0 < f_low <= f_high <= fs/2. appears and it's not filtering anything. I already added t and dt, so it is supossed to be working well, right?
09-24-2015 01:01 PM
guilty! haha I'm a total beginner here, please bear with me. Great cartoons!
09-24-2015 01:06 PM
You code doesn't have a t0 value written.
Your error has something to do with your filter settings. Right-click the filter to see what the settings are.
Supply us with some data so we can help more. Add another waveform graph to the output of the Filter express VI so you can see the filtered signal.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
09-24-2015 01:26 PM
09-24-2015 01:29 PM
I'm sending both the .vi and the text file I'm using.
Thanks guys.
09-24-2015 01:35 PM
FYI, you should set default values to where you have them working when you're sharing code. Your delimiter is "\s" and I have no idea what your dt value is.
You need to play with your cutoff filter to match your data rate. It was set to 100.
I made it work with 0.1 dt and 0.5 cutoff:
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
09-24-2015 01:53 PM
It works nicely! Thank you for your help James.
All I have to do now is to figure out why it works under these parameters.
Best regards.