Hello,
From the information that you gave me, it appears that you are using the niScope Digital Filtering example. This example runs continuously, but there is a fixed number of records that it must acquire for each iteration of the loop.
If you want to enable the 20MHz filter, try using the function niScope Config Chan Characteristics, and set the Max Frequency to 20 MHz. It sounds as though you have tried this, but you need to make sure you use that funciton.
Regards,
Andrew M
National Instruments