Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't set EnhancedAliasRejectionEnable to high for PXI 4472

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

 

0 Kudos
Message 1 of 4
(2,319 Views)
0 Kudos
Message 2 of 4
(2,314 Views)

Yes, I tried different sample rates. The example attached has a sample rate of 1000.

 

Thanks,

Manisha

0 Kudos
Message 3 of 4
(2,312 Views)

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.

0 Kudos
Message 4 of 4
(2,290 Views)