I'm working on a linear optocoupler circuit for a project as isolation. For this im using a vishay IL300. I set up the following circuit with a 7.2V supply voltage and started probing around to see my signal. (R1=R2=20k and R3=100R) The way i understood it, the opamp is in negative feedback so the inputs to the opamp should be the same. (I'm using an lm324) When i probe the inputs, the inverting input has a huge amount of noise on it which is obviously coming out at the output. I've tried adding a 200nF cap to the supply cause i thought it needed decoupling but it didnt help. Any ideas what im doing wrong?
EDIT: The blue is the inverting input (which should be tracking it) for a 500mV 1kHz sinewave with a 200mV dc offset


Is that peak or p-p? Anyways you've got negative signal at the input, that's no good. Maybe the 324 takes time to recover from a negative input, although it's not very big? Is the CTR OK for the resistors?
Hmm, why don't you just drive the LED directly from the generator and look just at the output of the right amp?
Please also make sure you don't leave the other 2 opamps floating in the package, who knows what those two guys are doing?
Um, also check your grounding. 7.2V is an awful weird voltage, is that a battery?