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.
- Analog Input DAQmx Devices
- Analog Output DAQmx Devices (If you don't have signal source)
- LabVIEW Full Development System 2014 or later
- DAQmx driver
PLL_Sub.vi is a sub vi inside LockIn.vi
If you don't have signal source, please use AO Sample.vi
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.