DMM_Frequency Domain Measurement Library
- Updated2025-04-25
- 5 minute(s) read
DMM_Frequency Domain Measurement Library
DMM_Frequency Domain Measurement Library VIs initialize, configure, measure and close user-configurable analog input pins and derive frequency domain measurements for the measured waveforms.
The DMM_Frequency Domain Meas Initialize VI creates a new NI-DMM driver session on the device specified by the DMM Resource Name control. The device uses the specified powerline frequency value to select a timebase for setting the Aperture Time property in powerline cycles (PLCs).
The DMM_Frequency Domain Meas Configure and Measure VI configures the NI-DMM frequency or period measurement on the resource provided by the DMM Handle In control.
The DMM_Frequency Domain Meas Configure and Measure VI configures the measurement based on the following settings.
The DMM_Frequency Domain Meas Configure and Measure VI returns the following information.
The DMM_Frequency Domain Meas Close VI closes the NI-DMM session specified by DMM Handle In and releases the resource.
Examples
The following figure illustrates the minimum useful block diagram for this library.
This example uses the DAQ Signal Voltage Generation library to generate voltage from an analog output device.

Default Values and Automatic Range Coercion
To reduce the number of configuration parameters and accelerate development, the library VIs support a limited number of default values. Default values are statistically based on the best values for the most common DMM measurement use cases.Use the VI context help and block diagram comments to understand the impact of each parameter. Adjust the default values only when necessary for your application.
Parameter Name | Default Value |
---|---|
Power Frequency | 50 Hz |
Range and Function | First main function in Auto Range for each physical quantity |
Resolution in Digits | 5 1/2 |
Execution Option | Configure and Measure |
Aperture Time (s) | -1 (Auto) |
Settle Time (s) | -1 (Auto) |
AC Min Frequency | 40 Hz |
Enable Trigger? | False |
Trigger Source | Immediate |
Trigger Delay (s) | -1 (Auto) |
Slope | Rising |
The listed range for each function include all possible ranges for all NI-DMM instruments. If you select a range that is not supported for your DMM, the upper supported range is automatically selected. Use the
output to verify the actual execution values.DMM Trigger Methods
If the physical signal is already active, a DMM can begin a measurement immediately when the read function executes within a Config and Measure VI when the Measure Only execution option is specified. Use the NI-DMM driver software to add software delays or specify a trigger delay to insert a user-defined delay before the measurement starts.
The following figure illustrates a block diagram configured for immediate measurement with a delay based on a DAQ analog output signal.

The DMM can start measurements using an external signal or internal TTL (X) channel configured as the HW Trigger Source. On a PXIe system, TTL (X) is connected to the PXI_Trigger(X) internal signal. For example, you can use a DAQ_6363/PXI_Trig0 as a start trigger by linking it to TTL 0 as the trigger source. When the read function executes inside the Configure and Measure VI, the DMM waits for the external signal and then waits for the duration of any specified trigger delay.
This configuration uses only a parallel physical signal.
The following figure illustrates a block diagram configured to use an hardware trigger source asynchronously.
