What could be wrong?
If I connect 9V to terminals A2I+ and A2I-, there is no value on the UNP__AI2 flag.
could you please try to connect the voltage to AI1 and read the UNP__AI1 value? The value -NAN.00000000000 is strange, what version of REXYGEN do you use? I will try to reproduce your problem.
I use REXYGEN 18.104.22.16881.
I have already tried it in the AI1 input and the result is the same. I assume that the jumpers have no effect on the analog input.
@pancirm Hi Michal,
I just tested AI1 and AI2 on our UniPi v1.1 and REXYGEN 22.214.171.12481 and everything seems to work. Do you have the possibility to test the same configuration on a different UniPi 1.1? Alternatively, could you try to reinstall the current UniPi using the instructions from here? To install Rexygen with the UniPi 1.1 driver, I used the following instructions on a fresh raspberry image:
wget -nc https://download.rexcontrols.com/scripts/rex-install-unipi1_1.sh chmod +x rex-install-unipi1_1.sh sudo ./rex-install-unipi1_1.sh