Hi,
I suggest you do a little reading on Darrels DT_Analog page, I think it answers both questions.

/Henrik.