Solution
In VeriStand, you can configure DAQ channels to perform analog, digital, and counter tasks.
When you select Pulse Measurement in a Counter Input (CI) task, you can measure the frequency and duty cycle of an incoming pulse. However, if no pulse signal is present (for example, when the duty cycle is 0% or 100%), the measurement cannot be computed. In this case, an error occurs and the system returns NaN as the value for both frequency and duty cycle.
NaN stands for “Not a Number,” indicating that the value cannot be determined or measured.

Even in this state, the VeriStand project remains deployed. As soon as a pulse signal is received, the system can quickly calculate and display the pulse’s frequency and duty ratio.