How Do I Perform an Offset Null of My DMM in LabVIEW

Updated Nov 1, 2022

Environment

Hardware

  • PXIe-4080

Software

  • LabVIEW

Driver

  • NI-DMM

The NI DMM driver does not have a function to perform offset nulling, for that reason it is necessary to implement this feature programmatically. This article will go through the steps to create a simple code to do a null offset. 

You need to have NI DMM installed and the respective ADE. 

1) Open a session to the DMM.
2) Configure the range the resolution and all the other parameters of your DMM. 
3) Initiate the DMM. 
4) Read just one sample (this is the offset for the future samples). 
5) Read your data. 
6) Subtract from your data, the offset previously read. 
 

After following those steps you should have a code similar to the below one. 

DMM Offset Example_1.png
Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.