int st =0;int fsfilter;
st =FDwfAnalogInChannelFilterInfo(DWF.hdwf,&fsfilter);
assert(st);if(IsBitSet(fsfilter, filterAverage)){
st =FDwfAnalogInChannelFilterSet(DWF.hdwf,0, filterAverage);
assert(st);
FILTER filter;
st =FDwfAnalogInChannelFilterGet(DWF.hdwf,0,&filter);
assert(st);
assert(filter == filterAverage);}
Hi,
I am using ADP3450, where I am trying to set the average filter on channel 0 (first thing after opening the device).
It is always failing at the last assert when comparing the filter. Where it should be set to average but it is set to normal.
Is there something wrong with the code or what could be the problem here?
Question
alpanth
Hi,
I am using ADP3450, where I am trying to set the average filter on channel 0 (first thing after opening the device).
It is always failing at the last assert when comparing the filter. Where it should be set to average but it is set to normal.
Is there something wrong with the code or what could be the problem here?
Best regards, Alex
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now