User Manual

ADC-20/ADC-24 User's Guide 36
Copyright © 2005-2010 Pico Technology Ltd. All rights reserved. adc20.en
5.4.18
HRDLSetMains
short HRDLSetMains(
short handle,
short sixtyHertz )
This function configures the mains noise rejection setting. Rejection takes effect the
next time sampling occurs.
Arguments
handle
Handle returned by HRDLOpenUnit.
sixtyHertz
Specifies whether 50 Hz or 60 Hz noise rejection is applied.
0: reject 50Hz
<> 0: reject 60 Hz
Returns
0 if failed
1 if successful