I have a TI DAC7541 that is a 12 bit digital to analog converter. I am feeding the output of a CD4040 which is a 12 bit counter. The idea is to compare the output of the DAC to the output of an analog sensor and when the difference between the to signals is zero you have the binary value of the analog voltage. The porblem that I am having is that the output of the DAC seems to be nonlinear? Has anyone played with a similar chip? The circuit has be checked and debug so that all the signals are being feed into the right pin. Thanks to anyone who can shed some light on the problem.