Example Code

Lock-in amplifier with DAQmx

Code and Documents



 This is a virtual lock-in amplifier using DAQmx devices.

I provide this as "AS-IS" code. There may be a bug. forgive me.


Here is the concept diagram for lock-in amplifier.


Hardware and Software Requirements


 - Analog Input DAQmx Devices

 - Analog Output DAQmx Devices (If you don't have signal source)


 - LabVIEW Full Development System 2014 or later

 - DAQmx driver

Steps to Execute Code

Run LockIn.vi

PLL_Sub.vi is a sub vi inside LockIn.vi

If you don't have signal source, please use AO Sample.vi

Additional Information or References



Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.