04-25-2012 01:18 PM
Hi,
I am using PXI 4472 in a PXI chassis 1042Q. I am uisng NIDAQmx C-API. I enable AI's EnhancedAliasRejectionEnable property, using
DAQmxErrChk (DAQmxSetAIEnhancedAliasRejectionEnable(taskHandle,"PXI1Slot3/ai0", 1));
Howvever, when I then start to acquire data , I get the following error
NI Error -201097:
Sample Clock Rate requested is supported only if Enhanced Alias Rejection Enable is False.
Set Enhanced Alias Rejection Enable to False or decrease the Sample Clock Rate.
Task Name: _unnamedTask<66A>
Status Code: -201097
I try to change the rate to a lower value, but it seems that I get this error no matter what the rate is.
Please find attached my complete code.
Thanks,
Regards,
Manisha Singh
The MathWorks
04-25-2012 02:44 PM
are you below 25.6k?
http://digital.ni.com/public.nsf/allkb/8BD1190B07BDC43286256FD9006DC52F
04-25-2012 02:46 PM - edited 04-25-2012 02:46 PM
Yes, I tried different sample rates. The example attached has a sample rate of 1000.
Thanks,
Manisha
04-25-2012 05:08 PM
2 things:
1-what is the letter rev of your 4472? it's the letter before the "-" on a sticker on the device. i.e. there should be several numbers, then a letter, then "-01" or something like that. What is that letter?
2-try doing a DAQmx Control Task and set to "verify" right before you set Enhanced Alias Rejection and see if the error occurs. Let me know either way.