[SENSe:]COUNter:FUNCtion

34980A

[SENSe:]COUNter:FUNCtion

Syntax

[SENSe:]COUNter:FUNCtion <function>, (@<ch_list>)

[SENSe:]COUNter:FUNCtion? (@<ch_list>)

Description

This command selects the present measurement function on the specified counter channels on the 34950A Digital I/O Module. You can select frequency, period, duty cycle, pulse width, or totalize.  

Used With:

  • 34950A Digital I/O Module

Parameters

Name

Type

Range of Values

Default Value

<function>

Discrete

{FREQuency|PERiod|DCYCle|PWIDth|TOTalize}

This is a required parameter

<ch_list>

Numeric

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

This is a required parameter

Remarks

  • When the counter takes an initiated measurement, it gathers enough information about the signal to derive all five measurement attributes (frequency, period, duty cycle, pulse width, and totalize).

Return Format

The query command returns "FREQ", "PER", "DCYC", "PWID", or "TOT" for the specified channels. Multiple responses are separated by commas.

Examples

The following command selects the period function on counter channels 301 and 302 on the module in slot 3.   

COUN:FUNC PER,(@3301,3302)

The following command queries the function on counter channels 301 and 302 on the module in slot 3.   

COUN:FUNC? (@3301,3302)

Typical Response:  PER,PER

See Also

CONFigure:COUNter:DCYCle

CONFigure:COUNter:FREQuency

CONFigure:COUNter:PERiod

CONFigure:COUNter:PWIDth

CONFigure:COUNter:TOTalize

MEASure:COUNter:DCYCle?

MEASure:COUNter:FREQuency?

MEASure:COUNter:PERiod?

MEASure:COUNter:PWIDth?

MEASure:COUNter:TOTalize?