Can anyone offer any help with the principles of lock-in detection? (suggest useful references etc). I'm trying to adapt some code I found on the internet, but I'm struggling to make progress because I don't actually understand what's going on in the 'original'! I've tried to contact the person who developed this VI, but haven't had any reply. The original code is from the University of Texas (hence UTiLIA) - they were investigating high temperature superconductivity, measuring small voltage changes buried in noise. There are references to some of their papers at http://mrflip.com/papers/LIA/. I need to measure small photodiode voltage changes buried in noise. I don't think the LIA on the NI site is suitable for my card (PCI6035E), which is why I've been working on UTiLIA, even though the NI version looks like it's more suitable. I hope to use the sinusoidal output to modulate the current of my laser directly (instead of using a chopper to give amplitude modulation). A brief 'verbal' description of the lock-in VIs and the averaging section would be helpful. I've named my modified version QUiLIA (Queen's University LIA), still a work in progress(!)