LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change/set the AI polarity range in a 6025e card?

We've verified that our hardware is sending the Analog Input value. But whenever the value is > 5v we only read 5.

Meaning that if I set the AI to a value <= 5 it works well, but if I set the value > 5 I get 5.

So, how can I set/change the polarity range thru my software?

Any help will be appreciated.

Thanks.

AA
0 Kudos
Message 1 of 2
(2,847 Views)
If your range/polarity configuration is constant throughout the program, I suggest you to set it in MAX before starting your application. If you need to specify it inside the application, you can use
AI_Configure (1, 0, 0, 10, 1, 0);
Check in the function's help for a reference to the various parameters used by this function. The statement above sets channel 0 to differential input, 10 V full scale input in unipolar mode.

Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,847 Views)