From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

Read ai data from 6229

I am using aiex1.cpp example code to read data on demand for 4 ai channels under RTX. I can read open end scaled values as 10.7 under RTX. I gave 2 V input from signal generator but I didn't get any changed values under RTX. However I checked under windows it's working fine. I presume when I read channel 1 I will be reading ai0. Am I right? Please help me

 

Thanks

0 Kudos
Message 1 of 2
(5,426 Views)

Thanks, I resolved this issue by setting kAI_CONVERT_output_SelectActive_High in aiPersonalize() it was active low.

 

Cheers

 

0 Kudos
Message 2 of 2
(5,421 Views)