03-05-2025 09:28 AM
Hi everyone.
I am writing a code where I use a filter function. First i used filter from signal analysis-express. I got 20023 error. I belive my values are okay, although I use very small rate and s to read.
Then with ptbypt I get very different chart (in foto). And with simple filter in last code i see nothing in chart.
I have looked at prevoius forms in community and tried these methods based on them.
Thanks in advance
Solved! Go to Solution.
03-05-2025 10:42 AM
Hi Natig,
@Natig wrote:
I am writing a code where I use a filter function. First i used filter from signal analysis-express. I got 20023 error. I belive my values are okay, although I use very small rate and s to read.
The error message is quite clear!
Why don't you define any frequencies on your filter functions?
03-05-2025 06:39 PM
@GerdW wrote:
Hi Natig,
@Natig wrote:
I am writing a code where I use a filter function. First i used filter from signal analysis-express. I got 20023 error. I belive my values are okay, although I use very small rate and s to read.
The error message is quite clear!
Why don't you define any frequencies on your filter functions?
I think there is a misprint with the error message, if I am remembering correctly, rather than <= fs/2, it should read < fs/2. I think if you put the Nyquist frequency in you get an error, you have to put in something slightly less. I don't have LabVIEW to test.
03-06-2025 08:03 AM
Thank you very much, your comments helped me to improve my code. It appears I did not needed some of the things there. I used sample codes from examples sometimes so I had some unuseful parts in code.