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.
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.
To download NI software, including the products shown below, visit ni.com/downloads.
Overview:
This VI demonstrates a method of synchronizing a counter input frequency measurement with an analog input voltage measurement.
Description:
The frequency resolution of the counter input which is used to count the edge depends on the rate of the Sample Clock of the Analog Input channel.
An example of some of the use cases is when the user need to determine the frequency of the counter input signal and the voltage measurement each time the other counter input signal is on rising edge.
During run time, the user will be able to monitor the Analog Input and Counter Input readings. After the user clicks on the Stop button, all the data which have been shown in Voltage Measurements and Counter Input Frequency charts can be seen on the Analog Input Voltage and Counter Input Frequency History chart.
Requirements:
LabVIEW 2012 or compatible.
NI-DAQmx 15.5.1 or compatible.
Multifunction DAQ device.
Steps to Implement or Execute Code:
Hardware connections:
Block diagram steps:
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.