Design and Programming help - 0-10VDC input with 0-5VDC output