This widget could not be displayed.
This widget could not be displayed.

LabVIEW

This widget could not be displayed.
cancel
Showing results for 
Search instead for 
Did you mean: 

Filter error: 20023

Solved!
Go to solution

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

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 1 of 4
(694 Views)

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?

 

  • Why do you need ExpressVIs (aka FromDDT) to get the sample data from a waveform? Use waveform functions!
  • Why do you need to concat an empty array?
  • Why do you need to fiddle with t0 of the waveforms when you don't use any of the timing information later on???
  • Why are there loop running forever in a Windows application?
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
Message 2 of 4
(674 Views)

@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. 

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
Message 3 of 4
(640 Views)

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. 

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 4 of 4
(591 Views)