beautypg.com

Frequency counter commands, Counter:gate, Counter:state – GW Instek AFG-2000 User Manual User Manual

Page 130

background image

AFG-2000 Series User Manual

128

Frequency Counter Commands

COUNter:GATe

Set

Query

Description

Sets or queries the gate time for the frequency
counter function.

Note

The counter function is only applicable for the
AFG-21XX models.

Syntax

COUNter:GATe

Parameter

0.01S, 0.1S, 1S, 10S

Example

COUN:GAT 10S

Sets the gate time to 10 seconds.

Query Syntax

COUNter:GATe?

Return Parameter

Returns the gate time in seconds.

Query Example

COUN:GAT?
>1.000E-02

The gate time is current set to 0.01 second.

COUNter:STATe

Set

Query

Description

Turns the frequency counter on/off.

Syntax

COUNter:STATe [ON/OFF]

Note

The counter function is only applicable for the
AFG-21XX models.

Parameter

ON

Turns the counter function on.

OFF

Turns the counter function off.

Example

COUN:STAT ON

Turns the frequency counter on.

Query Syntax

COUNter:STATe?