This program shows how to use the MEASure group of instructions to quickly and easily make any of the counter's measurements.
In this program, time interval, frequency and period will be measured. However, the MEASure group can make measurements using any of the other
counter functions. The program is composed of four subroutines. The first uses only the
MEAS:TINT? (@1),(@2) command to make a time interval measurement. The second subroutine uses CONF:FREQ and READ? to make the measurement.
The third uses CONF:FREQ, INIT and FETCH? to make the measurement. The comments at the start of each subroutine explain the benefits of each
method. The fourth subroutine simply resets the counter