beautypg.com

Counter:measure, Counter:sensitive – RIGOL DG1000Z Series User Manual

Page 18

background image

RIGOL

Chapter 2 Command System

2-6

DG1000Z Programming Guide

:COUNter:MEASure?

Syntax

:COUNter:MEASure?

Description

Query the measurement results of the frequency counter.

Explanation

When the frequency counter is in the “RUN” or “SINGLE” state, send this command

to query the measurement values. When the frequency counter is in the “STOP”

state, send this command to query the measurement values of the last

measurement.

Return Format

The query returns a string consisting of 5 parts (represent the frequency, period,

duty cycle, positive pulse width and negative pulse width respectively) separated by

commas. Each part is expressed in scientific notation and contains 10 effective bits,

for example,

2.000000000E+03,5.000000000E-04,4.760800000E+01,2.380415000E-04,

2.619585000E-04 (represents the measurement result is 2kHz frequency, 500us

period, 47.608% duty cycle, 238.0415us positive pulse width and 261.9585us

negative pulse width).

When the frequency counter function is disabled, the query returns

0.000000000E+00,0.000000000E+00,

0.000000000E+00,0.000000000E+00,0.000000000E+00.

Example

:COUN:MEAS? /*Query the measurement results of the frequency counter and

the query returns 2.000000000E+03,5.000000000E-04,

4.760800000E+01,2.380415000E-04,2.619585000E-04*/

:COUNter:SENSitive

Syntax

:COUNter:SENSitive {|MINimum|MAXimum}

:COUNter:SENSitive? [MINimum|MAXimum]

Description

Set the trigger sensitivity of the frequency counter.
Query the trigger sensitivity of the frequency counter.

Parameter

Name

Type

Range

Default

Real

0% to 100%

25%

Explanation

Relatively higher sensitivity is recommended for signal with small amplitude; low

sensitivity is recommended for low-frequency signal with large amplitude or signal

with slow rising edge to ensure more accurate measurement result.

Return Format

The query returns the trigger sensitivity in scientific notation. The return value

contains 7 effective digits, for example, 3.000000E+01 (the trigger sensitivity of the

frequency counter is 30%).

Example

:COUN:SENS 30 /*Set the trigger sensitivity of the frequency counter to 30%*/
:COUN:SENS? /*Query the trigger sensitivity of the frequency counter and

the query returns 3.000000E+01*/