Write/Read
About Periodic Counter

TriggerPeriodicCounterState Property


Description

Set and read the ON/OFF state of a measurement trigger event based on the specified period set using the TriggerPeriodicCounterValue command.

VB Syntax

sa.TriggerPeriodicCounterState = value

Variable

(Type) - Description

sa

A SpectrumAnalyzer (object)

value

(Boolean) Choose from:

0 - OFF - Periodic counter OFF.

1 - ON - Periodic counter ON.

Learn about these settings.

Return Type

Boolean

Default

0

Examples

sa.TriggerPeriodicCounterState = OFF   Write

value = sa.TriggerPeriodicCounterState 'Read

See an example program.

C++ Syntax

HRESULT put_TriggerPeriodicCounterState(VARIANT_BOOL bEnable);

HRESULT get_TriggerPeriodicCounterState(VARIANT_BOOL* bEnable);

Interface

ISpectrumAnalyzer