Property (Read Only)
Value = SCPI.CALCulate.PN(Ch).TRACe(Tr).FUNCtion.AVARiance.DATA_Q avg_time, fcutoff, allan_var, jitter
This command gets Allan Variance and Jitter (data trace), for the selected trace Tr of the selected channel Ch.
Recommendation for each input parameters:
Cut-off frequency (CutOff) :
Range of start offset frequency from stop offset frequency
Minimum specified average time (Tau) :
Choose a value of big one, reciprocal number of stop offset frequency or reciprocal number of cut-off frequency.
Maximum specified average time (Tau) :
It is decided by start offset frequency. Relations of Tau and start offset frequency are as follows.
Start offset Frequency |
Specified average time (Tau) |
1 Hz |
0.2 sec. |
10 Hz |
0.02 sec. |
100 Hz |
0.002 sec. |
1000Hz |
0.0002 sec. |
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 |
- |
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)"
SCPI.CALCulate.PN(Ch).TRACe(Tr).FUNCtion.AVARiance.MEMory
No equivalent key is available on the front panel.
:CALCulate:PN[1-1]:TRACe[1-1]:FUNCtion:AVARiance:DATA? <avg_time>,<fcutoff>
{Allan variance}, {Jitter}<newline><^END>
10 OUTPUT 717;":CALCulate:PN1:TRACe1:FUNCtion:AVARiance:DATA? 0.001,10000"
30 ENTER 717;A$