10-21-2008 03:31 PM
I've attached a .vi that demonstrates what looks like a bug in one of the point-by-point filters, is there a fix available or am I doing something wrong?
Thanks for viewing,
John
Solved! Go to Solution.
10-22-2008 04:26 PM
10-22-2008 06:00 PM
10-22-2008 07:12 PM
Thank you for your reply. I checked both sub vi's as you suggested and it does look like the same chebyshev coefficients vi is used in both the chebyshev and inverse chebyshev point-by-point filters. There is an inverse chebyshev coefficients vi that I think should replace it, but I can't seem to perform that modification myself. Any suggestions?
Thanks again,
John
10-23-2008 12:38 PM
Hi John,
The “Inverse Chebyshev Filter PtByPt.vi” is reentrant. When you open the SubVI, the title should say “clone” in parentheses. Each clone runs in its own memory space. You cannot modify a reentrant VI unless you close all referencing VIs.
The “Inverse Chebyshev Filter PtByPt.vi” is also part of a LabVIEW library. (C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\ptbypt\NI_PtbyPt.lvlib). This Library is password protected. Also you do not want to modify something shipped as standard along with LabVIEW.
There is a way around this though. Open the “NI_PtbyPt.lvlib”. From the menu select File >> Save As. This will duplicate the entire Library to a new location. Now open the copy “Inverse Chebyshev Filter PtByPt.vi” and modify it to use Inv Chebyshev co-effecients. You can now use this modified SubVI. I did try this (in LabVIEW 8.5) and the outputs of the Point by Point and Array functions were the same in your Demo program.
Again, I cannot comment if this is a bug in LabVIEW or we are missing something. It would be best to contact NI or wait for someone from NI to comment on this forum.
10-23-2008 02:06 PM
Works perfectly now, thank you very much for your help!
John