There is no way to get the actual value of a vehicle UI item. For example if I wanted to know from a script if the landing gear is up or down. I have no way to get it
But on the MFD config you can set the source of that information to ils and it will show on the hud.
Or if you would like to know the vertical speed of a vehicle
Or any other of the sources listed here