Best potentiometer value to buy

Mainly from software, but for things like adjusting screen contrast they will be used in circuit directly. That makes me wonder, I do I read the potentiometer value from software?