CONFigure:COUNter:PWIDth

34980A

CONFigure:COUNter:PWIDth

Syntax

CONFigure:COUNter:PWIDth [{<gate_time>|MIN|MAX|DEF},] (@<ch_list>)

Description

This command configures the specified counter channels on the 34950A Digital I/O Module to measure the pulse width of the incoming signal. For pulse width measurements, you must send the [SENSe:]COUNter:INITiate command to initiate the measurement. The specified gate time is the measurement aperture during which the signal data is gathered. For repetitive signals, longer gate times will lead to increased resolution for frequency, period, pulse width, and duty cycle measurements.

The CONFigure command sets the counter parameters to their default values as shown below.

Parameter

CONFigure Settings

Slope

POSitive (rising edge)

Input Threshold Voltage

2.5V

Gate Source

INTernal

Gate Polarity

NORMal (active high)

Used With:

  • 34950A Digital I/O Module

Parameters

Name

Type

Range of Values

Default Value

<gate_time>

Numeric

Desired gate time between 100 ns and 10 seconds, with 50 ns resolution.

MIN = 100 ns, MAX = 100 seconds

1 ms

<ch_list>

Numeric

One or more counter channels in the form (@sccc).
Select from s301 or s302.

This is a required parameter

Remarks

  • The pulse width represents the amount of time per cycle that the input signal is at a high level (assuming that the polarity is not reversed) and is expressed in seconds. If multiple pulses occur during the specified gate time, the result will be the average width of all pulses.

Example

The following command configures counter channels 301 and 302 on the module in slot 3 to measure pulse width. The gate time is set to 1 ms.

CONF:COUN:PWID 1E-3,(@3301,3302)
COUN:INIT (@3301,3302)
COUN:PWID? (@3301,3302)

Typical Response:  +1.44700000E-06,+3.98300000E-06

See Also

CONFigure:COUNter:DCYCle

CONFigure?

MEASure:COUNter:PWIDth?

[SENSe:]COUNter:ABORt

[SENSe:]COUNter:DATA?

[SENSe:]COUNter:INITiate

[SENSe:]COUNter:PWIDth[:DATA]?