Yansi. i appreciate your feedback very much. but i don't understand why you say it will not work.
Ok so, i might not have explained myself good enough. "as usual".
Im not trying to see if the output signal of the amplifier is clipping.
i want to check if the input signal will clip.
If i have a Input signal (NOT OUTPUT), that swings MAX between 6v-12v and 6v-0v (12vpp max).
Now this will cause clipping on the signal due to that the opamp has a VOH = Vcc - 1.5v and VOL = 20mv
Any input signal above 10.5 will cause clipping if vcc = 12v.
So knowing that the signal will start clipping at 10.5V i can use this window comparator to set the trigger levels right?
Also, the DC offset if adjustable. now if i set the offset to example 8V , and the signal in is example 6V in. there is about 0.5V of clipping on positive period.
Hope this clarify my intentions a bit better.