first of all, you shouldn't apply 24V to a 0-10V input. There are 12.5V transils on the input, so you probably burned it.
The voltage measurement happens between the AI input and the AGND. The AGND is not connected to any other GND. Thats why you didn't measured any voltage between AGND and 24V.