From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Lock-in amplifier with DAQmx

Code and Documents

Attachment

Overview

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

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

Description

Here is the concept diagram for lock-in amplifier.

 dd6n9cm9_61gsng2vgj_b.jpg

Hardware and Software Requirements

 [Hardware]

 - Analog Input DAQmx Devices

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

[Software]

 - 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.

Contributors