SCPI.CALCulate.PN(Ch).TRACe(Tr).FUNCtion.AVARiance.DATA_Q avg_time, fcutoff, allan_var, jitter

Object Type

Property (Read Only)

Syntax

Value = SCPI.CALCulate.PN(Ch).TRACe(Tr).FUNCtion.AVARiance.DATA_Q avg_time, fcutoff, allan_var, jitter

Description

This command gets Allan Variance and Jitter (data trace), for the selected trace Tr of the selected channel Ch.

Recommendation for each input parameters:

 

Variable

Parameter

avg_time

Description

Average time

Data Type

Double precision floating point type (Double)

Range

1n ~ 1k

Preset Value

-

Unit

-

Resolution

-

Preset Effect

No

Save-Recall Effect

No

Error

-

 

Parameter

fcutoff

Description

Frequency cutoff

Data Type

Double precision floating point type (Double)

Range

0 ~ 1G

Preset Value

-

Unit

-

Resolution

-

Preset Effect

No

Save-Recall Effect

No

Error

-

 

Parameter

allan_var

Description

Allan variance

Data Type

Double precision floating point type (Double)

Range

-

Preset Value

-

Unit

-

Resolution

-

Preset Effect

No

Save-Recall Effect

No

Error

-

 

Parameter

jitter

Description

Jitter

Data Type

Double precision floating point type (Double)

Range

-

Preset Value

-

Unit

-

Resolution

-

Preset Effect

No

Save-Recall Effect

No

Error

-

Examples

Dim avg_time As Double
Dim fcutoff As Double
Dim allan_var As Double
Dim jitter As Double
Dim var As Variant
avg_time = 0.001 'Tau = 0.001 sec
fcutoff = 10000 '10 kHz cutoff frequency
SCPI.CALCulate.PN.TRACe.FUNCtion.AVARiance.DATA_Q avg_time, fcutoff, allan_var, jitter
MsgBox "Allan Variance = " & Str$(allan_var) & " " & "Jitter(rms) = " & Str$(jitter) & " (sec)"

Related Objects

SCPI.CALCulate.PN(Ch).TRACe(Tr).FUNCtion.AVARiance.MEMory

Equivalent Key

No equivalent key is available on the front panel.

Equivalent SCPI Command

Syntax

:CALCulate:PN[1-1]:TRACe[1-1]:FUNCtion:AVARiance:DATA? <avg_time>,<fcutoff>

Query Response

{Allan variance}, {Jitter}<newline><^END>

Example of use

10 OUTPUT 717;":CALCulate:PN1:TRACe1:FUNCtion:AVARiance:DATA? 0.001,10000"
30 ENTER 717;A$