you may use some modules that eleminate the noise, or a simple RC circuit to do that.
"how can I elimate the high frequency noise by programming? "
to do that programmatically , have a look at some the examples that ship with LabVIEW for filtering. However, your sample rate should be at least 20kHz to then be able to do sofware-filtering. This is to eleminate aliasing.