2700 Series Basic Extensions Manual
2700 Series Basic Extensions Manual
2700 Series Basic Extensions Manual
2722272027122702
AP Basic Extensions
Reference for
2700 Series Instruments
for · SYS-2722 ·
and · SYS-2720 ·
SYS-2712 · SYS-2702 ·
PN 8211.0185 Revision 3
For AP2700 control software Version 3.30
Published by:
Chapter 1
AP Basic Extensions Reference
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Manual Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Chapter 2
System Panels
Analog Analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Analog Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
BarGraph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Computes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
DCX-127 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Digital Analyzer Panels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Digital Data Analyzer (BITTEST) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Digital Interface Analyzer (INTERVU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
DSP Audio Analyzer (ANALYZER) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
FFT Spectrum Analyzer (FFT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Harmonic Distortion Analyzer (DISTORT). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Multitone Audio Analyzer (FASTTEST) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Quasi-Anechoic Acoustical Tester (MLS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Digital Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Digital I/O Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
IEC 61397 / Dolby Digital . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Regulation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
PSIA—Transmit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
PSIA—Transmit, Continued ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
PSIA—Receive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
PSIA—Receive, Continued .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Settling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Speaker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Status Bits—Transmit Consumer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Status Bits—Receive Consumer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Status Bits—Transmit Professional . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Status Bits—Receive Professional . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Status Bits—Receive Professional . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Sweep. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Switcher . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Sync. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Chapter 3
Analog Analyzer
AP.Anlr.ChACoupling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
AP.Anlr.ChAFreqRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
AP.Anlr.ChAFreqReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
AP.Anlr.ChAFreqSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
AP.Anlr.ChAFreqTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
AP.Anlr.ChAImpedance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
AP.Anlr.ChAInput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
AP.Anlr.ChALevelRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
AP.Anlr.ChALevelReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
AP.Anlr.ChALevelSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
AP.Anlr.ChALevelTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
AP.Anlr.ChARange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
AP.Anlr.ChARangeAuto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
AP.Anlr.ChBCoupling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
AP.Anlr.ChBFreqRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
AP.Anlr.ChBFreqReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
AP.Anlr.ChBFreqSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
AP.Anlr.ChBFreqTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
AP.Anlr.ChBImpedance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
AP.Anlr.ChBInput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
AP.Anlr.ChBLevelRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
AP.Anlr.ChBLevelReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
AP.Anlr.ChBLevelSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
AP.Anlr.ChBLevelTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
AP.Anlr.ChBRange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
AP.Anlr.ChBRangeAuto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
AP.Anlr.DoesFilterExist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
AP.Anlr.FuncBPBRFreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
AP.Anlr.FuncBPBRTuning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
AP.Anlr.FuncDetector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
AP.Anlr.FuncFilter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
AP.Anlr.FuncFilterHP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
AP.Anlr.FuncFilterId . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
AP.Anlr.FuncFilterLP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
AP.Anlr.FuncInput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
AP.Anlr.FuncMode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
AP.Anlr.FuncRange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
AP.Anlr.FuncRangeAuto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
AP.Anlr.FuncRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
AP.Anlr.FuncReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
AP.Anlr.FuncSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
AP.Anlr.FuncTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
AP.Anlr.PhaseMode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
AP.Anlr.PhaseRdg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
AP.Anlr.PhaseReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
AP.Anlr.PhaseSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
AP.Anlr.PhaseTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
AP.Anlr.RdgRate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
AP.Anlr.RefChAdBr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
AP.Anlr.RefChBdBr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
AP.Anlr.RefdBm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
AP.Anlr.RefdBrAuto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
AP.Anlr.RefFreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
AP.Anlr.RefFreqAuto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
AP.Anlr.RefWatts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
AP.Anlr.WFDetector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
AP.Anlr.WFFilter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Chapter 4
Application
AP.Application.AppDir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
AP.Application.ClearCurrentError . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
AP.Application.CopyPanelToClipboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
AP.Application.DisplayCurrentError . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
AP.Application.DisplayDataOnTestOpen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
AP.Application.DoReadings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
AP.Application.GetCurrentErrorString . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
AP.Application.HardwareExists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
AP.Application.HomeDir. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
AP.Application.IsDemoMode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
AP.Application.MacroDir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
AP.Application.Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
AP.Application.NewData . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
AP.Application.NewMacro. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
AP.Application.NewTest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
AP.Application.NewTestCustom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
AP.Application.Page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
AP.Application.PanelClose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
AP.Application.PanelOpen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
AP.Application.Quit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
AP.Application.Restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
AP.Application.SetWatchDogTimer1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
AP.Application.SetWatchDogTimer2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
AP.Application.SysType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
AP.Application.TempDir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
AP.Application.TestDir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
AP.Application.TestName . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
AP.Application.ThrowErrors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
AP.Application.Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
AP.Application.Visible . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
AP.Application.VisibleAll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
AP.Application.VisibleBarGraphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
AP.Application.VisibleDataEditor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
AP.Application.VisibleGraph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
AP.Application.VisibleMacroEditor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
AP.Application.VisiblePanels. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
AP.Application.WorkingDir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Chapter 5
Auxiliary Instrument
AP.Aux.Reading1Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
AP.Aux.Reading1Ready . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
AP.Aux.Reading1Settling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
AP.Aux.Reading1Trig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
AP.Aux.Reading2Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
AP.Aux.Reading2Ready . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
AP.Aux.Reading2Settling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
AP.Aux.Reading2Trig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
AP.Aux.Reading3Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
AP.Aux.Reading3Ready . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
AP.Aux.Reading3Settling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
AP.Aux.Reading3Trig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
AP.Aux.Reading4Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
AP.Aux.Reading4Ready . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
AP.Aux.Reading4Settling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
AP.Aux.Reading4Trig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
AP.Aux.SetReading1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
AP.Aux.SetReading2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
AP.Aux.SetReading3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
AP.Aux.SetReading4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
AP.Aux.Setting1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
AP.Aux.Setting2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
AP.Aux.Setting3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
AP.Aux.Setting4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Chapter 6
Bar Graph
AP.BarGraph.AxisAutoScale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
AP.BarGraph.AxisIncrement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
AP.BarGraph.AxisLeft . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
AP.BarGraph.AxisLogLin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
AP.BarGraph.AxisRight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
AP.BarGraph.Comment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
AP.BarGraph.CommentShow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
AP.BarGraph.DigitsOnly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
AP.BarGraph.Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
AP.BarGraph.Max . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
AP.BarGraph.Min . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
AP.BarGraph.New . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
AP.BarGraph.Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
AP.BarGraph.TargetLower . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
AP.BarGraph.TargetRange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
AP.BarGraph.TargetUpper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
AP.BarGraph.Title . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Chapter 7
Status Bits
AP.Bits.ChAAudioModeRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
AP.Bits.ChAAuxBitsRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
AP.Bits.ChACategoryRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
AP.Bits.ChAChModeRdg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
AP.Bits.ChAChNumRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
AP.Bits.ChAClockAccuracyRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
AP.Bits.ChACopyrightRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
AP.Bits.ChACrcRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
AP.Bits.ChADestinationRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
AP.Bits.ChAEmphRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
AP.Bits.ChAFlag0_5Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
AP.Bits.ChAFlag6_13Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
AP.Bits.ChAFlag14_17Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
AP.Bits.ChAFlag18_21Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
AP.Bits.ChAFreqModeRdg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
AP.Bits.ChALocalAddressRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
AP.Bits.ChAModeRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
AP.Bits.ChAOriginRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
AP.Bits.ChARefSignalRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
AP.Bits.ChASampleFreqRdg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
AP.Bits.ChASourceNumRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
AP.Bits.ChAStatusXferToString . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
AP.Bits.ChATimeOfDayRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
AP.Bits.ChAUserBitsRdg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
AP.Bits.ChAWordLengthRdg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
AP.Bits.ChAXmitStatus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
AP.Bits.ChBAudioModeRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
AP.Bits.ChBAuxBitsRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
AP.Bits.ChBCategoryRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
AP.Bits.ChBChModeRdg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
AP.Bits.ChBChNumRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
AP.Bits.ChBClockAccuracyRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
AP.Bits.ChBCopyrightRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
AP.Bits.ChBCrcRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
AP.Bits.ChBDestinationRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
AP.Bits.ChBEmphRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
AP.Bits.ChBFlag0_5Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
AP.Bits.ChBFlag6_13Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
AP.Bits.ChBFlag14_17Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
AP.Bits.ChBFlag18_21Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
AP.Bits.ChBFreqModeRdg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
AP.Bits.ChBLocalAddressRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
AP.Bits.ChBModeRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
AP.Bits.ChBOriginRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
AP.Bits.ChBRefSignalRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
AP.Bits.ChBSampleFreqRdg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
AP.Bits.ChBSourceNumRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
AP.Bits.ChBStatusXferToString . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
AP.Bits.ChBTimeOfDayRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
AP.Bits.ChBUserBitsRdg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
AP.Bits.ChBWordLengthRdg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
AP.Bits.ChBXmitStatus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
AP.Bits.Cons.AudioMode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
AP.Bits.Cons.Category. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
AP.Bits.Cons.Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
AP.Bits.Cons.ChNum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
AP.Bits.Cons.ClockAccuracy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
AP.Bits.Cons.Copyright . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
AP.Bits.Cons.Emphasis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
AP.Bits.Cons.SampleFreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
AP.Bits.Cons.SourceNum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
AP.Bits.Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
AP.Bits.Pro.AudioMode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
AP.Bits.Pro.AuxBits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
AP.Bits.Pro.ChMode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
AP.Bits.Pro.CrcEnable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
AP.Bits.Pro.Destination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
AP.Bits.Pro.Emphasis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
AP.Bits.Pro.Flag0_5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
AP.Bits.Pro.Flag6_13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
AP.Bits.Pro.Flag14_17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
AP.Bits.Pro.Flag18_21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
AP.Bits.Pro.FreqMode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
AP.Bits.Pro.LocalAddress . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
AP.Bits.Pro.LocalAddressAuto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
AP.Bits.Pro.Origin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
AP.Bits.Pro.RefSignal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
AP.Bits.Pro.SampleFreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
AP.Bits.Pro.TimeOfDay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
AP.Bits.Pro.UserBits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
AP.Bits.Pro.WordLength . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
AP.Bits.XmitChannel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Chapter 8
RS-232
AP.CommA.Break . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
AP.CommA.CDHolding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
AP.CommA.CDTimeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
AP.CommA.CommEvent. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
AP.CommA.CommId . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
AP.CommA.CommPort . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
AP.CommA.CTSHolding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
AP.CommA.CTSTimeout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
AP.CommA.DSRHolding. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
AP.CommA.DSRTimeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
AP.CommA.DTREnable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
AP.CommA.Handshaking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
AP.CommA.InBufferCount . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
AP.CommA.InBufferSize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
AP.CommA.Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
AP.CommA.InputLen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
AP.CommA.Interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
AP.CommA.NullDiscard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
AP.CommA.OutBufferCount . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
AP.CommA.OutBufferSize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
AP.CommA.Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
AP.CommA.ParityReplace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
AP.CommA.PortOpen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
AP.CommA.RThreshold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
AP.CommA.RTSEnable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
AP.CommA.Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
AP.CommA.SThreshold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Chapter 9
Computes
AP.Compute.Avg.Apply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
AP.Compute.Avg.Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
AP.Compute.Avg.PostSweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
AP.Compute.Avg.Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
AP.Compute.Avg.StartUnit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
AP.Compute.Avg.Stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
AP.Compute.Avg.StopUnit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
AP.Compute.Center.Apply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
AP.Compute.Center.Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
AP.Compute.Center.PostSweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
AP.Compute.Center.Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
AP.Compute.Center.StartUnit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
AP.Compute.Center.Stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
AP.Compute.Center.StopUnit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
AP.Compute.Clear.All . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
AP.Compute.Delta.Apply. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
AP.Compute.Delta.Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
AP.Compute.Delta.FileName . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
AP.Compute.Delta.PostSweep. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
AP.Compute.Equalize.Apply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
AP.Compute.Equalize.Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
AP.Compute.Equalize.FileName . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
AP.Compute.Equalize.PostSweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
AP.Compute.Invert.Apply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
AP.Compute.Invert.Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
AP.Compute.Invert.Horizontal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
AP.Compute.Invert.HorizontalUnit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
AP.Compute.Invert.PostSweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
AP.Compute.Linearity.Apply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
AP.Compute.Linearity.Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
AP.Compute.Linearity.PostSweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
AP.Compute.Linearity.Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
AP.Compute.Linearity.StartUnit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
AP.Compute.Linearity.Stop. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
AP.Compute.Linearity.StopUnit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
AP.Compute.Max.Apply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
AP.Compute.Max.Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
AP.Compute.Max.PostSweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
AP.Compute.Max.Start. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
AP.Compute.Max.StartUnit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
AP.Compute.Max.Stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
AP.Compute.Max.StopUnit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
AP.Compute.Min.Apply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
AP.Compute.Min.Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
AP.Compute.Min.PostSweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
AP.Compute.Min.Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
AP.Compute.Min.StartUnit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
AP.Compute.Min.Stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
AP.Compute.Min.StopUnit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
AP.Compute.Normalize.Apply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
AP.Compute.Normalize.Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
AP.Compute.Normalize.Horizontal. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
AP.Compute.Normalize.HorizontalUnit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
AP.Compute.Normalize.PostSweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
AP.Compute.Normalize.Target . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
AP.Compute.Normalize.TargetUnit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
AP.Compute.Sigma.Apply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
AP.Compute.Sigma.Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
AP.Compute.Sigma.PostSweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
AP.Compute.Sigma.Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
AP.Compute.Sigma.StartUnit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
AP.Compute.Sigma.Stop. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
AP.Compute.Sigma.StopUnit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
AP.Compute.Smooth.Apply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
AP.Compute.Smooth.Auto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
AP.Compute.Smooth.Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
AP.Compute.Smooth.Passes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
AP.Compute.Smooth.PostSweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
AP.Compute.Status.Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
AP.Compute.Status.NumOf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
Chapter 10
Data
AP.Data.AddRowToEnd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
AP.Data.ColLimitError . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
AP.Data.ColLowerLimitError . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
AP.Data.ColName . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
AP.Data.ColNumOf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
AP.Data.ColSize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
AP.Data.ColUnit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
AP.Data.ColUpperLimitError . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
AP.Data.DeleteRow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
AP.Data.Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
AP.Data.InsertRowAfter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
AP.Data.InsertRowBefore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
AP.Data.LimitError . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
AP.Data.LowerLimitError. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
AP.Data.OptimizeDisplay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
AP.Data.Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
AP.Data.UpdateDisplay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
AP.Data.Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
AP.Data.UpperLimitError. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
AP.Data.Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
AP.Data.XferToArray . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
Chapter 11
DCX-127
AP.DCX.Ch1DcLevel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
AP.DCX.Ch1DcOutput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
AP.DCX.Ch2DcLevel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
AP.DCX.Ch2DcOutput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
AP.DCX.DigInFormat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
AP.DCX.DigInRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
AP.DCX.DigInRdgRate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
AP.DCX.DigInReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
AP.DCX.DigInScale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
AP.DCX.DigInSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
AP.DCX.DigInTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
AP.DCX.DigOut . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
AP.DCX.DigOutFormat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
AP.DCX.DigOutScale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
AP.DCX.DmmMode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
AP.DCX.DmmOffset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
AP.DCX.DmmRange. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
AP.DCX.DmmRangeAuto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
AP.DCX.DmmRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
AP.DCX.DmmRdgRate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
AP.DCX.DmmReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
AP.DCX.DmmScale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
AP.DCX.DmmSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
AP.DCX.DmmTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
AP.DCX.GateDelay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
AP.DCX.PortAOutput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
AP.DCX.PortBOutput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
AP.DCX.PortCOutput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
AP.DCX.PortDOutput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
Chapter 12
Digital Generator
AP.DGen.AutoOn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
AP.DGen.BurstInterval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
AP.DGen.BurstLevel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
AP.DGen.BurstOnTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
AP.DGen.ChAAmpl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
AP.DGen.ChAEqAmpl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
AP.DGen.ChAFreq. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
AP.DGen.ChAInvert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
AP.DGen.ChAOutput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
AP.DGen.ChBAmpl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
AP.DGen.ChBEqAmpl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
AP.DGen.ChBFreq. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
AP.DGen.ChBInvert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
AP.DGen.ChBOutput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
AP.DGen.ChBTrackA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
AP.DGen.DitherType. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
AP.DGen.DualAmplRatio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
AP.DGen.EqCurve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
AP.DGen.EqCurveColumn. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
AP.DGen.EqCurveFilename . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
AP.DGen.Freq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
AP.DGen.IMCenterFreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
AP.DGen.IMFreq. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
AP.DGen.IMHighFreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
AP.DGen.MlsLength . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
AP.DGen.Offset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
AP.DGen.Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
AP.DGen.Phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
AP.DGen.RefdBr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
AP.DGen.RefFreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
AP.DGen.RefVFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
AP.DGen.StepRate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
AP.DGen.Wfm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
AP.DGen.WfmName . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
Chapter 13
Dolby Digital Generator
AP.IEC61937.DataType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
AP.IEC61937.Delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
AP.IEC61937.DolbyDigital.AudioService.acmod. . . . . . . . . . . . . . . . . . . . . . . . . 255
AP.IEC61937.DolbyDigital.AudioService.bsmod. . . . . . . . . . . . . . . . . . . . . . . . . 256
AP.IEC61937.DolbyDigital.AudioService.dialnorm . . . . . . . . . . . . . . . . . . . . . . . . 256
AP.IEC61937.DolbyDigital.AudioService.dialnorm2 . . . . . . . . . . . . . . . . . . . . . . . 257
AP.IEC61937.DolbyDigital.AudioService.frmsizecod . . . . . . . . . . . . . . . . . . . . . . 257
AP.IEC61937.DolbyDigital.AudioService.fscod . . . . . . . . . . . . . . . . . . . . . . . . . 258
AP.IEC61937.DolbyDigital.AudioService.fscodmode . . . . . . . . . . . . . . . . . . . . . . 258
AP.IEC61937.DolbyDigital.AudioService.lfeon. . . . . . . . . . . . . . . . . . . . . . . . . . 258
AP.IEC61937.DolbyDigital.Bitstream.audprodi2e . . . . . . . . . . . . . . . . . . . . . . . . 259
AP.IEC61937.DolbyDigital.Bitstream.audprodie . . . . . . . . . . . . . . . . . . . . . . . . . 259
AP.IEC61937.DolbyDigital.Bitstream.cmixlev . . . . . . . . . . . . . . . . . . . . . . . . . . 259
AP.IEC61937.DolbyDigital.Bitstream.copyrightb . . . . . . . . . . . . . . . . . . . . . . . . . 260
AP.IEC61937.DolbyDigital.Bitstream.dsurmod. . . . . . . . . . . . . . . . . . . . . . . . . . 260
AP.IEC61937.DolbyDigital.Bitstream.langcod . . . . . . . . . . . . . . . . . . . . . . . . . . 260
AP.IEC61937.DolbyDigital.Bitstream.langcod2 . . . . . . . . . . . . . . . . . . . . . . . . . 260
AP.IEC61937.DolbyDigital.Bitstream.langcod2e . . . . . . . . . . . . . . . . . . . . . . . . . 261
AP.IEC61937.DolbyDigital.Bitstream.langcode . . . . . . . . . . . . . . . . . . . . . . . . . 261
AP.IEC61937.DolbyDigital.Bitstream.mixlevel . . . . . . . . . . . . . . . . . . . . . . . . . . 261
AP.IEC61937.DolbyDigital.Bitstream.mixlevel2 . . . . . . . . . . . . . . . . . . . . . . . . . 262
AP.IEC61937.DolbyDigital.Bitstream.origbs . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
AP.IEC61937.DolbyDigital.Bitstream.roomtyp . . . . . . . . . . . . . . . . . . . . . . . . . . 262
AP.IEC61937.DolbyDigital.Bitstream.roomtyp2 . . . . . . . . . . . . . . . . . . . . . . . . . 263
AP.IEC61937.DolbyDigital.Bitstream.surmixlev . . . . . . . . . . . . . . . . . . . . . . . . . 263
AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.C . . . . . . . . . . . . . . . . . . 263
AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.DGenCh1 . . . . . . . . . . . . . 264
AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.DGenCh2 . . . . . . . . . . . . . 264
AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.L . . . . . . . . . . . . . . . . . . 264
AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.LS . . . . . . . . . . . . . . . . . 265
AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.Mode. . . . . . . . . . . . . . . . 265
AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.R . . . . . . . . . . . . . . . . . . 265
AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.RS . . . . . . . . . . . . . . . . . 266
AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.Sub . . . . . . . . . . . . . . . . 266
AP.IEC61937.DolbyDigital.ChannelRouting.Normal.AllChannels . . . . . . . . . . . . . . . . 266
AP.IEC61937.DolbyDigital.ChannelRouting.Normal.C . . . . . . . . . . . . . . . . . . . . . . 267
AP.IEC61937.DolbyDigital.ChannelRouting.Normal.L . . . . . . . . . . . . . . . . . . . . . . 267
AP.IEC61937.DolbyDigital.ChannelRouting.Normal.LS . . . . . . . . . . . . . . . . . . . . . 267
AP.IEC61937.DolbyDigital.ChannelRouting.Normal.R . . . . . . . . . . . . . . . . . . . . . . 268
AP.IEC61937.DolbyDigital.ChannelRouting.Normal.RS . . . . . . . . . . . . . . . . . . . . . 268
AP.IEC61937.DolbyDigital.ChannelRouting.Normal.LFE . . . . . . . . . . . . . . . . . . . . 268
AP.IEC61937.DolbyDigital.ChannelRouting.Type . . . . . . . . . . . . . . . . . . . . . . . . 269
AP.IEC61937.DolbyDigital.DynamicRange.compr . . . . . . . . . . . . . . . . . . . . . . . . 269
AP.IEC61937.DolbyDigital.DynamicRange.dynrng . . . . . . . . . . . . . . . . . . . . . . . 269
AP.IEC61937.DolbyDigital.DynamicRange.LineModeCompression . . . . . . . . . . . . . . . 270
AP.IEC61937.DolbyDigital.DynamicRange.RFModeCompression. . . . . . . . . . . . . . . . 270
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.adconvtyp . . . . . . . . . . . . . . . . . . 271
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.bsid . . . . . . . . . . . . . . . . . . . . . 271
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.bsidmode . . . . . . . . . . . . . . . . . . 272
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.dheadphonmod . . . . . . . . . . . . . . . 272
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.dmixmod . . . . . . . . . . . . . . . . . . 272
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.dsurexmod . . . . . . . . . . . . . . . . . 273
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.encinfo . . . . . . . . . . . . . . . . . . . 273
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.ExtendedBitstream . . . . . . . . . . . . . 274
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.lorocmixlev . . . . . . . . . . . . . . . . . 274
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.lorosurmixlev . . . . . . . . . . . . . . . . 275
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.ltrtcmixlev . . . . . . . . . . . . . . . . . . 275
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.ltrtsurmixlev . . . . . . . . . . . . . . . . . 276
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.frames . . . . . . . . . . . . . . 276
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.frames64ths . . . . . . . . . . . 277
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.hours . . . . . . . . . . . . . . 277
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.minutes . . . . . . . . . . . . . 277
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.seconds . . . . . . . . . . . . . 278
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.timecod1e . . . . . . . . . . . . 278
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.timecod2e . . . . . . . . . . . . 279
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi1e . . . . . . . . . . . . . . . . . . . . 279
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi2 . . . . . . . . . . . . . . . . . . . . 280
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi2e . . . . . . . . . . . . . . . . . . . . 280
AP.IEC61937.DolbyDigital.Impairments.crc1enable . . . . . . . . . . . . . . . . . . . . . . . 281
AP.IEC61937.DolbyDigital.Impairments.crc2enable . . . . . . . . . . . . . . . . . . . . . . . 281
AP.IEC61937.DolbyDigital.Impairments.syncword . . . . . . . . . . . . . . . . . . . . . . . . 281
AP.IEC61937.DolbyDigital.Impairments.syncwordmode . . . . . . . . . . . . . . . . . . . . . 282
AP.IEC61937.DolbyDigital.LevelOfControl. . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
AP.IEC61937.DolbyDigital.Preprocess.ChannelLowpass . . . . . . . . . . . . . . . . . . . . 282
AP.IEC61937.DolbyDigital.Preprocess.DCHighpass. . . . . . . . . . . . . . . . . . . . . . . 283
AP.IEC61937.DolbyDigital.Preprocess.LFELowpass . . . . . . . . . . . . . . . . . . . . . . 283
AP.IEC61937.DolbyDigital.Preprocess.PhaseShift . . . . . . . . . . . . . . . . . . . . . . . 283
AP.IEC61937.Idle.LevelofControl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
AP.IEC61937.Idle.NullDataBurstRepetitionPeriod . . . . . . . . . . . . . . . . . . . . . . . . 284
AP.IEC61937.Idle.SendNullDataBursts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
AP.IEC61937.Pause.DataBurstRepetitionMode . . . . . . . . . . . . . . . . . . . . . . . . . 285
AP.IEC61937.Pause.DataBurstRepetitionPeriod . . . . . . . . . . . . . . . . . . . . . . . . 285
AP.IEC61937.Pause.GapLength. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
AP.IEC61937.Pause.GapLengthMode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
AP.IEC61937.Pause.LevelOfControl. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
AP.IEC61937.Preambles.BitstreamNumber . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
AP.IEC61937.Preambles.BitstreamNumberMode . . . . . . . . . . . . . . . . . . . . . . . . 287
AP.IEC61937.Preambles.DataType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
AP.IEC61937.Preambles.DataTypeCode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
AP.IEC61937.Preambles.DataTypeDependentInfo . . . . . . . . . . . . . . . . . . . . . . . 288
AP.IEC61937.Preambles.DataTypeDependentInfoMode . . . . . . . . . . . . . . . . . . . . 288
AP.IEC61937.Preambles.DataTypeMode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
AP.IEC61937.Preambles.ErrorFlag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
AP.IEC61937.Preambles.LengthCode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
AP.IEC61937.Preambles.LengthCodeMode . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
AP.IEC61937.Preambles.ReservedBits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
Chapter 14
Events
APEvent_OnApplicationStartup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
APEvent_OnAuxSetting1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
APEvent_OnAuxSetting2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
APEvent_OnAuxSetting3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
APEvent_OnAuxSetting4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
APEvent_OnDcxProgramControlInput. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
APEvent_OnError . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
APEvent_OnPromptContinue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
APEvent_OnSweepEnd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
APEvent_OnSweepNestEnd. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
APEvent_OnSweepNestStart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
APEvent_OnSweepReverseChannels. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
APEvent_OnSweepStart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
APEvent_OnSweepStep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
APEvent_OnSweepStepEnd. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
APEvent_OnSweepTrigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
APEvent_OnTestLoad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
APEvent_OnWatchDogTimeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
Chapter 15
File
AP.File.AppendData . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
AP.File.ExportASCIIData . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
AP.File.ExportGraphic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
AP.File.ImportASCIIData. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
AP.File.OpenData . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
AP.File.OpenMacro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
AP.File.OpenTest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
AP.File.OpenWfm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
AP.File.SaveAll. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
AP.File.SaveDataAs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
AP.File.SaveMacroAs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
AP.File.SaveTest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
AP.File.SaveTestAs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
AP.File.SaveTestAsCustom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
AP.File.SaveWfmAs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
Chapter 16
Analog Generator
AP.Gen.AutoOn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
AP.Gen.BurstInterval. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
AP.Gen.BurstLevel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
AP.Gen.BurstOnTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
AP.Gen.ChAAmpl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
AP.Gen.ChAEqAmpl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
AP.Gen.ChAFreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
AP.Gen.ChAInvert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
AP.Gen.ChAOutput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
AP.Gen.ChBAmpl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
AP.Gen.ChBEqAmpl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
AP.Gen.ChBFreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
AP.Gen.ChBInvert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
AP.Gen.ChBOutput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
AP.Gen.ChBTrackA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
AP.Gen.Config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
AP.Gen.DACBandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319
AP.Gen.DACSampleRate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
AP.Gen.DualAmplRatio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
AP.Gen.EqCurve. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
AP.Gen.EqCurveColumn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
AP.Gen.EqCurveFilename . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
AP.Gen.Freq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
AP.Gen.FreqAccuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
AP.Gen.IMCenterFreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
AP.Gen.IMFreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
AP.Gen.IMHighFreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
AP.Gen.Impedance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
AP.Gen.MlsLength . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
AP.Gen.Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
AP.Gen.Phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
AP.Gen.RefdBm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
AP.Gen.RefdBr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
AP.Gen.RefdBrAuto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
AP.Gen.RefFreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
AP.Gen.RefFreqAuto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
AP.Gen.RefWatts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
AP.Gen.Wfm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
AP.Gen.WfmName. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
Chapter 17
Graph
AP.Graph.Comment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
AP.Graph.CommentAppend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
AP.Graph.CommentShow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
AP.Graph.CompanyNameShow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
AP.Graph.CopyToSweepPanel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
AP.Graph.CursorPosition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
AP.Graph.CursorRow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
AP.Graph.CursorsOn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
AP.Graph.CursorValue. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
AP.Graph.Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
AP.Graph.LabelAuto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
AP.Graph.Legend.Comment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
AP.Graph.Legend.LineColor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
AP.Graph.Legend.LineStyle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
AP.Graph.Legend.LineThickness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
AP.Graph.OptimizeIndividually. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
AP.Graph.OptimizeLeft . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
AP.Graph.OptimizeRight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
AP.Graph.OptimizeTogether . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
AP.Graph.RefDataClear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
AP.Graph.RefDataShow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
AP.Graph.RefDataStore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
AP.Graph.ScrollBarsOn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
AP.Graph.Sweeps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
AP.Graph.SweepShow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
AP.Graph.SweepTraces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
AP.Graph.TimeDateShow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346
AP.Graph.Title . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346
AP.Graph.TraceShow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346
AP.Graph.ZoomOriginal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
AP.Graph.ZoomOut . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
Chapter 18
Log
AP.Log.AddEntry. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
AP.Log.AddEntryWithoutTimeDate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
AP.Log.Clear. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
AP.Log.Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
AP.Log.Enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
AP.Log.ErrorMessages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
AP.Log.FileActivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
AP.Log.FileName . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
AP.Log.GraphTitle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
AP.Log.PassFailMessages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
AP.Log.PrintLogFile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
AP.Log.TestName . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
AP.Log.View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
Chapter 19
Macro
AP.Macro.IsRunning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
AP.Macro.Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
Chapter 20
Print
AP.Print.Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
AP.Print.Graph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
AP.Print.LoadFromTest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
AP.Print.TrackGraph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
Chapter 21
Prompt
AP.Prompt.BackColor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
AP.Prompt.FontName . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
AP.Prompt.FontSize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
AP.Prompt.Hide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
AP.Prompt.IsUp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
AP.Prompt.Justify . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
AP.Prompt.Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
AP.Prompt.Show . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
AP.Prompt.ShowWithContinue. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
AP.Prompt.ShowWithContinueAndStopSweep . . . . . . . . . . . . . . . . . . . . . . . . . 362
AP.Prompt.Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
AP.Prompt.TextColor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
AP.Prompt.Title . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
Chapter 22
Regulation
AP.Reg.IsRunning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
AP.Reg.SourceHigh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
AP.Reg.SourceId. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
AP.Reg.SourceIteration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
AP.Reg.SourceLow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
AP.Reg.SourceOperation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
AP.Reg.SourceStepSize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
AP.Reg.Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
AP.Reg.StartNoWait . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
AP.Reg.SweepEnable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
AP.Reg.TargetId . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
AP.Reg.TargetTolerance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
AP.Reg.TargetToleranceMode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
AP.Reg.TargetValue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
AP.Reg.TimeOut . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
Chapter 23
Digital Input/Output
AP.S2CDio.ActiveBitsRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
AP.S2CDio.ChAPeakRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
AP.S2CDio.ChAPeakReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
AP.S2CDio.ChAPeakTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
AP.S2CDio.ChBPeakRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
AP.S2CDio.ChBPeakReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
AP.S2CDio.ChBPeakTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
AP.S2CDio.DelayRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
AP.S2CDio.DelayReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
AP.S2CDio.DelaySettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
AP.S2CDio.DelayTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
AP.S2CDio.FlagChAInvalidRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
AP.S2CDio.FlagChBInvalidRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
AP.S2CDio.FlagCodingRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
AP.S2CDio.FlagConfidenceRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
AP.S2CDio.FlagInvalidRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
AP.S2CDio.FlagLockRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
AP.S2CDio.FlagParityRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
AP.S2CDio.InBitsDisplay. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
AP.S2CDio.InAudioFormat. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
AP.S2CDio.InDeEmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
AP.S2CDio.InConnector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381
AP.S2CDio.InImpedance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381
AP.S2CDio.InInput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
AP.S2CDio.InJitterBW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
AP.S2CDio.InJitterDetector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
AP.S2CDio.InJitterMode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
AP.S2CDio.InMonitorMode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
AP.S2CDio.InResolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384
AP.S2CDio.InScaleFreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384
AP.S2CDio.JitterRdg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
AP.S2CDio.JitterReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
AP.S2CDio.JitterSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
AP.S2CDio.JitterTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
AP.S2CDio.OutCableSim . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
AP.S2CDio.OutCM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
AP.S2CDio.OutCMAmpl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
AP.S2CDio.OutCMFreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
AP.S2CDio.OutAudioFormat. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
AP.S2CDio.OutInvert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
AP.S2CDio.OutJitterAmpl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
AP.S2CDio.OutJitterEqCurve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
AP.S2CDio.OutJitterFreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
AP.S2CDio.OutJitterType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
AP.S2CDio.OutNoise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
AP.S2CDio.OutNoiseAmpl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
AP.S2CDio.OutParityError . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
AP.S2CDio.OutPreEmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
AP.S2CDio.OutConnector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391
AP.S2CDio.OutputSRRange. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
AP.S2CDio.OutResolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
AP.S2CDio.OutRiseFall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
AP.S2CDio.OutRiseFallTime. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
AP.S2CDio.OutSampleRate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
AP.S2CDio.OutScaleFreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
AP.S2CDio.OutSendInvalid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
AP.S2CDio.OutVoltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
AP.S2CDio.RateRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
AP.S2CDio.RateReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396
AP.S2CDio.RateSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397
AP.S2CDio.RateTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397
AP.S2CDio.RefRate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397
AP.S2CDio.VoltageRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397
AP.S2CDio.VoltageReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398
AP.S2CDio.VoltageSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
AP.S2CDio.VoltageTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
Chapter 24
DSP Audio Analyzer
AP.S2CDsp.Analyzer.ChACoupling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
AP.S2CDsp.Analyzer.ChAFreqRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
AP.S2CDsp.Analyzer.ChAFreqReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402
AP.S2CDsp.Analyzer.ChAFreqSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
AP.S2CDsp.Analyzer.ChAFreqTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
AP.S2CDsp.Analyzer.ChALevelRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
AP.S2CDsp.Analyzer.ChALevelReady. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
AP.S2CDsp.Analyzer.ChALevelSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
AP.S2CDsp.Analyzer.ChALevelTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
AP.S2CDsp.Analyzer.ChARange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
AP.S2CDsp.Analyzer.ChARangeAuto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
AP.S2CDsp.Analyzer.ChBCoupling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
AP.S2CDsp.Analyzer.ChBFreqRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
AP.S2CDsp.Analyzer.ChBFreqReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
AP.S2CDsp.Analyzer.ChBFreqSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
AP.S2CDsp.Analyzer.ChBFreqTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
AP.S2CDsp.Analyzer.ChBLevelRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
AP.S2CDsp.Analyzer.ChBLevelReady. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
AP.S2CDsp.Analyzer.ChBLevelSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
AP.S2CDsp.Analyzer.ChBLevelTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
AP.S2CDsp.Analyzer.ChBRange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
AP.S2CDsp.Analyzer.ChBRangeAuto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
AP.S2CDsp.Analyzer.FuncBPBRFreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
AP.S2CDsp.Analyzer.FuncBPBRTuning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
AP.S2CDsp.Analyzer.FuncChARange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
AP.S2CDsp.Analyzer.FuncChARangeAuto . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
AP.S2CDsp.Analyzer.FuncChARdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
AP.S2CDsp.Analyzer.FuncChAReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
AP.S2CDsp.Analyzer.FuncChASettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414
AP.S2CDsp.Analyzer.FuncChATrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414
AP.S2CDsp.Analyzer.FuncChBRange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414
AP.S2CDsp.Analyzer.FuncChBRangeAuto . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
AP.S2CDsp.Analyzer.FuncChBRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
AP.S2CDsp.Analyzer.FuncChBReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416
AP.S2CDsp.Analyzer.FuncChBSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416
AP.S2CDsp.Analyzer.FuncChBTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416
AP.S2CDsp.Analyzer.FuncDetector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
AP.S2CDsp.Analyzer.FuncFilter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 418
AP.S2CDsp.Analyzer.FuncFilterHP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 418
AP.S2CDsp.Analyzer.FuncFilterHPUserDefined. . . . . . . . . . . . . . . . . . . . . . . . . 419
AP.S2CDsp.Analyzer.FuncFilterId . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419
AP.S2CDsp.Analyzer.FuncFilterLP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420
AP.S2CDsp.Analyzer.FuncFilterLPUserDefined . . . . . . . . . . . . . . . . . . . . . . . . . 420
AP.S2CDsp.Analyzer.FuncFilterWeightingUserDefined . . . . . . . . . . . . . . . . . . . . . 420
AP.S2CDsp.Analyzer.FuncMode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
AP.S2CDsp.Analyzer.FuncPhaseMode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
AP.S2CDsp.Analyzer.InputFormat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
AP.S2CDsp.Analyzer.RdgRate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
Chapter 25
Digital Data Analyzer
AP.S2CDsp.Bittest.ChADataRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425
AP.S2CDsp.Bittest.ChADataReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
AP.S2CDsp.Bittest.ChADataTrig. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
AP.S2CDsp.Bittest.ChAErrRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
AP.S2CDsp.Bittest.ChAErrReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
AP.S2CDsp.Bittest.ChAErrTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
AP.S2CDsp.Bittest.ChBDataRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
AP.S2CDsp.Bittest.ChBDataReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
AP.S2CDsp.Bittest.ChBDataTrig. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
AP.S2CDsp.Bittest.ChBErrRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
AP.S2CDsp.Bittest.ChBErrReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
AP.S2CDsp.Bittest.ChBErrTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
AP.S2CDsp.Bittest.DisplayError . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
AP.S2CDsp.Bittest.FreezeOnError . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
AP.S2CDsp.Bittest.RdgRate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
AP.S2CDsp.BitTest.Wfm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
Chapter 26
Multitone Audio Analyzer
AP.S2CDsp.FastTest.Ch1Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
AP.S2CDsp.FastTest.Ch1Ready. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
AP.S2CDsp.FastTest.Ch1Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434
AP.S2CDsp.FastTest.Ch1Trig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434
AP.S2CDsp.FastTest.Ch2Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435
AP.S2CDsp.FastTest.Ch2Ready. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435
AP.S2CDsp.FastTest.Ch2Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436
AP.S2CDsp.FastTest.Ch2Trig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436
AP.S2CDsp.FastTest.FFTLength . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437
AP.S2CDsp.FastTest.FreqRes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
AP.S2CDsp.FastTest.InputFormat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
AP.S2CDsp.FastTest.Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
AP.S2CDsp.FastTest.PhaseDisplay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
AP.S2CDsp.FastTest.Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442
AP.S2CDsp.FastTest.TrigDelay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443
AP.S2CDsp.FastTest.TrigSource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443
Chapter 27
FFT Spectrum Analyzer
AP.S2CDsp.FFT.AcquireLength . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
AP.S2CDsp.FFT.Averages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
AP.S2CDsp.FFT.AverageType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
AP.S2CDsp.FFT.Ch1Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
AP.S2CDsp.FFT.Ch1Ready . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448
AP.S2CDsp.FFT.Ch1Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
AP.S2CDsp.FFT.Ch1Trig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
AP.S2CDsp.FFT.Ch2Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
AP.S2CDsp.FFT.Ch2Ready . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
AP.S2CDsp.FFT.Ch2Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
AP.S2CDsp.FFT.Ch2Trig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
AP.S2CDsp.FFT.InputFormat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
AP.S2CDsp.FFT.Smoothing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
AP.S2CDsp.FFT.StartTime. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 452
AP.S2CDsp.FFT.SubtractDC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 452
AP.S2CDsp.FFT.TransformLength. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
AP.S2CDsp.FFT.TrigDelay. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
AP.S2CDsp.FFT.TrigLevel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454
AP.S2CDsp.FFT.TrigPolarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454
AP.S2CDsp.FFT.TrigSensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454
AP.S2CDsp.FFT.TrigSource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455
AP.S2CDsp.FFT.WfmDisplay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 456
AP.S2CDsp.FFT.Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
Chapter 28
Harmonic Analyzer
AP.S2CDsp.Harmonic.Ch1FreqRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
AP.S2CDsp.Harmonic.Ch1FreqReady. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
AP.S2CDsp.Harmonic.Ch1FreqSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
AP.S2CDsp.Harmonic.Ch1FreqTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
AP.S2CDsp.Harmonic.Ch1FundRdg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
AP.S2CDsp.Harmonic.Ch1FundReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
AP.S2CDsp.Harmonic.Ch1FundSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
AP.S2CDsp.Harmonic.Ch1FundTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
AP.S2CDsp.Harmonic.Ch1Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
AP.S2CDsp.Harmonic.Ch1Sum1Harmonics. . . . . . . . . . . . . . . . . . . . . . . . . . . 463
AP.S2CDsp.Harmonic.Ch1Sum1Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463
AP.S2CDsp.Harmonic.Ch1Sum1Ready . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464
AP.S2CDsp.Harmonic.Ch1Sum1RelUnits . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
AP.S2CDsp.Harmonic.Ch1Sum1Settling . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
AP.S2CDsp.Harmonic.Ch1Sum1Trig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
AP.S2CDsp.Harmonic.Ch1Sum2Harmonics. . . . . . . . . . . . . . . . . . . . . . . . . . . 466
AP.S2CDsp.Harmonic.Ch1Sum2Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
AP.S2CDsp.Harmonic.Ch1Sum2Ready . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
AP.S2CDsp.Harmonic.Ch1Sum2RelUnits . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
AP.S2CDsp.Harmonic.Ch1Sum2Settling . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
AP.S2CDsp.Harmonic.Ch1Sum2Trig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468
AP.S2CDsp.Harmonic.Ch2FreqRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468
AP.S2CDsp.Harmonic.Ch2FreqReady. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469
AP.S2CDsp.Harmonic.Ch2FreqSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469
AP.S2CDsp.Harmonic.Ch2FreqTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
AP.S2CDsp.Harmonic.Ch2FundRdg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
AP.S2CDsp.Harmonic.Ch2FundReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
AP.S2CDsp.Harmonic.Ch2FundSettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
AP.S2CDsp.Harmonic.Ch2FundTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
AP.S2CDsp.Harmonic.Ch2Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
AP.S2CDsp.Harmonic.Ch2Sum1Harmonics. . . . . . . . . . . . . . . . . . . . . . . . . . . 472
AP.S2CDsp.Harmonic.Ch2Sum1Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 472
AP.S2CDsp.Harmonic.Ch2Sum1Ready . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
AP.S2CDsp.Harmonic.Ch2Sum1RelUnits . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
AP.S2CDsp.Harmonic.Ch2Sum1Settling . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
AP.S2CDsp.Harmonic.Ch2Sum1Trig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
AP.S2CDsp.Harmonic.Ch2Sum2Harmonics. . . . . . . . . . . . . . . . . . . . . . . . . . . 475
AP.S2CDsp.Harmonic.Ch2Sum2Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475
AP.S2CDsp.Harmonic.Ch2Sum2Ready . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
AP.S2CDsp.Harmonic.Ch2Sum2RelUnits . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
AP.S2CDsp.Harmonic.Ch2Sum2Settling . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
AP.S2CDsp.Harmonic.Ch2Sum2Trig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 477
AP.S2CDsp.Harmonic.Freq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 477
AP.S2CDsp.Harmonic.InputFormat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 478
AP.S2CDsp.Harmonic.Selectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 478
AP.S2CDsp.Harmonic.Tuning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 478
Chapter 29
Digital Interface Analyzer
AP.S2CDsp.Intervu.AcquisitionPosition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 481
AP.S2CDsp.Intervu.AmplVsTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 481
AP.S2CDsp.Intervu.AudioMonitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 482
AP.S2CDsp.Intervu.Averages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
AP.S2CDsp.Intervu.JitterDetection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
AP.S2CDsp.Intervu.TrigErrorCoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485
AP.S2CDsp.Intervu.TrigErrorConfidence . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485
AP.S2CDsp.Intervu.TrigErrorLock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486
AP.S2CDsp.Intervu.TrigErrorParity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486
AP.S2CDsp.Intervu.TrigPolarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 488
AP.S2CDsp.Intervu.TrigSource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 488
AP.S2CDsp.Intervu.Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 490
Chapter 30
Quasi-Anechoic Acoustical Tester
AP.S2CDsp.MLS.Averages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491
AP.S2CDsp.MLS.Ch1Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491
AP.S2CDsp.MLS.Ch1Ready. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 492
AP.S2CDsp.MLS.Ch1Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 493
AP.S2CDsp.MLS.Ch1Trig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 493
AP.S2CDsp.MLS.Ch2Rdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 493
AP.S2CDsp.MLS.Ch2Ready. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 494
AP.S2CDsp.MLS.Ch2Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 494
AP.S2CDsp.MLS.Ch2Trig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
AP.S2CDsp.MLS.InputFormat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
AP.S2CDsp.Mls.Smoothing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
AP.S2CDsp.MLS.TimeDelay. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 496
AP.S2CDsp.MLS.TimeDisplay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497
AP.S2CDsp.MLS.TrigSource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497
AP.S2CDsp.MLS.WfmDisplay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498
AP.S2CDsp.MLS.WindowETime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498
AP.S2CDsp.MLS.WindowStart. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
AP.S2CDsp.MLS.WindowStop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500
Chapter 31
DSP Program & Reference
AP.S2CDsp.Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 501
AP.S2CDsp.RefCh1dBr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 504
AP.S2CDsp.RefCh2dBr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 505
AP.S2CDsp.RefFreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 505
AP.S2CDsp.RefVFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 505
Chapter 32
Programmable Serial Interface
AP.PSIA.MasterClkDir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
AP.PSIA.OutputsOn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 508
AP.PSIA.Rx.BitClk.Dir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 508
AP.PSIA.Rx.BitClk.Factor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 508
AP.PSIA.Rx.ChannelClk.BitWidePulse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 509
AP.PSIA.Rx.ChannelClk.EdgeSync . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 510
AP.PSIA.Rx.ChannelClk.Factor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 510
AP.PSIA.Rx.ChannelClk.InvWfm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 510
AP.PSIA.Rx.Data.ChannelA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 511
AP.PSIA.Rx.Data.ChannelB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 511
AP.PSIA.Rx.Data.EdgeSync . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 512
AP.PSIA.Rx.Data.Justify . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513
AP.PSIA.Rx.Data.MSBFirst . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513
AP.PSIA.Rx.Data.PadBits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 514
AP.PSIA.Rx.FrameClk.BitWidePulse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 514
AP.PSIA.Rx.FrameClk.Dir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 515
AP.PSIA.Rx.FrameClk.EdgeSync . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516
AP.PSIA.Rx.FrameClk.InvWfm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516
AP.PSIA.Rx.FrameClk.Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516
AP.PSIA.Rx.FrameClk.ShiftOneBitLeft . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517
AP.PSIA.Rx.I2S . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517
AP.PSIA.Rx.MasterClk.Factor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 518
AP.PSIA.Rx.NFsClk.Factor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 518
AP.PSIA.Rx.NFsClk.InvWfm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 518
AP.PSIA.Tx.BitClk.Dir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519
AP.PSIA.Tx.BitClk.Factor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519
AP.PSIA.Tx.ChannelClk.BitWidePulse. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519
AP.PSIA.Tx.ChannelClk.EdgeSync . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519
AP.PSIA.Tx.ChannelClk.Factor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519
AP.PSIA.Tx.ChannelClk.InvWfm. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519
AP.PSIA.Tx.Data.ChannelA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519
AP.PSIA.Tx.Data.ChannelB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519
AP.PSIA.Tx.Data.EdgeSync . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 520
AP.PSIA.Tx.Data.Justify . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 520
AP.PSIA.Tx.Data.MSBFirst . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 520
AP.PSIA.Tx.Data.PadBits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 520
AP.PSIA.Tx.Data.PostPadType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 520
AP.PSIA.Tx.Data.PrePadType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 520
AP.PSIA.Tx.FrameClk.BitWidePulse. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521
AP.PSIA.Tx.FrameClk.Dir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521
AP.PSIA.Tx.FrameClk.EdgeSync . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521
AP.PSIA.Tx.FrameClk.InvWfm. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521
AP.PSIA.Tx.FrameClk.Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521
AP.PSIA.Tx.FrameClk.ShiftOneBitLeft. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521
AP.PSIA.Tx.I2S . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521
AP.PSIA.Tx.LoopBack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521
AP.PSIA.Tx.MasterClk.Factor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 522
AP.PSIA.Tx.NFsClk.Factor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 522
AP.PSIA.Tx.NFsClk.InvWfm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 522
AP.PSIA.VoltageSetting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 522
Chapter 33
Speaker
AP.Speaker.Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 523
AP.Speaker.Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 524
Chapter 34
Sweep
AP.Sweep.AbortTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525
AP.Sweep.Append . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 526
AP.Sweep.CopyData1To2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 527
AP.Sweep.CopyData2To1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 528
AP.Sweep.CreateGraph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 528
AP.Sweep.CreateTable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 528
AP.Sweep.Data1.AutoDiv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 528
AP.Sweep.Data1.Autoscale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 529
AP.Sweep.Data1.Bottom. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 529
AP.Sweep.Data1.Div . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 529
AP.Sweep.Data1.Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 530
AP.Sweep.Data1.Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 530
AP.Sweep.Data1.LogLin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 531
AP.Sweep.Data1.Top . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 531
AP.Sweep.Data2.AutoDiv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 532
AP.Sweep.Data2.Autoscale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 532
AP.Sweep.Data2.Bottom. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 532
AP.Sweep.Data2.Div . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 533
AP.Sweep.Data2.Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 533
AP.Sweep.Data2.Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 533
AP.Sweep.Data2.LogLin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 534
AP.Sweep.Data2.Top . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 534
AP.Sweep.Data3.Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 534
AP.Sweep.Data3.Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 535
AP.Sweep.Data4.Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 535
AP.Sweep.Data4.Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 535
AP.Sweep.Data5.Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 536
AP.Sweep.Data5.Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 536
AP.Sweep.Data6.Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 537
AP.Sweep.Data6.Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 537
AP.Sweep.Datan.LowerLimit.Column . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 538
AP.Sweep.Datan.LowerLimit.Filename . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 538
AP.Sweep.External.DataSpacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 538
AP.Sweep.External.DataSpacingRelUnits . . . . . . . . . . . . . . . . . . . . . . . . . . . . 539
AP.Sweep.External.DataThreshold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 539
AP.Sweep.External.DataThresholdId . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 539
AP.Sweep.External.End . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 539
AP.Sweep.External.EndRule. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 540
AP.Sweep.External.EndTolerance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 540
AP.Sweep.External.EndToleranceRelUnits . . . . . . . . . . . . . . . . . . . . . . . . . . . 540
AP.Sweep.External.Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 540
AP.Sweep.External.StartRule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 541
AP.Sweep.External.StartTolerance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 541
AP.Sweep.External.StartToleranceRelUnits . . . . . . . . . . . . . . . . . . . . . . . . . . . 541
AP.Sweep.GraphType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 541
AP.Sweep.IsRunning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 542
AP.Sweep.PreSweepDelay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 542
AP.Sweep.Recompare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 542
AP.Sweep.Repeat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 543
AP.Sweep.Reprocess . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 544
AP.Sweep.Retransform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 545
AP.Sweep.ReverseChannels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 546
AP.Sweep.SinglePoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547
AP.Sweep.Source1.AutoDiv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547
AP.Sweep.Source1.Div . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 548
AP.Sweep.Source1.EndOn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 548
AP.Sweep.Source1.Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 549
AP.Sweep.Source1.LogLin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 549
AP.Sweep.Source1.MinLevel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 549
AP.Sweep.Source1.MinLevelId . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 550
AP.Sweep.Source1.Multiply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 550
AP.Sweep.Source1.Spacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 550
AP.Sweep.Source1.Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551
AP.Sweep.Source1.Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551
AP.Sweep.Source1.StepSize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551
AP.Sweep.Source1.Stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 552
AP.Sweep.Source1.SweepTable.Column . . . . . . . . . . . . . . . . . . . . . . . . . . . . 552
AP.Sweep.Source1.SweepTable.Filename . . . . . . . . . . . . . . . . . . . . . . . . . . . 552
AP.Sweep.Source1.Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 553
AP.Sweep.Source2.Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 553
AP.Sweep.Source2.LogLin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 553
AP.Sweep.Source2.Multiply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 554
AP.Sweep.Source2.Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 554
AP.Sweep.Source2.Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 554
AP.Sweep.Source2.StepSize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 554
AP.Sweep.Source2.Stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555
AP.Sweep.Spectrum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555
AP.Sweep.Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 556
AP.Sweep.StartNoWait. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557
AP.Sweep.StartWithAppend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557
AP.Sweep.StartWithRepeat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557
AP.Sweep.Stereo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 558
AP.Sweep.Stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 558
AP.Sweep.Timeout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559
AP.Sweep.Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559
Chapter 35
Switcher
AP.SWR.ChABIn. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 561
AP.SWR.ChABInOut . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 561
AP.SWR.ChABOut . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 561
AP.SWR.ChAIn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 562
AP.SWR.ChAInOut . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 562
AP.SWR.ChAOut . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 562
AP.SWR.ChBIn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 563
AP.SWR.ChBInOut . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 563
AP.SWR.ChBOffset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 563
AP.SWR.ChBOut . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 563
AP.SWR.Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 564
AP.SWR.OutOffset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 565
Chapter 36
Sync/Ref Input
AP.Sync.DelayRdg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 567
AP.Sync.DelayReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 568
AP.Sync.DelaySettling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 568
AP.Sync.DelayTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 568
AP.Sync.FrameLock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 569
AP.Sync.Freq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 569
AP.Sync.FreqRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 570
AP.Sync.FreqReady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 570
AP.Sync.FreqTrig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 571
AP.Sync.Impedance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 571
AP.Sync.OutDelay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 572
AP.Sync.OutDelayFromRef . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 572
AP.Sync.OutFrameSyncInvert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 572
AP.Sync.OutJitterClockOutputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573
AP.Sync.OutOfRangeRdg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573
AP.Sync.PassThruDomainPref . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573
AP.Sync.Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573
AP.Sync.SourceInput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 574
Appendix A
Settling Algorithm
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 575
Settling Parameter Discriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 575
Appendix B
Parameter ID# List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579
Appendix C
FFT Window Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 585
Appendix D
Analog Filter ID# List
Numerical Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587
Appendix E
Extensions Error Codes
Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591
General Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 592
General Warnings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595
Exception Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 596
DSP Errors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 597
DSP Warnings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 599
Appendix F
Language Error Codes
Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 601
Introduction
Chapter 2 of this manual displays illustrations of the 2700 series control software
panels, shown with the AP Basic Extension commands applicable to each panel.
Chapters 3 through 36 provide a listing of all AP Basic extensions with syntax, de-
scription, examples, and so on.
The appendices at the end to the book provide additional technical reference infor-
mation for the command extensions.
Commands may contain many of the following components:
Component Description
Syntax: Programming usage information.
Command type: Method or Property
Data type: Setting Data Type.
Result: Query Data Type.
Description: Technical Information.
See also: Commands related to the current command that may
contain relevant information.
Example: Example procedure/macro.
Example Output: When an example program produces output to the
immediate window of the Procedure/Macro Editor or
output to a file a sample of what the output will be
shown in this location.
Comments: Additional information relating to the example
procedure/macro.
Manual Conventions
This manual uses the following typographic conventions.
Example Description
event, var, arg For the syntax part of each command, italicized
words indicate placeholders where the user must
enter additional information.
Sub Main This font is used in all example macros and code
AP.Gen.Amp = 1.0 modules.
End Sub
AP.Anlr
.ChAInput .ChBImpedance
.ChACoupling .ChBCoupling
.ChAImpedance .ChBInput
.ChALevelRdg .ChBLevelRdg
.ChALevelReady .ChBLevelReady
.ChALevelTrig .ChBLevelTrig
.ChAFreqRdg .ChBFreqRdg
.ChAFreqReady .ChBFreqReady
.ChAFreqTrig .ChBFreqTrig
.ChARange .ChBRange
.ChARangeAuto .ChBRangeAuto
.PhaseMode
.PhaseRdg
.PhaseReady .FuncRdg
.PhaseTrig .FuncReady
.FuncTrig
.FuncInput
.FuncMode .FuncRange
.RdgRate .FuncRangeAuto
.FuncDetector
.FuncFilterHP .FuncBPBRFreqTuning
.FuncFilterLP .FuncBPBRFilterFreq
.FuncFilter
.RefFreq
.RefChAdBr .RefWatts
.RefChBdBr .RefdBm
Analog Generator
.Wfm
.FreqAccuracy
.Freq
.BurstOnTime .Output
.BurstInterval
.ChBOutput
.BurstLevel
.AutoOn .ChBTrackA
.ChAOutput
.ChAInvert
.ChBInvert
. .ChBAmpl
.Config
.Impedance
.RefdBm .RefFreq
.RefdBr .RefWatts
.EqCurve
.ChAEqAmpl .ChBEqAmpl
.Phase . .DualAmplRatio
.ChBFreq
.IMHighFreq .IMCenterFreq
.
BarGraph
.Id
.DigitsOnly
.Reset
.CommentShow
.TargetLower
.TargetRange
.TargetUpper
.AxisLeft
.AxisRight .AxisAutoScale
.AxisIncrement .AxisLogLin
Computes
All commands for the top diagram start with the following:
AP.Compute.Sigma
Example: AP.Compute.Sigma.Apply
.PostSweep
.Start
.Data
.Stop
.Apply
All commands for the bottom diagram start with the following:
AP.Compute.Avg
Example: AP.Compute.Avg.Apply
.PostSweep
.Start
.Data
.Stop
.Apply
All commands for the top diagram start with the following:
AP.Compute.Center
Example: AP.Compute.Center.Apply
.PostSweep
.Start
.Data
.Stop
.Apply
All commands for the bottom diagram start with the following:
AP.Compute.Delta
Example: AP.Compute.Delta.Apply
.PostSweep
.Data
.FileName
.Apply
.PostSweep
.Data
.FileName
.Apply
All commands for the top diagram start with the following:
AP.Compute.Invert
Example: AP.Compute.Invert.Apply
.PostSweep
.Horizontal
.Data
.Apply
All commands for the bottom diagram start with the following:
AP.Compute.Linearity
Example: AP.Compute.Linearity.Apply
.PostSweep
.Start
.Data
.Stop
.Apply
All commands for the top diagram start with the following:
AP.Compute.Max
Example: AP.Compute.Max.Apply
.PostSweep
.Start
.Data
.Stop
.Apply
All commands for the bottom diagram start with the following:
AP.Compute.Min
Example: AP.Compute.Min.Apply
.PostSweep
.Start
.Data
.Stop
.Apply
All commands for the top diagram start with the following:
AP.Compute.Normalize
Example: AP.Compute.Normalize.Apply
.PostSweep
.Horizontal
.Data
.Target
.Apply
All commands for the bottom diagram start with the following:
AP.Compute.Smooth
Example: AP.Compute.Smooth.Apply
.PostSweep
.Passes
.Data
.Auto
.Apply
DCX-127
.DmmRdg
.DmmReady
.DmmTrig
.DmmRange .DmmOffset
.DmmRangeAuto
.DmmMode .DmmScale
.DmmRdgRate
.Ch1DcOutput
.Ch2DcOutput
.Ch1DcLevel
.Ch2DcLevel
.DigInRdg
. .DigInFormat
DigInReady.
.DigInScale .DigOutFormat
.DigOut
.PortAOutput
.DigOutScale
.PortBOutput
.PortCOutput
.PortDOutput
.GateDelay
AP.S2CDsp.Program
AP.S2CDsp. AP.S2CDsp.RefFreq
AP.S2CDsp. AP.S2CDsp.
AP.S2CDsp.BitTest
.ChADataRdg .ChBDataRdg
.ChADataReady .ChBDataReady
.ChADataTrig .ChBDataTrig
.ChAErrRdg .ChBErrRdg
.ChAErrReady .ChBErrReady
.ChAErrTrig .ChBErrTrig
.DisplayError
.Wfm
.FreezeOnErr
.RdgRate
.AmplVsTime
.AudioMonitor
.JitterDetection
.Averages
.Window
.TrigSource
.TrigErrorConfidence .TrigErrorLock
.TrigErrorCoding .TrigErrorParity
AP.S2CDsp.Analyzer
.ChACoupling .ChBCoupling
.InputFormat
.ChALevelRdg .ChBLevelRdg
.ChALevelReady .ChBLevelReady
.ChALevelTrig .ChBLevelTrig
.ChAFreqRdg .ChBFreqRdg
.ChAFreqReady .ChBFreqReady
.ChAFreqTrig .ChBFreqTrig
.ChARangeAuto .ChBRangeAuto
.ChARange .ChBRange
.FuncChARdg .FuncChBRdg
.FuncChAReady .FuncChBReady
.FuncChATrig .FuncChBTrig
.FuncMode .FuncChBRange
.FuncChBRangeAuto
.FuncChARange
.FuncChARangeAuto .FuncDetector
.RdgRate .FuncBPBRTuning
.FuncBPBRFreq
.FuncFilterHP
.FuncFilterLP
.FuncFilter
AP.S2CDsp.FFT
.InputFormat
.Ch1Source .Ch2Source
.Ch1Rdg .Ch2Rdg
.Ch1Ready .Ch2Ready
.Ch1Trig .Ch2Trig
.TransformLength .AcquireLength
.SubtractDC
.Window
.Averages
.AveragesType
.WfmDisplay
.StartTime
.TrigDelay .TrigPolarity
.TrigSource
.InputFormat
.Ch1Source .Ch2Source
.Ch1FundRdg .Ch2FundRdg
.Ch1FundReady .Ch2FundReady
.Ch1FundTrig .Ch2FundTrig
.Ch1FreqRdg .Ch2FreqRdg
.Ch1FreqReady .Ch2FreqReady
.Ch1FreqTrig .Ch2FreqTrig
.Ch1Sum1Rdg .Ch2Sum1Rdg
.Ch1Sum1Ready .Ch2Sum1Ready
.Ch1Sum1Trig .Ch2Sum1Trig
.Ch1Sum1Harmonics .Ch2Sum1Harmonics
.Ch1Sum1RelUnits .Ch2Sum1RelUnits
.Ch1Sum2Rdg .Ch2Sum2Rdg
.Ch1Sum2Ready .Ch2Sum2Ready
.Ch1Sum2Trig .Ch2Sum2Trig
.Ch1Sum2Harmonics .Ch2Sum2Harmonics
.Ch1Sum2RelUnits .Ch2Sum2RelUnits
.Selectivity .Freq
.Tuning
.InputFormat
.Ch1Source
.Ch2Source
.Ch1Rdg
.Ch2Rdg
.Ch1Ready
.Ch2Ready
.Ch1Trig
.Ch2Trig
.Mode
.FreqRes
.FftLength
.Processing
.TrigSource
.TrigDelay
.
.InputFormat
.Ch1Source
.Ch2Source
.Ch1Rdg
.Ch1Ready
.Ch1Trig
.Ch2Rdg
.TimeDelay .Ch2Ready
.TimeDisplay .Ch2Trig
.WindowETime
.WindowStop
.WindowStart
.TrigSource
.Averages
.Smoothing .WfmDisplay
Digital Generator
.Wfm
.Freq
.Output
.BurstOnTime
.BurstInterval
.ChBTrackA
.BurstLevel
.AutoOn
.ChAOutput .ChBOutput
.ChAInvert
.ChBInvert
. .ChBAmpl
.DitherType
.RefVFS
.RefFreq
.RefdBr
.EqCurve
.ChAEqAmpl .ChBEqAmpl
.DualAmplRatio .Offset
.IMFreq .IMCenterFreq
.IMHighFreq
.StepRate .WfmName
.OutConnector .InConnector
.RateRdg
.RateReady
.OutSampleRate .RateTrig
.OutAudioFormat
.InAudioFormat
.ChBPeakRdg
.ChAPeakRdg .ChBPeakReady
.ChAPeakReady .ChBPeakTrig
.ChAPeakTrig
.FlagInvalidRdg
.FlagConfidenceRdg
.FlagLockRdg .FlagParityRdg
.FlagCodingRdg
.InConnector .InImpedance
.RateRdg
.RateReady
.RateTrig
.InInput
.VoltageRdg
.VoltageReady
.InResolution
.InAudioFormat .DelayRdg
.DelayReady
.InDeEmp .DelayTrig
.InScaleFreq .RefRate
.ChAPeakRdg
.ChAPeakReady
.InMonitorMode
.ChAPeakTrig
.InBitsDisplay
.ChBPeakRdg
.ChBPeakReady .FlagChAInvalidRdg
.ChBPeakTrig .FlagChBInvalidRdg
.JitterRdg
.JitterReady .InJitterMode
.InJitterBW
.InJitterDetector
.FlagConfidenceRdg
.FlagLockRdg
.FlagCodingRdg
.FlagParityRdg
.OutConnector
.OutputSSRRange
.OutSampleRate
.OutVoltage
.OutAudioFormat
.OutResolution
.OutPreEmp
.OutScaleFreq
.OutInvert
.OutParityError
.OutCableSim
.OutSendInvalid
.OutRiseFallTime
.OutRiseFall .OutNoiseAmpl
.OutNoise
.OutCMAmpl
.OutCM .OutCMFreq
.OutJitterType .OutJitterEQCurve
.OutJitterAmpl .OutJitterFreq
AP.IEC61397.DolbyDigital
Example: AP.IEC61397.DolbyDigital.AudioService.acmod
AP.S2CDio.OutAudioFormat
.AudioService.lfeon
.AudioService.acmod
.LevelOfControl AP.IEC61937.DataType
.DynamicRange.compr
.Bitstream.audprodie
.DynamicRange.dynrng
.AudioService.frmsizecod
.Bitstream.cmixlev .AudioService.dialnorm
.Bitstream.surmixlev .AudioService.bsmod
.Bitstream.dsurmod .Bitstream.origbs
.Bitstream.mixlevel .Bitstream.copyrightb
.Bitstream.roomtyp .DynamicRange.LineModeCompression
.DynamicRange.RFModeCompression
IEC 61397 / Dolby Digital—Dolby Digital controls at Expert level of control (includes Advanced
level controls) #1
All commands on this page start with the following:
AP.IEC61397.DolbyDigital
Example: AP.IEC61397.DolbyDigital.AudioServices.acmod
.AudioService.frmsizecod
.AudioService.fscodmode
.AudioService.fscod
.AudioService.acmod
.AudioService.lfeon
.AudioService.bsmod
.AudioService.dialnorm
.AudioService.dialnorm2
.Bitstream.cmixlev
.Bitstream.surmixlev
.Bitstream.dsurmod
.Bitstream.copyrightb
.Bitstream.origbs
.Bitstream.audprodie
.Bitstream.mixlevel
.Bitstream.roomtyp
.Bitstream.audprodi2e
.Bitstream.mixlevel2
IEC 61397 / Dolby Digital—Dolby Digital controls at Expert level of control (includes Advanced
level controls) #2
All commands on this page start with the following:
AP.IEC61397.DolbyDigital
Example: AP.IEC61397.DolbyDigital.Bitstream.roomtyp2
.Bitstream.roomtyp2
.Bitstream.langcode
.Bitstream.langcod
.Bitstream.langcod2e
.Bitstream.langcod2
.ExtendedBitsreamInfo.ExtendedBitstream
.ExtendedBitsreamInfo.bsidmode
.ExtendedBitsreamInfo.bsid
.ExtendedBitsreamInfo.xbsi1e
.ExtendedBitsreamInfo.dmixmod
.ExtendedBitsreamInfo.lorocmixlev
.ExtendedBitsreamInfo.lorosurmixlev
.ExtendedBitsreamInfo.ltrtcmixlev
.ExtendedBitsreamInfo.ltrtsurmixlev
.ExtendedBitsreamInfo.xbsi2e
.ExtendedBitsreamInfo.dsurexmod
.ExtendedBitsreamInfo.dheadphonmod
.ExtendedBitsreamInfo.adconvtyp
.ExtendedBitsreamInfo.xbsi2
.ExtendedBitsreamInfo.encinfo
IEC 61397 / Dolby Digital—Dolby Digital controls at Expert level of control (includes Advanced
level controls) #3
All commands on this page start with the following:
AP.IEC61397.DolbyDigital
Example: AP.IEC61397.DolbyDigital.Preprocess.LFELowpass
.ExtendedBitsreamInfo.TimeCode.timecod1e
.ExtendedBitsreamInfo.TimeCode.timecod1e
.ExtendedBitsreamInfo.TimeCode.timecod1e
.ExtendedBitsreamInfo.TimeCode.timecod1e
.ExtendedBitsreamInfo.TimeCode.timecod1e
.ExtendedBitsreamInfo.TimeCode.timecod1e
.ExtendedBitsreamInfo.TimeCode.timecod1e
.Preprocess.DCHighpass
.Preprocess.ChannelLowpass
.Preprocess.LFELowpass
.Preprocess.PhaseShift
.DynamicRange.LineModeCompression
.DynamicRange.dynrng
.DynamicRange.RFModeCompression
.DynamicRange.compr
IEC 61397 / Dolby Digital—Dolby Digital controls at Expert level of control (includes Advanced
level controls) #4
All commands on this page start with the following:
AP.IEC61397
Example: AP.IEC61397.DolbyDigital.Impairments.syncword
.DolbyDigital.Impairments.syncwordmode
.DolbyDigital.Impairments.syncword
.DolbyDigital.Impairments.crc1enable
.DolbyDigital.Impairments.crc2enable
.Preambles.DataTypeMode
.Preambles.DataType
.Preambles.DataTypeCode
.Preambles.ReservedBits
.Preambles.ErrorFlag
.Preambles.DataTypeDependentInfoMode
.Preambles.DataTypeDependentInfo
.Preambles.BitstreamNumberMode
.Preambles.BitstreamNumber
.Preambles.LengthCodeMode
.Preambles.LengthCode
.Normal.Type
.Normal.AllChannels
.Normal.L
.Normal.LS
.Normal.C
.Normal.RS
.Normal.R .Normal.LFE
.FollowSwitcher.DGenCh1
.FollowSwitcher.DGenCh2
.FollowSwitcher.Mode
.FollowSwitcher.Sub
.FollowSwitcher.L
.FollowSwitcher.RS
.FollowSwitcher.C
.FollowSwitcher.R .FollowSwitcher.LS
.Idle.LevelOfControl
.Idle.SendNullDataBursts
.Idle.NullDataBurstRepetitionPeriod
.Pause.LevelOfControl
.Pause.DataBurstRepetitionMode
.Pause.LevelOfControl
.Pause.DataBurstRepetitionMode
.Pause.DataBurstRepetitionMode
.Pause.DataBurstRepetitionMode
.Pause.DataBurstRepetitionMode
Regulation
.SourceID
.TargetTolerance
.TargetID
.TargetValue .TargetToleranceMode
.Timeout
.SourceLow
.SourceOperation .SourceHigh
.SweepEnable
.SourceStepSize
.
.Start
PSIA—Transmit
.Data.PrePadType .Data.PostPadType
.Data.PadBits
.Data.Justify
.Data.MSBFirst
.Data.ChannelA .Data.ChannelB
.LoopBack
.I2S
.Data.EdgeSync
.FrameClk.BitWidePulse
.FrameClk.ShiftOneBitLeft
.FrameClk.InvWfm
.FrameClk.EdgeSync
.FrameClk.Dir
.ChannelClk.BitWidePulse
.ChannelClk.InvWfm
.ChannelClk.EdgeSync
.BitClk.Dir
.NFsClk.InvWfm
.BitClk.Factor .FrameClk.Rate
.ChannelClk.Factor
.NFsClk.Factor .MasterClk.Factor
.S2CDio.OutEncode
.S2CDio.OutResolution
.S2CDio.OutPreEmp
.S2CDio.OutScaleFreq
.S2CDio.RefRate
.PSIA.MasterClk.Dir
.PSIA.OutputsOn .PSIA.VoltageSetting
PSIA—Receive
.Data.PadBits
.Data.Justify
.Data.MSBFirst
.Data.ChannelA .Data.ChannelB
.I2S
.Data.EdgeSync
.FrameClk.ShiftOneBitLeft
.FrameClk.InvWfm
.FrameClk.EdgeSync
.FrameClk.Dir
.ChannelClk.BitWidePulse
.ChannelClk.InvWfm
.ChannelClk.EdgeSync
.BitClk.Dir
.NFsClk.InvWfm
.BitClk.Factor .FrameClk.Rate
.ChannelClk.Factor
.NFsClk.Factor .MasterClk.Factor
.S2CDio.InEncode
.S2CDio.InResolution
.S2CDio.InBitsDisplay
.S2CDio.InPreEmp
.S2CDio.InScaleFreq
.S2CDio.RefRate
.PSIA.MasterClk.Dir
.PSIA.OutputsOn .PSIA.VoltageSetting
Settling
.Anlr.FuncSettling
.Anlr.ChALevelSettling
.Anlr.ChBLevelSettling
.Anlr.ChAFreqSettling
.Anlr.ChBFreqSettling
.Anlr.PhaseSettling
.DCX.DmmSettling
.DCX.DigInSettling
.S2CDio.RateSettling
.S2CDio.VoltageSettling
.Sync.DelaySettling
.S2CDio.DelaySettling
.S2CDio.JitterSettling
.IEC61937.Delay
.S2CDsp.Analyzer.FuncChBSettling
.S2CDspSettling.Analyzer.ChALevelSettling
.S2CDsp.Analyzer.FuncChASettling
.S2CDsp.Analyzer.ChAFreqSettling
.S2CDsp.Analyzer.ChBLevelSettling
.S2CDsp.Analyzer.ChBFreqSettling
Speaker
.Source .Mode
.XmitChannel
.Mode
.Cons.ModeMode
.Cons.Copyright
.Cons.Emphasis
.Cons.Channels
.Cons.Catagory
.Cons.SourceNum
.Cons.ChNum
.Cons.SampleFreq
.Cons.ClockAccuracy
.ChAModeRdg
.ChBModeRdg
.ChAAudioModeRdg .ChBAudioModeRdg
.ChACopyrightRdg
.ChBCopyrightRdg
.ChAEmphRdg .ChBEmphRdg
.ChAChModeRdg
.ChBChModeRdg
.ChACategoryRdg
.ChBCategoryRdg
.ChASourceNumRdg
.ChBSourceNumRdg
.ChAChNumRdg
.ChBChNumRdg
.ChASampleFreqRdg .ChBSampleFreqRdg
.ChBClockAccuracyRdg
.ChAClockAccuracyRdg
.XmitChannel
.Mode
.Pro.AudioMode
.Pro.Emphasis
.Pro.FreqMode
.Pro.SampleFreq
.Pro.ChMode
.Pro.UserBits
.Pro.AuxBits
.Pro.WordLength
.Pro.RefSignal
.Pro.Origin .Pro.Destination
.Pro.LocalAddress
.Pro.LocalAddressAuto
.Pro.TimeOfDay
.Pro.Flag0_5 .Pro.Flag14_17
.Pro.Flag6_13 .Pro.Flag18_21
.Pro.CrcEnable
.ChAModeRdg
.ChBModeRdg
.ChAAudioModeRdg .ChBAudioModeRdg
.ChAEmphRdg .ChBEmphRdg
.ChAFreqModeRdg .ChBFreqModeRdg
.ChASampleFreqRdg .ChBSampleFreqRdg
.ChAChModeRdg .ChBChModeRdg
.ChAUserBitsRdg .ChBUserBitsRdg
.ChAAuxBitsRdg .ChBAuxBitsRdg
.ChAWordLengthRdg .ChBWordLengthRdg
.ChARefSignalRdg .ChBRefSignalRdg
.ChAOriginRdg .ChBOriginRdg
.ChADestinationRdg .ChBDestinationRdg
.ChALocalAddressRdg .
.ChBTimeOfDayRdg
.ChATimeOfDayRdg
.ChBFlag14_17Rdg
.ChACrcRdg .ChBFlag0_5Rdg
.ChBFlag18_21Rdg
.ChBFlag6_13Rdg
.ChAFlag0_5Rdg
.ChAFlag6_13Rdg .ChBCrcRdg
.ChAFlag18_21Rdg
.ChAFlag14_17Rdg
.ChAStatusXferToString
.ChAXmitData
.ChBXmitData
Sweep
.Data1.Top .Data1.AutoScale
.Data1.Bottom .Data1.Id
.Data1.LogLin
.Data1.Limits
.Data1.Div
.Data2.Id
.Data1.AutoDiv .Data2.AutoScale
.Data2.LogLin
.Data2.Top
.Data2.Limits
.Data2.Bottom
.Source1.Id
.Data2.Div
.Source1.LogLin
.Data2.AutoDiv
.Source1.Start
.Source1.Stop .Source1.AutoDiv
.Source1.Steps
.Source1.Multiply .Source1.Div
.Source1.Table
.Repeat
.Append .Start
.Stereo .SinglePoint
.Data3.Limits
.Data4.Limits
.Data3.ID .Data5.Limits
.Data4.ID
.Data5.ID
.Data6.Limits
.Data6.ID
.CreateTable
.PerSweepDelay
.CreateGraph
.GraphType
.Source2.ID
.Source2.Start .Source2.LogLin
.Source2.Stop
.Source2.Steps
.Timeout
.Start
.StartTolerance .StartToleranceRelUnits
.StartRule
.DataSpacing
.DataToleranceRelUnits
.DataThreshold
.DataThresholdID
.End
.EndTolerance .EndToleranceRelUnits
.EndRule
Switcher
.Mode
.ChBOut
.ChBIn
.ChBOffset
.ChAOut
.ChAIn
.OutOffset
Sync
.SourceInput .Source
.FrameLock
.Freq .Impedance
.DelayRdg
.DelayReady .FreqRdg
.DelayTrig .FreqReady
.FreqTrig
.OutOfRangeRdg
.OutDelayFromRef
.OutDelay
.OutFrameSyncInvert
.OutJitterClockOutputs
Syntax AP.Anlr.ChACoupling
Data Type Boolean
True DC coupled.
False Not DC coupled.
Description This command sets channel A Input Coupling to DC. This enables the instrument to
DC couple the input to the A/D converter for improved CMRR at low frequencies
and increased low frequency measurement capability. By DC coupling the Analog
Analyzer and DSP Audio Analyzer inputs DC Volts can be measured.
See Also AP.Anlr.ChBCoupling
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Application.PanelClose(apbPanelAnlrSmall)
AP.Application.PanelClose(apbPanelAnalogGenSmall)
AP.Application.PanelOpen(apbPanelAnlrLarge)
AP.S2CDsp.Program = 1 'Select DSP Audio
Analyzer
AP.Application.PanelOpen(apbDSPPanelLarge)
AP.S2CDsp.Analyzer.InputFormat = 1
'Select A/D Input
AP.Anlr.ChACoupling = True
AP.Anlr.ChBCoupling = True
AP.S2CDsp.Analyzer.ChACoupling = True
AP.S2CDsp.Analyzer.ChBCoupling = True
'Get readings.
Wait 1
Reading1 = AP.S2CDsp.Analyzer.ChALevelRdg("V")
Reading2 = AP.S2CDsp.Analyzer.ChBLevelRdg("V")
Debug.Print "Channel A DC Level = "; _
Format(Reading1, "#.0000");" VDC"
Debug.Print "Channel B DC Level = "; _
Format(Reading2, "#.0000");" VDC"
End Sub
Output Channel A DC Level = 9.1081 VDC
Channel B DC Level = .0004 VDC
AP.Anlr.ChAFreqRdg Property
AP.Anlr.ChAFreqReady Property
Syntax AP.Anlr.ChAFreqReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Frequency A settled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.Anlr.ChAFreqRdg
or AP.Anlr.ChAFreqTrig commands will zero the ready count.
If the reading is found to be ready, a call to the AP.Anlr.ChAFreqRdg com-
mand will be guaranteed to return quickly.
See Also AP.Anlr.FuncInput, AP.Anlr.ChAFreqRdg, AP.Anlr.
ChAFreqSettling, AP.Anlr.ChAFreqTrig
AP.Anlr.ChAFreqSettling Method
AP.Anlr.ChAFreqTrig Method
Syntax AP.Anlr.ChAFreqTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.Anlr.ChAFreqRdg command. The reading in progress is aborted.
See Also AP.Anlr.FuncInput, AP.Anlr.ChAFreqRdg, AP.Anlr.
ChAFreqReady, AP.Anlr.ChAFreqSettling
Example See example for AP.Anlr.ChAFreqRdg.
AP.Anlr.ChAImpedance Property
Syntax AP.Anlr.ChAImpedance
Data Type Integer
0 300 ohms
1 600 ohms
2 100k ohms
Description This command selects one of the available termination impedances for the Analyzer
channel A Input.
See Also AP.Anlr.ChBImpedance
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Gen.Impedance = 2 'Set generator output
Z to 600 ohms.
AP.Gen.ChAAmpl("dBm") = 0
AP.Gen.Output = 1
AP.Anlr.ChARangeAuto = 0 'Set input ranging to
fixed.
AP.Anlr.ChAInput Property
Syntax AP.Anlr.ChAInput
Data Type Integer
0 XLR-Bal
1 BNC-Unbal
2 GenMon
Description This command selects the Analog Analyzer channel A Input.
See Also AP.Anlr.ChBInput
Example See example for AP.Anlr.ChAImpedance.
AP.Anlr.ChALevelRdg Property
AP.Anlr.ChAInput = 1
AP.Anlr.ChALevelSettling(1, .000025, "V", 3, .03, 1)
AP.Anlr.ChALevelTrig 'Trigger new reading.
Do
Ready = AP.Anlr.ChALevelReady
'Get status.
Loop Until Ready > 0
Reading1 = AP.Anlr.ChALevelRdg("V")
'Get settled reading.
Debug.Print "Level A Amplitude = ";Format_
(Reading1, "#.0000");" V"
End Sub
Output Level A Amplitude = 0.9957 V
AP.Anlr.ChALevelReady Property
Syntax AP.Anlr.ChALevelReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Level A settled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.Anlr.
ChALevelRdg or AP.Anlr.ChALevelTrig commands will zero the ready
count.
If the reading is found to be ready, a call to the AP.Anlr.ChALevelRdg com-
mand will be guaranteed to return quickly.
See Also AP.Anlr.FuncInput, AP.Anlr.ChALevelRdg, AP.Anlr.
ChALevelSettling, AP.Anlr.ChALevelTrig
Example See example for AP.Anlr.ChALevelRdg.
AP.Anlr.ChALevelSettling Method
AP.Anlr.ChALevelTrig Method
Syntax AP.Anlr.ChALevelTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.Anlr.ChALevelRdg command. The reading in progress is aborted.
See Also AP.Anlr.ChALevelRdg, AP.Anlr.ChALevelSettling, AP.Anlr.
ChALevelTrig
Example See example for AP.Anlr.ChALevelRdg.
AP.Anlr.ChARange Property
AP.Anlr.ChARangeAuto Property
Syntax AP.Anlr.ChARangeAuto
Data Type Boolean
True Auto range
False Fixed range
Description This command sets the Analyzer channel A Input to Auto range or Fixed range.
Care must be taken when using Fixed range that the input signal does not exceed the
selected range.
See Also AP.Anlr.ChARange
Example See example for AP.Anlr.ChAImpedance.
AP.Anlr.ChBCoupling Property
Syntax AP.Anlr.ChBCoupling
AP.Anlr.ChBFreqRdg Property
AP.Anlr.ChBFreqReady Property
Syntax AP.Anlr.ChBFreqReady
Data Type Integer
AP.Anlr.ChBFreqSettling Method
AP.Anlr.ChBFreqTrig Method
Syntax AP.Anlr.ChBFreqTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.Anlr.ChBFreqRdg command. The reading in progress is aborted.
See Also AP.Anlr.FuncInput, AP.Anlr.ChBFreqRdg, AP.Anlr.
ChBFreqReady, AP.Anlr.ChBFreqSettling
Example See example for AP.Anlr.ChBFreqRdg.
AP.Anlr.ChBImpedance Property
Syntax AP.Anlr.ChBImpedance
Data Type Integer
0 300 ohms
1 600 ohms
2 100k ohms
Description This command selects one of the available termination impedances for the Analyzer
channel B Input.
See Also AP.Anlr.ChAImpedance
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Gen.Impedance = 2 'Set generator output
Z to 600 ohms.
AP.Gen.ChAAmpl("dBm") = 0
AP.Gen.Output = 1
AP.Anlr.ChBRangeAuto = 0 'Set input ranging to
fixed.
AP.Anlr.ChBRange("V") = 2.5 'Set input range to
2.5 Volts.
AP.Anlr.ChBInput = 0 'Set anlr input to INPUT(XLR).
AP.Anlr.ChBImpedance = 1 'Set Cha A input Z to
600 ohms.
AP.Anlr.FuncInput = 1 'Set Function Meter
Cha to B.
AP.Anlr.FuncSettling(1, .000002, "V", 4, .05, 1)
AP.Anlr.FuncTrig 'Trigger new reading.
Do
Ready = AP.Anlr.FuncReady 'Get status.
Loop Until Ready > 0
Reading1 = AP.Anlr.FuncRdg("dBm")
'Get settled reading.
Debug.Print "Channel B Amplitude = ";Format _
(Reading1, "#.0000");" dBm"
Anlr.ChBRangeAuto = 1 'Set input ranging to
auto.
End Sub
Output Channel B Amplitude = -103.7187 dBm
AP.Anlr.ChBInput Property
Syntax AP.Anlr.ChBInput
Data Type Integer
0 XLR-Bal
1 BNC-Unbal
2 GenMon
Description This command selects the Analog Analyzer channel B Input.
See Also AP.Anlr.ChAInput
Example See example for AP.Anlr.ChBImpedance.
AP.Anlr.ChBLevelRdg Property
AP.Anlr.ChBLevelReady Property
Syntax AP.Anlr.ChBLevelReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Level B settled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.Anlr.
ChBLevelRdg or AP.Anlr.ChBLevelTrig commands will zero the ready
count.
If the reading is found to be ready, a call to the AP.Anlr.ChBLevelRdg com-
mand will be guaranteed to return quickly.
See Also AP.Anlr.FuncInput
AP.Anlr.ChBLevelSettling Method
AP.Anlr.ChBLevelTrig Method
Syntax AP.Anlr.ChBLevelTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.Anlr.ChBLevelRdg command. The reading in progress is aborted.
See Also AP.Anlr.FuncInput
Example See example for AP.Anlr.ChBLevelRdg.
AP.Anlr.ChBRange Property
AP.Anlr.ChBRangeAuto Property
Syntax AP.Anlr.ChBRangeAuto
Data Type Boolean
True Auto range
False Fixed range
Description This command sets the Analyzer channel B Input to Auto range or Fixed range.
Care must be taken when using Fixed range that the input signal does not exceed the
selected range.
See Also AP.Anlr.ChBRange
Example See example for AP.Anlr.ChBImpedance.
AP.Anlr.DoesFilterExist Method
AP.Anlr.FuncBPBRFreq Property
AP.Anlr.FuncBPBRTuning Property
Syntax AP.Anlr.FuncBPBRTuning
Data Type Integer
0 Counter tuned
1 Sweep track
2 Analog Generator track
3 Digital Generator track
4 Fixed frequency
Description This command sets the Bandpass Bandreject filter tuning source.
See Also AP.Anlr.FuncBPBRFreq
Example See example for AP.Anlr.FuncBPBRFreq.
AP.Anlr.FuncDetector Property
Syntax AP.Anlr.FuncDetector
Data Type Integer
0 RMS
1 Average
2 Peak
3 Qpeak
4 Peak-Equivalent-Sine
Description This command selects the Detector Type for Function meter.
See Also AP.Anlr.FuncInput, AP.Anlr.RdgRate, AP.Anlr.FuncMode, AP.
Anlr.FuncRange, AP.Anlr.FuncRangeAuto
AP.Anlr.FuncFilter Property
Syntax AP.Anlr.FuncFilter
Data Type Integer This command has two methods of controlling the
selection of the Analog Analyzer Function Meter Filter.
The first method is to use the zero based list that selects
the items in the Filter drop down list box from top to
bottom. The disadvantage to this method is that if the
number of filters located in the the instrument hardware is
different from another system then the list may be
different. This may cause problems in selecting the
correct filter with any macro using this method.
The following list shows how the Analog Analyzer
Function Meter Filter drop down list box changes
depending on what and how many filters are installed.
Note that in configuration #1 the CCIR selections and the
A-Weighting filter are available and in configuration #2
only the A-Weighting filter is provided. Also notice that the
integer value required to select the A-Weighting filter is
different.
Configuration #1 Configuration #2
0 None None
1 CCIR 468-3 A-Weighting
2 CCIR-2k Slot #1
3 A-Weighting Slot #2
4 Slot #1 Slot #3
5 Slot #2 Slot #4
6 Slot #3 Slot #5
7 Slot #4 Slot #6
8 Slot #5 Slot #7
9 Slot #6
10 Slot #7
The second method is to use ID numbers to select the
appropriate filter. In this approach if the filter is available in
the instrument, the software will automatically find and
activate the filter. This approach allows macros to be
AP.Anlr.FuncFilterHP Property
Syntax AP.Anlr.FuncFilterHP
Data Type Integer
0 <10 Hz
1 22 Hz
2 100 Hz
3 400 Hz
Description This command selects the value of High Pass filter in the function meter circuit.
See Also AP.Anlr.FuncFilterLowPass
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Gen.Output = 1
AP.Anlr.ChAInput = 1
AP.Anlr.FuncFilterHP = 2 'Set High Pass filter
to 100Hz.
A = AP.Anlr.FuncFilterHP 'Return High Pass
filter setting value.
AP.Sweep.Data1.Id = 5906
AP.Sweep.Start
End Sub
Comment The example program produces a graph that displays the frequency response for the
100Hz High Pass filter.
AP.Anlr.FuncFilterId Property
Syntax AP.Anlr.FuncFilterId
Data Type Integer This command controls the selection of the Analog
Analyzer Function Meter Filter.
ID numbers are used to select the appropriate filter.
Refer to Analog Filter ID List in Appendix E to obtain filter
identification numbers.
Description This command selects one (or none) of the available weighting filters. The weight-
ing filters are optional filters that plug internally into the analyzer. An attempt to se-
lect a filter that is not present will result in the filter being set to NONE.
See Also AP.Anlr.FuncFilter, AP.Anlr.FuncFilterHP, AP.Anlr.
FuncFilterLP
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Gen.Output = True
AP.Anlr.ChAInput = 2
AP.Sweep.Data1.Id = 5906 'Set Sweep Data 1 to
"Anlr.Ampl"
AP.Anlr.FuncFilterId = 12017 '"A" Weighting filter.
Debug.Print AP.Anlr.FuncFilterId
End Sub
Example 12017
Output
AP.Anlr.FuncFilterLP Property
Syntax AP.Anlr.FuncFilterLP
Data Type Integer
0 22 kHz
1 30 kHz
2 80 kHz
3 >500 kHz
Description This command selects the value of Low Pass filter in the function meter circuit.
See Also AP.Anlr.FuncFilterHP
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Gen.Output = 1
AP.Anlr.ChAInput = 1
AP.Anlr.FuncInput Property
Syntax AP.Anlr.FuncInput
Data Type Integer
0 Channel A
1 Channel B
Description This command selects channel A or channel B to be used for measurements with the
Function meter.
See Also AP.Anlr.RdgRate, AP.Anlr.FuncDetector, AP.Anlr.FuncMode,
AP.Anlr.FuncRange, AP.Anlr.FuncRangeBAuto
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Gen.ChAAmpl("Vrms") = .01
AP.Anlr.ChAInput = 2
AP.Anlr.FuncMode = 0 'Set Function Meter
mode to amplitude.
AP.Anlr.FuncInput = 0 'Set Function Meter
channel to A.
AP.Anlr.FuncRangeAuto = 0 'Set Function Meter
range to fixed.
AP.Anlr.FuncRange("X/Y") = 4 'Set Function Meter
range to 4.0 X/Y.
AP.Anlr.FuncDetector = 1 'Set Function Meter
Average.
AP.Anlr.RdgRate = 1 'Set reading rate to
4/Sec.
AP.Anlr.FuncSettling(1, .000002, "V", 4, .05, 1)
AP.Anlr.FuncTrig 'Trigger new reading.
Do
Ready = AP.Anlr.FuncReady 'Get status.
Loop Until Ready > 0
Reading1 = AP.Anlr.FuncRdg("dBV")
'Get settled reading.
Debug.Print "Channel A Averaged Amplitude = "; _
Format(Reading1, "#.0000");" dBV"
End Sub
AP.Anlr.FuncMode Property
Syntax AP.Anlr.FuncMode
Data Type Integer
0 Amplitude
1 Bandpass
2 Bandreject
3 THD+N Amplitude
4 THD+N Ratio
5 SMPTE
6 CCIF
7 DIM
8 Wow & Flutter
9 2-Ch. Ratio
10 Crosstalk
11 DFD
Description This command selects the analysis mode of the Analyzer Function meter.
The measurement is taken from the selected channel, using the selected mode, using
the unit specified by that mode.
If a reading is not ready when this function is called, it will wait for a reading to be-
come available. Any particular reading will be returned only once.
See Also AP.Anlr.FuncInput, AP.Anlr.FuncReady, AP.Anlr.FuncSettling,
AP.Anlr.FuncTrig, AP.Anlr.RdgRate, AP.Anlr.FuncRange, AP.
Anlr.FuncRangeAuto
Example See example for AP.Anlr.FuncInput.
AP.Anlr.FuncRange Property
* a gain of 1024 is valid only for Bandpass, Bandreject, THD+N, and Crosstalk measure -
ments.
Note that for the amplitude ranges, the AP.Anlr.ChARange and AP.
Anlr.ChBRange must be set to the 40 mV range before these ranges are valid.
Likewise, the gain here should be set to 1 or Auto (see command: AP.Anlr.
FuncRangeAuto) if the input range is set to anything other than 40 mV. While
the Function meter ranges may be set independently of the input range settings, spec-
ified operation cannot be guaranteed if these cautions are not observed.
This range must be reprogrammed if the measurement mode of the Analyzer Func-
tion meter is changed (see AP.Anlr.FuncMode). Otherwise, the resulting
range is not determinate.
A common use of this command is to set the Function meter Range by obtaining the
gain reading while in auto range and then set the gain to the determined range. This
keeps the Function meter Range from changing during an acquisition.
See Also AP.Anlr.FuncInput, AP.Anlr.RdgRate, AP.Anlr.WFDetector, AP.
Anlr.FuncMode, AP.Anlr.FuncRangeAuto
Example See example for AP.Anlr.FuncInput.
AP.Anlr.FuncRangeAuto Property
Syntax AP.Anlr.FuncRangeAuto
Data Type Boolean
True Auto range
False Fixed range
Description This command sets the Function meter to Auto or Fixed Range.
See Also AP.Anlr.FuncInput, AP.Anlr.RdgRate, AP.Anlr.FuncMode, AP.
Anlr.FuncRange
Example See example for AP.Anlr.FuncInput.
AP.Anlr.FuncRdg Property
The following units (%, dB, PPM, X/Y) are available for
the following Function meter Modes: THD+N Ratio,
SMPTE, CCIF, DIM, Wow & Flutter, 2-Channel Ratio, and
Crosstalk.
Description This command returns a reading from the Function meter and zeros the ready count.
See Also AP.Anlr.FuncInput, AP.Anlr.FuncMode, AP.Anlr.
FuncReady, AP.Anlr.FuncSettling, AP.Anlr.FuncTrig
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Gen.Freq("Hz") = 3150
AP.Gen.ChAAmpl("dBu") = 0.0
AP.Anlr.ChAInput = 2 'GenMon input
AP.Gen.Output = 1
AP.Anlr.FuncMode = 8 'Select W&F mode
AP.Anlr.FuncInput = 0 'Select Channel A
input
AP.Anlr.WFDetector = 1 'Set W&F detector to
JIS
AP.Anlr.WFFilter = 1 'Set W&F Filter to
UnWeighted
AP.Anlr.FuncSettling(5, .0002, "%", 3, .05, 1)
AP.Anlr.FuncTrig 'Trigger new reading
Do
Ready = AP.Anlr.FuncReady 'Get status
Loop Until Ready > 0
Reading1 = AP.Anlr.FuncRdg("%")
'Get settled reading
Debug.Print "Wow & Flutter = ";Format(Reading1, _
"#.00000");" %"
End Sub
Output Wow & Flutter = .05305 %
AP.Anlr.FuncReady Property
Syntax AP.Anlr.FuncReady
Data Type Integer
0 Reading not ready
>0 Reading ready
Description This command returns the Function meter settled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.Anlr.FuncRdg or
AP.Anlr.FuncTrig commands will zero the ready count.
If the reading is found to be ready, a call to the AP.Anlr.FuncRdg command
will be guaranteed to return quickly.
AP.Anlr.FuncSettling Method
AP.Anlr.FuncTrig Method
Syntax AP.Anlr.FuncTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.Anlr.FuncRdg command. The reading in progress is aborted.
See Also AP.Anlr.FuncInput, AP.Anlr.FuncRdg, AP.Anlr.FuncReady, AP.
Anlr.FuncSettling
Example See example for AP.Anlr.FuncRdg.
AP.Anlr.PhaseMode Property
Syntax AP.Anlr.PhaseMode
Data Type Integer
0 Auto
1 -180 +180 deg
2 0 +360 deg
3 -90 +270 deg
Description This function sets the Analog Analyzer Phase measurement range.
Example See example for AP.Anlr.PhaseRdg.
AP.Anlr.PhaseRdg Property
AP.Anlr.PhaseReady Property
Syntax AP.Anlr.PhaseReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Phase settled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.Anlr.PhaseRdg or
AP.Anlr.PhaseTrig commands will zero the ready count.
If the reading is found to be ready, a call to the AP.Anlr.PhaseRdg command
will be guaranteed to return quickly.
See Also AP.Anlr.PhaseMode, AP.Anlr.PhaseRdg, AP.Anlr.PhaseSettling,
AP.Anlr.PhaseTrig
Example See example for AP.Anlr.PhaseRdg.
AP.Anlr.PhaseSettling Method
Parameters See Appendix A for Settling Algorithm and parameter name descriptions.
Description This command sets the settling parameters for the AP.Anlr.PhaseRdg com-
mand. Note that this command doesn't require a tolerance setting as in all other set-
tling commands. Enter a 0 (Zero) as shown above for the first parameter as a place
holder for the tolerance setting.
See Also AP.Anlr.PhaseMode, AP.Anlr.PhaseRdg, AP.Anlr.PhaseReady,
AP.Anlr.PhaseTrig
Example See example for AP.Anlr.PhaseRdg.
AP.Anlr.PhaseTrig Method
Syntax AP.Anlr.PhaseTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.Anlr.PhaseRdg command. The reading in progress is aborted.
See Also AP.Anlr.PhaseMode, AP.Anlr.PhaseRdg, AP.Anlr.PhaseReady,
AP.Anlr.PhaseSettling
Example See example for AP.Anlr.PhaseRdg.
AP.Anlr.RdgRate Property
Syntax AP.Anlr.RdgRate
Data Type Integer
0 Auto reading rate. The reading rate is automatically
selected based on the measured frequency.
1 4/Sec fixed rate
2 8/Sec fixed rate
3 16/Sec fixed rate
4 32/Sec fixed rate
5 64/Sec fixed rate
6 128/Sec fixed rate
7 Auto-Fast
8 Auto-Precise
Description This command sets the detector averaging time for the RMS and Average detectors.
These functions have no effect on the Peak and Qpeak detectors.
There is an inherent relationship between the detector averaging time and the lowest
frequency component of the measured signal. The combinations of detector time con-
stant and reading rate will affect both low frequency accuracy and digit stability.
For most applications, detector time constants should be ganged with reading rate,
where the slowest time constant (range 1) is used for 4 readings/second, and the fast-
est (range 4) for 30 readings/sec.
See Also AP.Anlr.FuncInput, AP.Anlr.FuncDetector, AP.
Anlr.FuncMode, AP.Anlr.FuncRange, AP.Anlr.
FuncRangeAuto
Example See example for AP.Anlr.FuncInput.
AP.Anlr.RefChAdBr Property
AP.Anlr.RefChBdBr Property
AP.Anlr.RefdBm Property
AP.Gen.ChAAmpl("dBm") = 0
AP.Anlr.ChAInput = 0
AP.Gen.Output = 1
AP.Anlr.ChAImpedance = 1 'Set Cha A input Z to
600 ohms
AP.Anlr.RefdBm("Ohms") = 600
'Set dBm reference To
600 Ohms
Reference = AP.Anlr.RefdBm("Ohms")
AP.Anlr.FuncSettling(1, .000002, "V", 4, .05, 1)
AP.Anlr.FuncTrig 'Trigger new reading.
Do
Ready = AP.Anlr.FuncReady
'Get status
Loop Until Ready > 0
Reading1 = AP.Anlr.FuncRdg("dBm")
'Get settled reading
Debug.Print "Channel A Amplitude = ";Format _
(Reading1, "#.0000");" dBm (";Reference;" Ohms)"
End Sub
AP.Anlr.RefdBrAuto Method
Syntax AP.Anlr.RefdBrAuto
Result Boolean
True dBr reference set.
False dBr reference NOT set.
Description This command sets the Analyzer dBr Reference field(s).
The following logic is used to determine which meter reading is written into which
reference field:
If the Function meter units selected on the Analog Analyzer panel are not either
dBrA or dBrB, then the Channel A Level meter reading is written into the dBrA Ref-
erence field and the Channel B Level meter reading is written into the dBrB
Reference field.
If the Function meter units are either dBrA or dBrB and the corresponding Level me-
ter is not set to a dBr unit, the Function meter measurement is written into the corre-
sponding dBr Reference field and the other dBr Reference field takes its value from
the Level meter on the corresponding channel.
Example Sub Main
AP.File.OpenTest ("SNR.AT2") 'Open signal-to-noise
test.
AP.Anlr.RefdBrAuto 'Set dBr reference.
Return = AP.Anlr.RefdBrAuto
If Return = True Then Debug.Print "Reference Set"
AP.Gen.Output = 0 'Turn generator OFF.
AP.Sweep.Start 'Start single point
sweep.
End Sub
Output Reference Set
Comment This example performs a single point signal to noise measurement. The measure-
ment result is displayed in the Data Editor. The text "Reference Set" is output to the
Debug Immediate Tab of the Macro editor.
AP.Anlr.RefFreq Property
Description This command sets the value of Analog Analyzer Frequency reference. This refer-
ence value is used by all Analog Analyzer relative frequency units (F/R, dHz, %Hz,
cent, octs, decs, d%, dPPM).
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Gen.Output = 1
AP.Anlr.ChAInput = 1
AP.Anlr.RefFreq("Hz") = 1000
Ref = AP.Anlr.RefFreq("Hz")
AP.Anlr.ChAFreqSettling(.5, .0002, "Hz", 3, .03, 1)
AP.Anlr.ChAFreqTrig 'Trigger new reading.
Do
Ready = AP.Anlr.ChAFreqReady
'Get status.
Loop Until Ready > 0
Reading1 = AP.Anlr.ChAFreqRdg("dHz")
'Get settled reading.
Debug.Print "Frequency delta relative to";Ref; _
"Hz = ";Format(Reading1, "#.0000");" dHz"
End Sub
Output Frequency delta relative to 1000Hz = -0.3173 dHz
AP.Anlr.RefFreqAuto Method
Syntax AP.Anlr.RefFreqAuto
Result Boolean
True Frequency reference set.
False Frequency reference NOT set.
Description This command sets the Analyzer Frequency Reference field to the current frequency
reading.
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Anlr.FuncInput = 0
AP.Gen.Output = 1
AP.Anlr.ChAInput = 1
AP.Anlr.RefFreqAuto 'Set frequency
reference.
Return = AP.Anlr.RefFreqAuto
'Return reference
frequency.
If Return = True Then Debug.Print "Reference Set"
AP.Gen.Freq("Hz") = 2000
AP.Anlr.ChAFreqTrig
Do
Ready = AP.Anlr.ChAFreqReady
Loop Until Ready > 0
A = AP.Anlr.ChAFreqRdg("dHz")
AP.Anlr.RefWatts Property
AP.Anlr.WFDetector Property
Syntax AP.Anlr.WFDetector
Data Type Integer
0 NAB-RMS
1 JIS
2 IEC-PK
Description The Function meter mode must be set to Wow & Flutter.
AP.Anlr.WFFilter Property
Syntax AP.Anlr.WFFilter
Data Type Integer
0 Weighted
1 UnWeighted
2 Weighted-High Band
3 UnWeighted-High Band
4 Wide-High Band
5 Scrape-High Band
Description This command sets the Analog Analyzer Wow & Flutter Filter weighting.
See Also AP.Anlr.WFDetector, AP.Anlr.FuncMode
Example See example for AP.Anlr.WFDetector.
Syntax AP.Application.AppDir
Result String
Description This command returns the application directory. When installing the software the de-
fault application directory is "C:\Program Files\Audio
Precision\AP2700 n.nn\"
Note: AP.App... commands are equivalent to AP.Application... commands.
Example Declare Function GetShortPathName Lib "kernel32" _
Alias "GetShortPathNameA" _
(ByVal lpLongPath As String, _
ByVal lpShortPath As String, _
ByVal nSizeShortPath As Long) As Long
Sub main()
Dim LongPath As String
Dim ShortPath As String
ShortPath = String(255, vbNullChar)
LongPath = AP.Application.AppDir
ReturnLength = GetShortPathName(LongPath, _
ShortPath, Len(ShortPath))
ShortPath = Left(ShortPath, ReturnLength)
Debug.Print "Long Path = ";LongPath
Debug.Print "Short Path = ";ShortPath
End Sub
Output Long Path = C:\PROGRAM FILES\AUDIO PRECISION\AP2700 3.30\
Short Path = C:\PROGRA~1\AUDIOP~1\AP2700~1\
AP.Application.ClearCurrentError Method
Syntax AP.Application.ClearCurrentError
Description This command when executed clears the current error.
Note: In AP Basic, "Dim WithEvents" is allowed in any module. In Visual Basic,
"Dim WithEvents" is only allowed in Class modules.
See Appendix D Extensions Error Codes for Error String numbers and descriptions.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example Sub Main
AP.Gen.ChAAmpl("Vrms") = 111.9 'Cause an error _
and see what happens.
End Sub
Sub APEvent_OnError(Code As Long)
Debug.Print "Got number " & Code & " " & _
AP.Application.GetCurrentErrorString
AP.Application.ClearCurrentError
AP.Application.CopyPanelToClipboard Method
Syntax AP.Application.CopyPanelToClipboard
Description This command copies the graphic image of the panel that has focus to the Clipboard.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example Sub Main
AP.Application.NewTest 'Create Graph with data
AP.Gen.Output = True
AP.Anlr.ChAInput = 2
AP.Anlr.FuncFilterHP = 3
AP.Anlr.FuncFilterLP = 0
AP.Sweep.Data1.Id = 5906
AP.Sweep.Source1.Start("Hz") = 50000.0
AP.Sweep.Start
AP.Graph.OptimizeLeft
AP.Application.CopyPanelToClipboard
AP.Application.DisplayCurrentError Method
Syntax AP.Application.DisplayCurrentError
Result None
Description This command temporally overrides display suppression of error messages by the er-
ror handling system and displays the current error.
See Appendix D Extensions Error Codes for Error String numbers and descriptions.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example Sub Main
AP.Gen.ChAAmpl("Vrms") = 111.9
'Cause an error and
see what happens.
End Sub
Sub APEvent_OnError(Code As Long)
Debug.Print "Got number " & Code & " " & _
AP.Application.GetCurrentErrorString
'In some cases you may want the operator to see the
'error message. The following command will display
'the error.
AP.Application.DisplayCurrentError
AP.Application.ClearCurrentError
AP.Application.DisplayDataOnTestOpen Property
Syntax AP.Application.DisplayDataOnTestOpen
Data Type Boolean
True Display data on test open.
False Don't display data on test open.
Description This command specifies whether the measurement data saved in a test file is dis-
played when the file is loaded.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example Sub Main
AP.Application.DisplayDataOnTestOpen = 0
AP.File.OpenTest "SAMPLE1.AT2C"
'Define strings to be used in the following prompt.
String1$ = "Test Loaded and data NOT displayed."
AP.Prompt.Text = String1$
AP.Prompt.FontSize = 10 'Set prompt font size
to 8 point.
AP.Prompt.Position -1,-1,290,120
'Set prompt location
and size.
AP.Prompt.ShowWithContinue 'Display prompt with
Continue Macro button displayed.
Stop
'Stop Macro until Continue Macro button is pressed.
AP.Application.DisplayDataOnTestOpen = 1
AP.File.OpenTest "SAMPLE1.AT2C"
'Define strings to be used in the following prompt.
String1$ = "Test loaded and data displayed."
AP.Prompt.Text = String1$
AP.Prompt.FontSize = 10
'Set prompt font size to 8 point.
AP.Prompt.Position -1,-1,290,100
'Set prompt location and size.
AP.Prompt.ShowWithContinue 'Display prompt with
Continue Macro button displayed.
Stop
'Stop Macro until Continue Macro button is pressed.
End Sub
AP.Application.DoReadings Method
Syntax AP.Application.DoReadings
Result None
Description This command forces a reading cycle to take place. The reading cycle allows the
reading commands (commands ending in Rdg such as AP.Anlr.FuncRdg) to make
and return a measurement. Under normal conditions when a dialog is displayed the
automatic readings cycle is disabled and readings will not return correctly. Use this
command to force a reading cycle to take place while a dialog is displayed.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example Sub Main
AP.Application.NewTest
AP.Gen.Output = True
AP.Anlr.ChAInput = 2
AP.Gen.ChAAmpl("Vrms") = 0.5
End If
Case 3 'TextBox or ComboBox
text changed
Case 4 'Focus changed
Case 5 'Idle
Rem Handler = True 'Continue getting idle
actions
Case 6 'Function key
End Select
End Function
AP.Application.GetCurrentErrorString Method
Syntax AP.Application.GetCurrentErrorString
Result String
Description This command returns the ASCII text string for the current error.
See Appendix D Extensions Error Codes for Error String numbers and descriptions.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example See example for AP.Application.ClearCurrentError.
AP.Application.HardwareExists Property
AP.Application.HomeDir Method
Syntax AP.Application.HomeDir
Result String
Description This command returns the home directory. When installing the software the default
home directory is “C:\Documents and Settings\username\My Documents\Audio Pre-
cision\AP2700 n.nn\”. The home directory is the default location for saved tests,
sample files, log files and other user files.
Note: AP.App... commands are equivalent to AP.Application... commands.
AP.Application.IsDemoMode Property
Syntax AP.Application.IsDemoMode
Result Boolean
True Demo Mode
False Not Demo Mode (hardware has been detected)
Description This command returns the status of Demo Mode. If true, no hardware has been de-
tected and control software is in Demo Mode. If false, hardware has been detected.
Note: AP.App... commands are equivalent to AP.Application... commands
See Also AP.Application.SysType
AP.Application.MacroDir Method
Syntax AP.Application.MacroDir
Result String
Description This command returns the running macro source directory. This command is like the
MacroDir$ command in the Language reference section of AP Basic with the excep-
tion that this command can be used from an OLE client that is accessing the control
software to determine the directory from which the selected macro was loaded.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example Private Sub Form_Load()
Dim AP As Object
Set AP = CreateObject("AP2700.Application")
'The following lines makes the Visual Basic Current
'Directory and the AP2700 Working Directory the same
ChDir AP.Application.MacroDir
AP.Application.WorkingDir = AP.Application.MacroDir
End Sub
AP.Application.Name Method
Syntax AP.Application.Name
Result String ASCII charactors.
Description This command returns the AP2700 Application Name “Audio Precision AP2700”.
This text string is located in the AP2700 title bar before the test name. This string is
useful when using the AppActivate command located in the Language reference sec-
tion of AP Basic.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example Sub Main
AppActivate AP.Application.Name
'Select the AP2700 window
'The following SendKey command will now be sent to
the AP2700 application.
SendKeys "%WC",1 'Clear all windows on
page.
SendKeys "%PO",1 'Display Data Editor.
End Sub
AP.Application.NewData Method
Syntax AP.Application.NewData
Result Boolean
AP.File.OpenTest "THD-FRQ.AT2C"
'Open total harmonic
distortion + noise
test.
AP.Application.NewData
AP.Sweep.Start
'Start sweep.
AP.File.SaveDataAs "THD-FRQ.DAT"
'Save data.
AP.File.OpenTest "RESIDNOI.AT2C"
'Open residual noise
test.
AP.Application.NewData
AP.Sweep.Start 'Start sweep.
AP.File.SaveDataAs "RESIDNOI.DAT"
'Save data.
End Sub
Syntax AP.Application.NewMacro
Result Boolean
True New macro created.
False Command failed to create new macro.
Description This command initializes the macro editor and is only to be used via OLE. The com-
mand is functionally the same as selecting File, New, Macro, and OK from the
Menu bar.
Note: AP.App... commands are equivalent to AP.Application... commands.
AP.Application.NewTest Method
Syntax AP.Application.NewTest
Result Boolean
True New test panel configuration restored.
False Command failed to restore new test panel configuration.
Description This command initializes the current AP2700 test to the default test condition. The
command is functionally the same as selecting New Test from the Standard Toolbar
or selecting File, New, Test, and OK from the Menu bar.
Note: AP.App... commands are equivalent to AP.Application... commands
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Gen.Output = 1
AP.Anlr.ChAInput = 1
AP.Anlr.FuncFilterLP = 1
A = AP.Anlr.FuncFilterLP
AP.Sweep.Data1.Id = 5906
AP.Sweep.Source1.Start("Hz") = 100000
AP.Sweep.Start
End Sub
AP.Application.NewTestCustom Method
Syntax AP.Application.NewTestCustom
Result Boolean
True New test panel configuration restored.
False Command failed to restore new test panel configuration.
Description This command opens the New Test (Custom) file to initiate a new test with previ-
ously saved custom user preferences. The command is functionally the same as se-
lecting New Test (Custom) from the Standard toolbar, or selecting File > New > Test
(Custom) from the Menu bar.
Note: AP.App... commands are equivalent to AP.Application... commands.
AP.Application.Page Property
Syntax AP.Application.Page
Data Type Integer
1 Page #1.
2 Page #2.
3 Page #3.
4 Page #4.
5 Page #5.
Description This command displays the selected page.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Application.Page = 1
Return = AP.Application.Page
Debug.Print "Page "; Return; " displayed."
Wait 1 'So the user can see
the page change.
AP.Application.Page = 2
Return = AP.Application.Page
Debug.Print "Page "; Return; " displayed."
Wait 1
AP.Application.Page = 3
Return = AP.Application.Page
Debug.Print "Page "; Return; " displayed."
End Sub
AP.Application.PanelClose Method
AP.Application.PanelOpen Method
AP.Application.Quit Method
Syntax AP.Application.Quit
Description This command terminates AP2700 and returns to Windows. If the "Prompt to Save
Test when a test is closed" selection in the Utilities, Config menu is enabled the oper-
ator will be prompted to save changed files when AP2700 quits.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example Sub Main
Start:
ChDir MacroDir
Begin Dialog UserDialog 430,105
PushButton 20,21,380,28,"Your Code",.Field1
AP.Application.Restore Method
Syntax AP.Application.Restore
Description This command restores the hardware to the present state of the software.
This function should be used if the hardware loses power or becomes disconnected
from the computer.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example Sub Main
Start:
Begin Dialog UserDialog 430,105,"Example Menu"
PushButton 40,28,170,42,"Restore Hardware",.Field1
PushButton 230,28,160,42,"Exit Macro",.Field2
End Dialog
Dim Main_Menu As UserDialog
AP.Application.SetWatchDogTimer1 Method
disable the timer at any time set the time value to (0) zero
seconds.
ThrowError Optional parameter. Set this parameter to True to
throw/raise an error (11021) when the defined time has
elapsed. Basic's On Error mechanism can then detect
the error. The default (False) condition will not throw/raise
an error when the defined time has elapsed.
Description This command sets up and starts timer number 1. When the defined time expires the
APEvent_OnWatchDogTimeout event is generated. In addition an error can be
thrown/raised to allow Basic's On Error mechanism to intercept the error.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example Dim Halt As Boolean
Sub Main
Halt = False
AP.Application.NewTest
AP.Gen.Output = True
AP.Anlr.ChAInput = 2
AP.Sweep.Source1.Steps = 30
AP.Application.SetWatchDogTimer1(5.0,False)
AP.Sweep.StartNoWait
Do
Loop While Halt = False
End Sub
Sub APEvent_OnWatchDogTimeout(ByVal Id As Long)
If Id = 1 Then
If AP.Sweep.IsRunning = True Then
AP.Sweep.Stop
Debug.Print "Sweep Stopped"
End If
End If
End Sub
AP.Application.SetWatchDogTimer2 Method
AP.Application.NewTest
AP.Gen.Output = True
AP.Anlr.ChAInput = 2
AP.Sweep.Source1.Steps = 30
AP.Application.SetWatchDogTimer2(5.0,False)
AP.Sweep.StartNoWait
Do
Loop While Halt = False
End Sub
Sub APEvent_OnWatchDogTimeout(ByVal Id As Long)
If Id = 2 Then
If AP.Sweep.IsRunning = True Then
AP.Sweep.Stop
Debug.Print "Sweep Stopped"
End If
End If
End Sub
AP.Application.SysType Method
Syntax AP.Application.SysType
Result String
"2" AP2700 running in System Two mode.
"2C" AP2700 running in Cascade mode.
"2CP" AP2700 running in 2700 series / Cascade Plus mode.
Description This command returns the current mode of the AP2700 software.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example Sub Main
Select Case AP.Application.SysType
Case "2"
AP.Prompt.Text = "AP2700 configured for _
System Two hardware."
Case "2CP"
AP.Prompt.Text = "AP2700 configured for _
2700 series / Cascade Plus hardware."
End Select
AP.Prompt.ShowWithContinue
Stop
End Sub
See Also AP.Application.HardwareExists
AP.Application.TempDir Method
Syntax AP.Application.TempDir
Result String
Description This command returns the user’s Windows temp directory. The default temp direc-
tory is “C:\Documents and Settings\username\Local Set-
tings\Temp”.
Note: AP.App... commands are equivalent to AP.Application... commands.
AP.Application.TestDir Method
Syntax AP.Application.TestDir
Result String
Description This command returns the path of the test (.AT1 or .AT2) that is currently loaded.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example Sub Main
AP.Application.DisplayDataOnTestOpen = 0
AP.File.OpenTest "SAMPLE1.AT2C"
'Get current test name
TestName$ = AP.Application.TestName
'Get directory that
the current test was
loaded from
TestDir$ = AP.Application.TestDir
AP.Prompt.Position -1,-1,290,130
'Set prompt location
and size.
AP.Prompt.ShowWithContinue
'Display prompt with
Continue Macro button
displayed.
Stop 'Stop Macro until
Continue Macro button
is pressed.
End Sub
AP.Application.TestName Method
Syntax AP.Application.TestName
Result String
Description This command returns the test (.AT1 or .AT2) file name of the test that is currently
loaded.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example See example for AP.Application.TestDir.
AP.Application.ThrowErrors Property
Syntax AP.Application.ThrowErrors
Data Type Boolean
True Expose Errors and Warrnings.
False Don't expose Errors and Warrnings.
Description This command exposes errors and warrnings generated by AP2700 to the Err. ob-
ject.
See Appendix D Extensions Error Codes for Error String numbers and descriptions.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example Sub Main
'Pick one the three On Error possiblities below
'On Error GoTo 0
'Disable your error handler (default). Basic will
handle the error by termination.
On Error GoTo MyErrorHandler
'Send error conditions to "MyHandler"
'On Error Resume Next
'Error conditions continue execution at the next
statement.
'Caution—This is generally very dangerous as no
error will be seen
MyErrorHandler:
'show some debug info
Debug.Print "Err=";Err.Number
Debug.Print "Description=";Err.Description
Debug.Print "Source=";Err.Source
AP.Application.Version Method
Syntax AP.Application.Version
Result Double
Description This command returns the running AP2700 Application Version number. This com-
mand can be used to check if the running version of AP2700 is compatible with the
running macro.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example Sub Main
'AP2700 version 3.0 required
If AP.Application.Version <> 3.0 Then End
AP.Application.NewTest
AP.Application.PanelOpen(apbPanelAnalogGenLarge)
AP.Application.PanelOpen(apbPanelAnlrLarge)
AP.Application.PanelOpen(apbPanelSweep)
AP.Gen.Output = True
AP.Anlr.ChAInput = 2
AP.Anlr.FuncFilterHP = 3
AP.Sweep.Data1.Id = 5906
AP.Application.Page = 2
AP.Application.Page = 3
AP.Application.PanelClose(apbPanelDigIOSmall)
AP.Application.Page = 2
AP.Sweep.Start
End Sub
AP.Application.Visible Property
Syntax AP.Application.Visible
Data Type Boolean
True Restore AP2700 to view.
False Remove AP2700 from view.
Description This command when executed makes the AP2700 window visable or invisible. The
Macro Editor remains visible.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example Sub Main
AP.Application.Visible = False 'Remove AP2700 from view.
AP.Application.NewTest 'Reset panels
AP.Gen.Output = 1
AP.Anlr.ChAInput = 2
AP.Sweep.Start
AP.Application.Visible = True 'Restore AP2700.
End Sub
AP.Application.VisibleAll Property
Syntax AP.Application.VisibleAll
Data Type Boolean
AP.Application.VisibleAll = True
AP.File.OpenTest "VIEW.AT27"
'Test loaded displaying ALL graphic panels
AP.Application.VisibleBarGraphs = False
'Disable display of Bar Graphs
AP.File.OpenTest "VIEW.AT27"
AP.Application.VisibleDataEditor = False
AP.File.OpenTest "VIEW.AT27"
'Disable display of Data Editor
AP.Application.VisibleGraph = False
AP.File.OpenTest "VIEW.AT27"
'Disable display of Graph
AP.Application.VisiblePanels = False
AP.File.OpenTest "VIEW.AT27"
'Disable display of Instrument panels
AP.Application.Quit
'Quit AP2700
End
End Sub
AP.Application.VisibleBarGraphs Property
Syntax AP.Application.VisibleBarGraphs
Data Type Boolean
True Restore to view.
False Remove from view.
Description This command enables or disables display of the Bar-Graph display, when a test is
loaded during Macro execution only. Use this command at the beginning of your
macro to decrease overall test times.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example See example for AP.Application.VisibleAll.
AP.Application.VisibleDataEditor Property
Syntax AP.Application.VisibleDataEditor
Data Type Boolean
True Restore to view.
False Remove from view.
Description This command enables or disables display of the Data Editor panel when a test is
loaded during Macro execution only. Use this command at the beginning of your
macro to decrease overall test times.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example See example for AP.Application.VisibleAll.
AP.Application.VisibleGraph Property
Syntax AP.Application.VisibleGraph
Data Type Boolean
True Restore to view.
False Remove from view.
Description This command enables or disables display of the Graph display when a test is
loaded during Macro execution only. Use this command at the beginning of your
macro to decrease overall test times.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example See example for AP.Application.VisibleAll.
AP.Application.VisibleMacroEditor Method
AP.Gen.Output = 1
AP.Anlr.ChAInput = 2
AP.Sweep.Start
AP.Application.VisibleMacroEditor(True) 'Restore _
Macro Editor.
End Sub
AP.Application.VisiblePanels Property
Syntax AP.Application.VisiblePanels
Data Type Boolean
True Restore to view.
False Remove from view.
Description This command enables or disables display of the Panels when a test is loaded during
Macro execution only. Use this command at the beginninng of your macro to de-
crease overall test times.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example See example for AP.Application.VisibleAll.
AP.Application.WorkingDir Property
Syntax AP.Application.WorkingDir
Data Type String
Description This command sets or returns the current working directory. This command is like
the ChDir$ command in the Language reference section of AP Basic with the ex-
ception that this command can be used from an OLE client to change the AP2700
working directory.
Note: AP.App... commands are equivalent to AP.Application... commands.
Example Private Sub Form_Load()
Dim AP As Object
Set AP = CreateObject("AP2700.Application")
'The following line makes the AP2700 Working Directory '
the same as the VB current directory.
If AP.Application.AppDir <> CurDir Then
AP.Application.WorkingDir = CurDir
'Your code goes here.
End Sub
Syntax AP.Aux.Reading1Rdg
Data Type Double
Description This command returns a settled reading for Auxiliary Reading #1 and zeros the
ready count.
See Also AP.Aux.Reading1Rdg, AP.Aux.Reading1Settling, AP.Aux.
Reading1Trig
Example ' Uses the AP2700-GPIB Library GPIBLIB.APB
' A National Instruments GPIB card must be installed
' in your system to use this file.
'#Uses "gpib-lib.apb"
' See the GPIB-LIB.apb file for instructions on use.
'#Uses "APNiglob.bas"
'#Uses "APVbib32.bas"
Public iAP As Integer
Sub Main
Dim iStatus As Integer, iAddr As Integer, _ iAnyOneHome As
Integer, sResponse As String
End Sub
AP.Aux.Reading1Ready Property
Syntax AP.Aux.Reading1Ready
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Auxiliary Reading #1 settled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
AP.Aux.Reading1Settling Method
AP.Aux.Reading1Trig Method
AP.Aux.Reading2Rdg Property
Syntax AP.Aux.Reading2Rdg
Data Type Double
Description This command returns a settled reading for Auxiliary Reading #2 and zeros the
ready count.
See Also AP.Aux.Reading2Rdg, AP.Aux.Reading2Settling, AP.Aux.
Reading2Trig
Example See example for AP.Aux.Reading1Rdg.
AP.Aux.Reading2Ready Property
Syntax AP.Aux.Reading2Ready
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Auxiliary Reading #2 settled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.Aux.Reading2Rdg
or AP.Aux.Reading2Trig commands will zero the ready count.
If the reading is found to be ready, a call to the AP.Aux.Reading2Rdg com-
mand will be guaranteed to return quickly.
See Also AP.Aux.Reading2Rdg, AP.Aux.Reading2Settling, AP.Aux.
Reading2Trig
Example See example for AP.Aux.Reading1Rdg.
AP.Aux.Reading2Settling Method
AP.Aux.Reading2Trig Method
AP.Aux.Reading3Rdg Property
Syntax AP.Aux.Reading3Rdg
AP.Aux.Reading3Ready Property
Syntax AP.Aux.Reading3Ready
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Auxiliary Reading #3 settled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.Aux.Reading3Rdg
or AP.Aux.Reading3Trig commands will zero the ready count.
If the reading is found to be ready, a call to the AP.Aux.Reading3Rdg com-
mand will be guaranteed to return quickly.
See Also AP.Aux.Reading3Rdg, AP.Aux.Reading3Settling, AP.Aux.
Reading3Trig
Example See example for AP.Aux.Reading1Rdg.
AP.Aux.Reading3Settling Method
AP.Aux.Reading3Trig Method
AP.Aux.Reading4Rdg Property
Syntax AP.Aux.Reading4Rdg
Data Type Long
Description This command returns a settled reading for Auxiliary Reading #4 and zeros the
ready count.
See Also AP.Aux.Reading4Rdg, AP.Aux.Reading4Settling, AP.Aux.
Reading4Trig
Example See example for AP.Aux.Reading1Rdg.
AP.Aux.Reading4Ready Property
Syntax AP.Aux.Reading4Ready
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Auxiliary Reading #4 settled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.Aux.Reading4Rdg
or AP.Aux.Reading4Trig commands will zero the ready count.
If the reading is found to be ready, a call to the AP.Aux.Reading4Rdg com-
mand will be guaranteed to return quickly.
See Also AP.Aux.Reading4Rdg, AP.Aux.Reading4Settling, AP.Aux.
Reading4Trig
Example See example for AP.Aux.Reading1Rdg.
AP.Aux.Reading4Settling Method
AP.Aux.Reading4Trig Method
AP.Aux.SetReading1 Method
AP.Aux.SetReading2 Method
AP.Aux.SetReading3 Method
AP.Aux.SetReading4 Method
AP.Aux.Setting1 Property
Syntax AP.Aux.Setting1
Data Type Double
Description This command sets the value used by the Aux instrument Setting 1 parameter.
Example See example for AP.Aux.Reading1Rdg.
AP.Aux.Setting2 Property
Syntax AP.Aux.Setting2
Data Type Double
Description This command sets the value used by the Aux instrument Setting 2 parameter.
Example See example for AP.Aux.Reading1Rdg.
AP.Aux.Setting3 Property
Syntax AP.Aux.Setting3
Data Type Long
Description This command sets the value used by the Aux instrument Setting 3 parameter.
Example See example for AP.Aux.Reading1Rdg.
AP.Aux.Setting4 Property
Syntax AP.Aux.Setting4
Data Type Long
Description This command sets the value used by the Aux instrument Setting 4 parameter.
Example See example for AP.Aux.Reading1Rdg.
With AP.BarGraph
GenFreqBar = .New 'Create New Bargraph
.Id(GenFreqBar) = 5051 'Configure Bargraph _
to control Generator Frequency
.AxisLogLin(GenFreqBar) = 1
'Linear axis
.AxisRight(GenFreqBar,"Hz") = 3500.0 'Right value
.AxisLeft(GenFreqBar,"Hz") = 2500.0
'Left value
.AxisIncrement(GenFreqBar,"Hz") = 10.0
'Step size
.DigitsOnly(AnlrFuncRdg) = False
'Display Digits _
and Bar on the Bargraph
.AxisLogLin(AnlrFuncRdg) = 1
'Linear axis
.AxisLeft(AnlrFuncRdg,"V") = 0.8
'Left value
.AxisRight(AnlrFuncRdg,"V") = 1.2
'Right value
.AxisAutoScale(AnlrFuncRdg) = True
'Autoscale _
Readings
.TargetLower(AnlrFuncRdg,"V") = 0.95
'Target _
Lower value
.TargetUpper(AnlrFuncRdg,"V") = 1.05
'Target _
Upper value
.TargetRange(AnlrFuncRdg) = True
'Display _
Target area
AP.BarGraph.AxisIncrement Property
AP.BarGraph.AxisLeft Property
AP.BarGraph.AxisLogLin Property
AP.BarGraph.AxisRight Property
AP.BarGraph.Comment Property
AP.Gen.Output = True
With AP.Anlr
.ChAInput = 2
.FuncMode = 1
.FuncBPBRTuning = 4
.FuncBPBRFreq("Hz") = 3000.0
End With
With AP.BarGraph
BarID1 = .New(5051) 'Setup Settings Bar Graph
.AxisLeft(BarID1,"Hz") = 2500.0
.AxisRight(BarID1,"Hz") = 3500.0
.AxisIncrement(BarID1,"Hz") = 1.0
.Title(BarID1) = "Bar Graph 1: Analog _
Generator Frequency"
BarID2 = .New(5907) 'Setup Readings Bar Graph
.AxisLeft(BarID2,"V") = 0.50
.AxisRight(BarID2,"V") = 1.50
.CommentShow(BarID2) = True
.Title(BarID2) = "Analog Analyzer Bandpass _
Amplitude"
.Comment(BarID2) = "Adjust Bar Graph #1 for _
maximum amplitude reading."
End With
With AP.Prompt
.FontSize = 8 'Set font size to 8 point.
.Position(290,244,225,120) 'Set location and size.
.Text = Chr$(10) & "Press this button to _
proceed." 'Set string to display in prompt.
.ShowWithContinue 'Display prompt with _
Continue button.
Stop 'Stop macro.
End With
Debug.Print "Filter peek = " & AP.Gen.Freq("Hz") _
& " Hz"
End Sub
AP.BarGraph.CommentShow Property
Syntax AP.BarGraph.CommentShow
Data Type Boolean
True Display Comment section.
False Remove Comment section from view.
Description This command displays or removes from view the comment section in the Graph
panel
See Also AP.BarGraph.Comment
Example See example for AP.BarGraph.Comment.
AP.BarGraph.DigitsOnly Property
AP.BarGraph.Id Property
AP.BarGraph.Max Property
AP.BarGraph.Min Property
AP.BarGraph.New Method
AP.BarGraph.Reset Method
AP.BarGraph.TargetLower Property
AP.BarGraph.TargetRange Property
AP.BarGraph.TargetUpper Property
AP.BarGraph.Title Property
User Notes
AP.Bits.ChAAuxBitsRdg Property
AP.Bits.ChACategoryRdg Property
Description This command returns the Status Bits channel A Category code from an optional
string or from the AES/EBU data stream. When the optional string parameter is in-
cluded the command uses the designated string as the source for the reading. The
string is obtained by using the AP.Bits.ChAStatusXferToString
command.
See Also AP.Bits.ChAStatusXferToString
AP.Bits.ChAChModeRdg Property
String_Array(3) = "Primary/Sec"
String_Array(4) = "Stereo"
String_Array(5) = "Reserved-1"
String_Array(6) = "Reserved-2"
String_Array(7) = "Vector to byte 3"
String_Array(8) = "Mono Double Rate"
String_Array(9) = "Left Double Rate"
String_Array(10) = "Right Double Rate"
AP.Bits.ChAChNumRdg Property
AP.Bits.ChAClockAccuracyRdg Property
AP.Bits.ChACopyrightRdg Property
String_Array(AP.Bits.ChACopyrightRdg) & _
" protected."
End Sub
Output Copyright Reading = Copyright protected.
AP.Bits.ChACrcRdg Property
AP.Bits.ChADestinationRdg Property
Description This command returns the Status Bits channel A Destination Code from an optional
string or from the AES/EBU data stream. When the optional string parameter is in-
cluded the command uses the designated string as the source for the reading. The
string is obtained by using the AP.Bits.ChAStatusXferToString
command.
See Also AP.Bits.ChAStatusXferToString
Example
Sub Main
AP.Application.NewTest 'Reset panels
AP.Bits.Mode = 1 'Professional Mode
AP.S2Dio.InFormat = 3
AP.Bits.Pro.Destination = "ABCD"
Wait .5 'Wait for reading to update
Debug.Print "Destination Reading = " & _
AP.Bits.ChADestinationRdg
End Sub
Output Destination Reading = ABCD
AP.Bits.ChAEmphRdg Property
String_Array_Cons(1) = "50/15S"
With AP.Bits
.XmitChannel = 0
.Mode = 0 'Consumer Mode
.Cons.Emphasis = 1
.XmitChannel = 1
.Mode = 1 'Professional Mode
.Pro.Emphasis = 3
End With
AP.S2Dio.InFormat = 3
Wait 1 'Wait for reading to update
With AP.Bits
If .ChAModeRdg = 0 Then
Debug.Print "Ch A Consumer Emphasis _
Reading = " &String_Array_Cons(.ChAEmphRdg)
Else
Debug.Print "Ch A Professional Emphasis _
Reading = " & String_Array_Pro(.ChAEmphRdg)
End If
End With
End Sub
Output Ch A Consumer Emphasis Reading = 50/15S
Ch B Professional Emphasis Reading = CCITT J.17
AP.Bits.ChAFlag0_5Rdg Property
AP.Bits.ChAFlag6_13Rdg Property
AP.Bits.ChAFlag14_17Rdg Property
AP.Bits.ChAFlag18_21Rdg Property
AP.Bits.ChAFreqModeRdg Property
AP.Bits.ChALocalAddressRdg Property
AP.Bits.XmitChannel = 1
AP.Bits.Pro.LocalAddress = 5678
'Set Ch B
Wait .5 'Wait for reading to update
Debug.Print "Ch A Origin Reading = " & _
AP.Bits.ChALocalAddressRdg
Debug.Print "Ch B Local Address Reading = " & _
AP.Bits.ChBLocalAddressRdg
End Sub
AP.Bits.ChAModeRdg Property
AP.Bits.ChAOriginRdg Property
AP.Bits.ChARefSignalRdg Property
ter is included the command uses the designated string as the source for the reading.
The string is obtained by using the AP.Bits.ChAStatusXferToString
command.
See Also AP.Bits.ChAStatusXferToString
Example Sub Main
Dim String_Array(3)
String_Array(0) = "Not a ref. Signal"
String_Array(1) = "Grade 1"
String_Array(2) = "Grade 2"
String_Array(3) = "Reserved"
AP.Bits.ChASampleFreqRdg Property
With AP.Bits
.XmitChannel = 0
.Mode = 0 'Consumer Mode
.Cons.SampleFreq = 0
.XmitChannel = 1
.Mode = 1 'Professional Mode
.Pro.SampleFreq = 2
End With
AP.S2Dio.InFormat = 3
Wait 1 'Wait for reading to update
With AP.Bits
If .ChAModeRdg = 0 Then
Debug.Print "Ch A Consumer Frequency _
Reading = " & _
String_Array_Cons(.ChASampleFreqRdg)
Else
Debug.Print "Ch A Professional Frequency _
Reading = " & String_Array_Pro _
(.ChASampleFreqRdg)
End If
If .ChBModeRdg = 0 Then
Debug.Print "Ch B Consumer Frequency _
Reading = " & String_Array_Cons _
(.ChBSampleFreqRdg)
End If
End With
End Sub
Output Ch A Consumer Frequency Reading = 48 kHz
Ch B Professional Frequency Reading = 44.1 kHz
AP.Bits.ChASourceNumRdg Property
Description This command returns the Status Bits channel A Source Number from an optional
string or from the AES/EBU data stream. When the optional string parameter is in-
cluded the command uses the designated string as the source for the reading. The
string is obtained by using the AP.Bits.ChAStatusXferToString
command.
See Also AP.Bits.ChAStatusXferToString
End If
End Sub
Output Source Number Reading = 5
AP.Bits.ChAStatusXferToString Method
Syntax AP.Bits.ChAStatusXferToString
Result String
Description This command transfers the contents of the channel A Status Bits into an string. This
enable the programmer to extract all of the status information from an single
measurement.
See Also AP.Bits.ChAXmitStatus
Example Sub Main
With AP.Bits
Channel_A_Status = .ChAStatusXferToString
Mode = .ChAModeRdg(Channel_A_Status)
Debug.Print "Mode = " & Mode
AP.Bits.ChATimeOfDayRdg Property
AP.Bits.Pro.LocalAddressAuto = 0
AP.Bits.Pro.TimeOfDay = 123456789
AP.S2Dio.InFormat = 3
Wait .5 'Wait for reading to update
Debug.Print "Ch A Time Of Day Reading = " & _
AP.Bits.ChATimeOfDayRdg
Debug.Print "Ch B Time Of Day Reading = " & _
AP.Bits.ChBTimeOfDayRdg
End Sub
Output Ch A Time Of Day Reading = 123456789
Ch B Time Of Day Reading = 123456789
AP.Bits.ChAUserBitsRdg Property
AP.Bits.ChAWordLengthRdg Property
AP.Bits.ChAXmitStatus Property
Syntax AP.Bits.ChAXmitStatus
Data Type String String containing status bit information.
Description This command transmits the status bits data contained in the string for channel A.
See Also AP.Bits.ChAStatusXferToString
Example Sub Main
With AP.Bits
'Get current Channel A&B status
Channel_A_Status = .ChAStatusXferToString
Channel_B_Status = .ChBStatusXferToString
AP.Bits.ChBAudioModeRdg Property
AP.Bits.ChBAuxBitsRdg Property
AP.Bits.ChBCategoryRdg Property
AP.Bits.ChBChModeRdg Property
3 Primary/Sec
4 Stereo
5 Reserved-1
6 Reserved-2
7 Vector to byte 3
8 Mono Double Rate
9 Left Double Rate
10 Right Double Rate
Description This command returns the Status Bits channel B Channel Mode from an optional
string or from the AES/EBU data stream. When the optional string parameter is in-
cluded the command uses the designated string as the source for the reading. The
string is obtained by using the AP.Bits.ChBStatusXferToString
command.
See Also AP.Bits.ChBStatusXferToString
Example See example for AP.Bits.ChAChModeRdg.
AP.Bits.ChBChNumRdg Property
AP.Bits.ChBClockAccuracyRdg Property
AP.Bits.ChBCopyrightRdg Property
AP.Bits.ChBCrcRdg Property
AP.Bits.ChBDestinationRdg Property
AP.Bits.ChBEmphRdg Property
0 Not Indicated
1 None
2 50/15 uS
3 CCITT J.17
Description This command returns the Status Bits channel B Emphasis setting from an optional
string or from the AES/EBU data stream. When the optional string parameter is in-
cluded the command uses the designated string as the source for the reading. The
string is obtained by using the AP.Bits.ChBStatusXferToString
command.
See Also AP.Bits.ChBStatusXferToString
Example See example for AP.Bits.ChAEmphRdg.
AP.Bits.ChBFlag0_5Rdg Property
AP.Bits.ChBFlag6_13Rdg Property
AP.Bits.ChBFlag14_17Rdg Property
AP.Bits.ChBFlag18_21Rdg Property
AP.Bits.ChBFreqModeRdg Property
AP.Bits.ChBLocalAddressRdg Property
AP.Bits.ChBModeRdg Property
AP.Bits.ChBOriginRdg Property
AP.Bits.ChBRefSignalRdg Property
AP.Bits.ChBSampleFreqRdg Property
AP.Bits.ChBSourceNumRdg Property
15 15
16 16
Description This command returns the Status Bits channel B Source Number from an optional
string or from the AES/EBU data stream. When the optional string parameter is in-
cluded the command uses the designated string as the source for the reading. The
string is obtained by using the AP.Bits.ChBStatusXferToString
command.
See Also AP.Bits.ChBStatusXferToString
Example See example for AP.Bits.ChASourceNumRdg.
AP.Bits.ChBStatusXferToString Method
Syntax AP.Bits.ChBStatusXferToString
Result String
Description This command transfers the contents of the channel B Status to a string.
See Also AP.Bits.ChBXmitStatus
Example See example for AP.Bits.ChAStatusXferToString.
AP.Bits.ChBTimeOfDayRdg Property
AP.Bits.ChBUserBitsRdg Property
AP.Bits.ChBWordLengthRdg Property
AP.Bits.ChBXmitStatus Property
Syntax AP.Bits.ChBXmitStatus
Data Type String String containing status bit information.
Description This command transmits the status bits data contained in the string for channel B.
See Also AP.Bits.ChBStatusXferToString
Example See example for AP.Bits.ChAXmitStatus.
AP.Bits.Cons.AudioMode Property
Syntax AP.Bits.Cons.AudioMode
Data Type Integer
0 Auto
1 Data Mode (non-audio)
2 Audio Mode (normal, linear PCM)
Description This command sets the Mode parameter encoded in the Consumer Status Bits to 1
(Data Mode) or 2 (Audio Mode). 0 (Auto) sets the Mode parameter to Data when
AP.S2CDio.OutAudioFormat is set to 3 (IEC-61937, requires Dolby Digital Genera-
tor OPT-2711).
See Also AP.S2CDio.OutAudioFormat
Example See example for AP.Bits.Cons.Category.
AP.Bits.Cons.Category Property
Syntax AP.Bits.Cons.Category
Data Type Integer
0 General
1 CD Player
2 PCM Adaptor
3 DAT Recorder
4 Digital Broadcast
5 Musical Instrument
Description This command sets the Catagory Code parameter (channel status bit C) encoded in
the Consumer Status Bits.
Example Sub Main
'other setup code ...
AP.Bits.XmitChannel = 2 'channels A & B
AP.Bits.Mode = 0 'consumer
AP.Bits.Cons.AudioMode = 1 'data mode
AP.Bits.Cons.CopyRight = 1 'non-copyright
AP.Bits.Cons.Emphasis = 1 '50/15 uS
AP.Bits.Cons.Channels = 0 '2 channel
AP.Bits.Cons.Category = 1 'CD player
AP.Bits.Cons.SourceNum = 1 'source 1
AP.Bits.Cons.ChNum = 1 'A (left)
AP.Bits.Cons.SampleFreq = 0 '48 kHz
AP.Bits.Cons.ClockAccuracy = 0 'level 1
'rest of program ...
End Sub
AP.Bits.Cons.Channels Property
Syntax AP.Bits.Cons.Channels
Data Type Integer
0 2 Channel
1 4 Channel
Description This command sets the Channel Mode parameter encoded in the Consumer Status
Bits.
Example See example for AP.Bits.Cons.Category.
AP.Bits.Cons.ChNum Property
Syntax AP.Bits.Cons.ChNum
Data Type Integer
0 Don't Care
1 A (Left)
2 B (Right)
3 C
4 D
5 E
6 F
7 G
8 H
9 I
10 J
11 K
12 L
13 M
14 N
15 O
Description This command sets the Source Number parameter encoded in the Consumer Status
Bits.
See Also AP.Bits.XmitChannel
Example See example for AP.Bits.Cons.Category.
AP.Bits.Cons.ClockAccuracy Property
Syntax AP.Bits.Cons.ClockAccuracy
Data Type Integer
0 Level 1
1 Level 2
2 Level 3
3 Reserved
Description This command sets the Clock Accuracy parameter encoded in the Consumer Status
Bits.
Example See example for AP.Bits.Cons.Category.
AP.Bits.Cons.Copyright Property
Syntax AP.Bits.Cons.Copyright
Data Type Integer
1 Copyright
0 Non-Copyright
Description This command sets the Copyright parameter encoded in the Consumer Status Bits.
Example See example for AP.Bits.Cons.Category.
AP.Bits.Cons.Emphasis Property
Syntax AP.Bits.Cons.Emphasis
Data Type Integer
0 No Pre-emph
1 50/15S
Description This command sets the Emphasis parameter encoded in the Consumer Status Bits.
Example See example for AP.Bits.Cons.Category.
AP.Bits.Cons.SampleFreq Property
Syntax AP.Bits.Cons.SampleFreq
Data Type Integer
0 48 kHz
1 44.1 kHz
2 32 kHz
Description This command sets the Frequency parameter encoded in the Consumer Status Bits.
Example See example for AP.Bits.Cons.Category.
AP.Bits.Cons.SourceNum Property
Syntax AP.Bits.Cons.SourceNum
Data Type Integer
0 Don't Care
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
11 11
12 12
13 13
14 14
15 15
16 16
Description This command sets the Source Number parameter encoded in the Consumer Status
Bits.
Example See example for AP.Bits.Cons.Category.
AP.Bits.Mode Property
Syntax AP.Bits.Mode
Data Type Integer
0 Consumer
1 Professional
Description This command sets the Transmit Mode.
Example See example for AP.Bits.Cons.Category.
AP.Bits.Pro.AudioMode Property
Syntax AP.Bits.Pro.AudioMode
Data Type Integer
0 Auto
1 Non-Audio (Data Mode)
2 Normal (Audio Mode; linear PCM)
Description This command sets the Mode parameter encoded in the Professional Status Bits to 1
(Non-Audio) or 2 (Normal). 0 (Auto) sets the Mode parameter to Data when AP.
S2CDio.OutAudioFormat is set to 3 (IEC-61937, requires Dolby Digital Generator
OPT-2711).
See Also AP.S2CDio.OutAudioFormat
Example See example for AP.Bits.Pro.LocalAddress.
AP.Bits.Pro.AuxBits Property
Syntax AP.Bits.Pro.AuxBits
AP.Bits.Pro.ChMode Property
Syntax AP.Bits.Pro.ChMode
Data Type Integer
0 Not Indicated
1 2-channel
2 Single-channel
3 Primary/Sec
4 Stereo
5 Reserved-1
6 Reserved-2
7 Vector to byte 3
8 Mono Double Rate
9 Left Double Rate
10 Right Double Rate
Description This command sets the Channel Mode parameter encoded in the Professional Status
Bits.
Example See example for AP.Bits.Pro.LocalAddress.
AP.Bits.Pro.CrcEnable Property
Syntax AP.Bits.Pro.CrcEnable
Result Boolean
True Set
False Clear
Description This command sets or clears the CRC parameter encoded in the Professional Status
Bits.
The AES3 standard defines byte 23 as a CRC byte to assist the receiver in detecting
errors in the preceding 23 bytes (0-22) of each channel status block.
Example See example for AP.Bits.Pro.LocalAddress.
AP.Bits.Pro.Destination Property
Syntax AP.Bits.Pro.Destination
AP.Bits.Pro.Emphasis Property
Syntax AP.Bits.Pro.Emphasis
Result Integer
0 Not Indicated
1 None
2 50/15 uS
3 CCITT J.17
Description This command sets the Emphasia parameter encoded in the Professional Status Bits.
Example See example for AP.Bits.Pro.LocalAddress.
AP.Bits.Pro.Flag0_5 Property
Syntax AP.Bits.Pro.Flag0_5
Result Boolean
True Set
False Clear
Description This command sets or clears the Reliability Flag for bytes 0-5.
This flag is to be set if useful information is not being transmitted in the correspond-
ing status bytes.
Note that the Reliability Flags are not indications of the quality of the signal, but are
simply a way for the transmitting device to tell the receiving device whether or not
the information received in each group of six status bytes is valid.
Example See example for AP.Bits.Pro.LocalAddress.
AP.Bits.Pro.Flag6_13 Property
Syntax AP.Bits.Pro.Flag6_13
Result Boolean
True Set
False Clear
Description This command sets or clears the Reliability Flag for bytes 6-13.
This flag is to be set if useful information is not being transmitted in the correspond-
ing status bytes.
Note that the Reliability Flags are not indications of the quality of the signal, but are
simply a way for the transmitting device to tell the receiving device whether or not
the information received in each group of eight status bytes is valid.
Example See example for AP.Bits.Pro.LocalAddress.
AP.Bits.Pro.Flag14_17 Property
Syntax AP.Bits.Pro.Flag14_17
Result Boolean
True Set
False Clear
Description This command sets or clears the Reliability Flag for bytes 14-17.
This flag is to be set if useful information is not being transmitted in the correspond-
ing status bytes.
Note that the Reliability Flags are not indications of the quality of the signal, but are
simply a way for the transmitting device to tell the receiving device whether or not
the information received in each group of four status bytes is valid.
Example See example for AP.Bits.Pro.LocalAddress.
AP.Bits.Pro.Flag18_21 Property
Syntax AP.Bits.Pro.Flag18_21
Result Boolean
True Set
False Clear
Description This command sets or clears the Reliability Flag for bytes 18-21.
This flag is to be set if useful information is not being transmitted in the correspond-
ing status bytes.
Note that the Reliability Flags are not indications of the quality of the signal, but are
simply a way for the transmitting device to tell the receiving device whether or not
the information received in each group of four status bytes is valid.
Example See example for AP.Bits.Pro.LocalAddress.
AP.Bits.Pro.FreqMode Property
Syntax AP.Bits.Pro.FreqMode
Data Type Integer
0 Unlocked
1 Locked
Description This command sets the Frequency Mode parameter encoded in the Professional Sta-
tus Bits.
Example See example for AP.Bits.Pro.LocalAddress.
AP.Bits.Pro.LocalAddress Property
Syntax AP.Bits.Pro.LocalAddress
AP.Bits.Pro.LocalAddressAuto Property
Syntax AP.Bits.Pro.LocalAddressAuto
Data Type Boolean
True Enabled
False Disabled
Description This command enables or disables automatic selection of the Local Address and
Time Of Day values.
If the Local Address Auto box via this command is enabled, both the Local Address
value transmitted (bytes 14-17) and the Time of Day value (bytes 18-21) are the
count, in samples, of the elapsed time since the Professional format of status bytes
was selected or the Auto box was checked (whichever was later). If the Auto box is
not checked, an entry field is displayed to the right of the Auto box. A number may
be enered into this field via the AP.Bits.Pro.LocalAddress command and
the number will be continuously transmitted as the Local Address code in the status
bytes.
See Also AP.Bits.Pro.LocalAddress, AP.Bits.Pro.TimeOfDay
Example See example for AP.Bits.Pro.LocalAddress.
AP.Bits.Pro.Origin Property
Syntax AP.Bits.Pro.Origin
Data Type String
Description This command sets a four-character alphanumeric (ASCII) code to be transmitted.
Example See example for AP.Bits.Pro.LocalAddress.
AP.Bits.Pro.RefSignal Property
Syntax AP.Bits.Pro.RefSignal
Data Type Integer
0 Nor a ref. Signal
1 Grade 1
2 Grade 2
3 Reserved
Description This command sets the ReferenceSignal parameter encoded in the Professional Sta-
tus Bits.
Example See example for AP.Bits.Pro.LocalAddress.
AP.Bits.Pro.SampleFreq Property
Syntax AP.Bits.Pro.SampleFreq
Data Type Integer
0 Not Indicated
1 48 kHz
2 44.1 kHz
3 32 kHz
4 192 kHz
5 192/1.001 kHz
6 176.4 kHz
7 176.4/1.001 kHz
8 96 kHz
9 96/1.001 kHz
10 88.2 kHz
11 88.2/1.001 kHz
12 48/1.001 kHz
13 44.1/1.001 kHz
14 32/1.001 kHz
15 24 kHz
16 24/1.001 kHz
17 22.05 kHz
18 22.05/1.001 kHz
Description This command sets the Frequency parameter encoded in the Professional Status
Bits.
Example See example for AP.Bits.Pro.LocalAddress.
AP.Bits.Pro.TimeOfDay Property
Syntax AP.Bits.Pro.TimeOfDay
Data Type Long
Description This command sets the Time Of Day parameter encoded in the Professional Status
Bits bytes 18-21.
See Also AP.Bits.Pro.AddressAuto
Example See example for AP.Bits.Pro.LocalAddress.
AP.Bits.Pro.UserBits Property
Syntax AP.Bits.Pro.UserBits
Data Type Integer
0 None
1 192-bit block
2 Reserved
3 User defined
Description This command sets the User Bits parameter encoded in the Professional Status Bits.
Example See example for AP.Bits.Pro.LocalAddress.
AP.Bits.Pro.WordLength Property
Syntax AP.Bits.Pro.WordLength
Data Type Integer
The following list contains the selections relevant to the AP.Bits.Pro.
AuxBits command "20-bit not defined" selection.
0 Not Indicated
1 20 bits
2 19 bits
3 18 bits
4 17 bits
5 16 bits
AP.Bits.XmitChannel Property
Syntax AP.Bits.XmitChannel
Data Type Integer
0 A
1 B
2 A&B
Description This command sets the Transmit Channel.
Example See example for AP.Bits.Pro.LocalAddress.
AP.CommB.Break
Syntax AP.CommA.Break
Data Type Boolean
True Sets the break signal.
False Clears the break signal.
Description This command sets or clears the break signal. Setting the break signal to True stops
sending characters and places the line in a break state until the Break command is
set to False.
AP.CommA.CDHolding Property
AP.CommB.CDHolding
Syntax AP.CommA.CDHolding
Data Type Boolean
True Carrier Detect line high.
False Carrier Detect line low.
Description This command returns the state of the Carrier Detect (CD) line. The state of the Car-
rier Detect line indicates to the computer whether or not the modem is online.
When the Carrier Detect line is high (CDHolding = True) and the time specified by
the AP.CommA.CDTimeout command has expired, the AP.CommA.CommEvent
command is set to comCDTO (Carrier Detect Timeout Error), and a OnComm event
is generated.
The Carrier Detect is also known as the Receive Line Signal Detect (RLSD).
See Also AP.CommA.CDTimeout
AP.CommA.CDTimeout Property
AP.CommB.CDTimeout
Syntax AP.CommA.CDTimeout
Data Type Long
Description This command sets and returns the maximum amount of time (in milliseconds) that
the control waits for the Carrier Detect (CD) signal before timing out. This com-
mand indicates a timeout condition by setting the AP.CommA.CommEvent com-
mand to CDTO (Carrier Detect Timeout Error) and generating the OnComm event.
AP.CommA.CommEvent Property
AP.CommB.CommEvent
AP.CommA.CommId Property
AP.CommB.CommId
Syntax AP.CommA.CommICommId
Data Type Integer
Description This command returns a handle that identifies the communications device.
AP.CommA.CommPort Property
AP.CommB.CommPort
Syntax AP.CommA.CommPort
Data Type Integer
Description This command sets and returns the communications port number.
The communications control generates error 68 (Device unavailable) if the port does
not exist.
Warning You must set AP.CommA.CommPort before opening the port.
Example Sub Main
If AP.CommA.PortOpen = True Then
'Close Port if Open
AP.CommA.PortOpen = False
End If
'Port Setup
AP.CommA.CommPort = 2 'Select Comm Port
AP.CommA.Settings = "9600,N,8,1"
'Set Comm Port _
settings baud rate etc.
AP.CommA.OutBufferSize = 10 'Set Output buffer size
AP.CommA.InBufferSize = 10 'Set Input buffer size
AP.CommA.CTSHolding Property
AP.CommB.CTSHolding
Syntax AP.CommA.CTSHolding
Data Type Boolean
True Clear To Send line high.
False Clear To Send line low.
Description This command returns the state of the of the Clear To Send (CTS) line. The state of
the Clear To Send line indicates to the computer whether or not the transmission can
proceed.
When the Clear To Send line is low (CTSHolding = False) and the time specified by
the AP.CommA.CTSTimeout command has expired, the AP.CommA.CommEvent
command is set to comCTSTO (Clear To Send Timeout) and a OnComm event is
generated.
The Clear To Send line is used in RTS/CTS (Request To Send/Clear To Send) hard-
ware handshaking. The AP.CommA.CTSHolding command provides a way to manu-
ally determine the state of the Clear To Send line.
See Also AP.CommA.Handshaking
AP.CommA.CTSTimeout Property
AP.CommB.CTSTimeout
Syntax AP.CommA.CTSTimeout
AP.CommA.DSRHolding Property
AP.CommB.DSRHolding
Syntax AP.CommA.DSRHolding
Data Type Boolean
True Data Set Ready line high.
False Data Set Ready line low.
Description This command returns the state of the of the Data Set Ready (DSR) line. The state
of the Data Set Ready line indicates to the computer whether or not the hardware is
ready to proceed.
AP.CommA.DSRTimeout Property
AP.CommB.DSRTimeout
Syntax AP.CommA.DSRTimeout
Data Type Long
Description This command sets and returns the maximum amount of time (in milliseconds) that
the control waits for the Data Set Ready (DSR) signal before timing out. This com-
mand indicates a timeout condition by setting the AP.CommA.CommEvent com-
mand to DSRTO (Data Set Ready Timeout Error) and generating the OnComm
event.
AP.CommA.DTREnable Property
AP.CommB.DTREnable
Syntax AP.CommA.DTREnable
Data Type Boolean
True Enable the Data Terminal Ready (line high) when port
opened and (line Low) when the port is closed.
False (Default) Disable the Data Terminal Ready (line always
low).
Description This command determines whether to enable the Data Terminal Ready (DTR) line
during communications. Typically, the Data Terminal Ready signal is sent by a com-
puter to its modem to indicate that the computer is ready to accept incoming data.
Setting the Data Terminal Ready line to low in most cases hangs up the telephone.
AP.CommA.Handshaking Property
AP.CommB.Handshaking
Syntax AP.CommA.Handshaking
Data Type Long Valid protocols are listed in the following table.
0 (Default) No handshaking.
1 XON/XOFF handshaking.
2 RTS/CTS (Request To Send/Clear To Send) handshaking.
3 Both Request To Send and XON/XOFF handshaking.
Description This command sets and returns the state of the hardware handshaking.
Handshaking refers to the internal communications protocol by which data is trans-
ferred from the hardware port to the receive buffer. When a character of data arrives
at the serial port, the communications device has to move it into the receive buffer
so that your program can read it. If there is no receive buffer and your program is ex-
pected to read every character directly from the hardware, you will probably lose
data because the characters can arrive very quickly.
A handshaking protocol insures that data is not lost due to a buffer overrun, in which
case data arrives at the port too quickly for the communications device to move the
data into the receive buffer.
AP.CommA.InBufferCount Property
AP.CommB.InBufferCount
Syntax AP.CommA.InBufferCount
Data Type Integer
Description This command returns the number of characters in the receive buffer.
AP.CommA.InBufferSize Property
AP.CommB.InBufferSize
Syntax AP.CommA.InBufferSize
Data Type Integer
Description This command sets and returns the size of the receive buffer in bytes. The default re-
ceive buffer size is 1024.
Example See example for AP.CommA.CommPort.
AP.CommA.Input Property
AP.CommB.Input
Syntax AP.CommA.Input
Result String
Description This command returns and removes a string of characters from the receive buffer.
The AP.CommA.InputLen command defines the number of characters that are read
by the AP.CommA.Input command.
Example See example for AP.CommA.CommPort.
AP.CommA.InputLen Property
AP.CommB.InputLen
Syntax AP.CommA.InputLen
Data Type Integer
Description This command sets and returns the number of characters the AP.CommA.Input
command reads from the receive buffer.
Setting the AP.CommA.InputLen command to 0 causes the AP.CommA.Input
command to read the entire contents of the receive buffer.
If InputLen characters are not available in the receive buffer, the AP.CommA.In-
put command returns a zero-length string (""). The AP.CommA.
InBufferCount command can also be checked to determine if the required num-
ber of characters are present before using the AP.CommA.Input command.
AP.CommA.Interval Property
AP.CommB.Interval
Syntax AP.CommA.Interval
Data Type Long
Description This command sets the interval (milliseconds) for polling the hardware for data un-
der the Windows 3.0 operating system.
AP.CommA.NullDiscard Property
AP.CommB.NullDiscard
Syntax AP.CommA.NullDiscard
Data Type Boolean
True Null characters are not transferred from the port to the
receive buffer.
False (Default) Null characters are transferred from the port to
the receive buffer.
Description This command determines whether null characters are allowed into the receive
buffer.
A null character is defined as ASCII character 0, Chr$(0).
AP.CommA.OutBufferCount Property
AP.CommB.OutBufferCount
Syntax AP.CommA.OutBufferCount
Data Type Integer
Description This command returns the number of characters in the transmit buffer. The transmit
buffer can be cleared by setting the AP.CommA.OutBufferCount command to
0.
AP.CommA.OutBufferSize Property
AP.CommB.OutBufferSize
Syntax AP.CommA.OutBufferSize
Data Type Integer
Description This command sets and returns the size, in characters, of the transmit buffer. The de-
fault transmit buffer size is 512 bytes.
Example See example for AP.CommA.CommPort.
AP.CommA.Output Property
AP.CommB.Output
Syntax AP.CommA.Output
Data Type Variant
Description This command sends a string of characters to the transmit buffer.
Example See example for AP.CommA.CommPort.
AP.CommA.ParityReplace Property
AP.CommB.ParityReplace
Syntax AP.CommA.ParityReplace
Data Type String
Description This command sets and returns the character that replaces an invalid character in the
data if a parity error occurs.
The parity bit refers to a bit that is transmitted along with a specified number of data
bits to provide error checking. When you use a parity bit, the communications con-
trol adds up all the bits that are set (having a value of 1) in the data and tests the sum
as being odd or even (according to the parity setting used when the port was
opened).
By default, the control uses a question mark (?) character for replacing invalid char-
acters. Setting ParityReplace to an empty string ("") disables replacement of the char-
acter where the parity error occurs.
AP.CommA.PortOpen Property
AP.CommB.PortOpen
Syntax AP.CommA.PortOpen
Data Type Boolean
True Port is opened.
False Port is closed or closes the port and clears the receive
and transmit buffers.
Description This command sets and returns the state of the communications port.
If either the AP.CommA.DTREnable or the AP.CommA.RTSEnable commands are
set to True before the port is opened, the state of each command is set to False when
the port is closed. Otherwise, the DTR and RTS lines remain in their previous state.
Example See example for AP.CommA.CommPort.
AP.CommA.RThreshold Property
AP.CommB.RThreshold
Syntax AP.CommA.RThreshold
Data Type Integer
Description This command sets and returns the number of characters to receive before the com-
munications control sets the CommEvent command to comEvReceive and generates
the OnComm event.
By setting the AP.CommA.RThreshold command to 0 (the default) generationof
the OnComm event is disabled when characters are received.
AP.CommA.RTSEnable Property
AP.CommB.RTSEnable
Syntax AP.CommA.RTSEnable
Data Type Boolean
True Enables the Request To Send line (line set high when port
open and low when port closed).
False The default condition, disables the Request To Send line.
Description This command determines the state of the Request To Send line.
The Request To Send line is used in RTS/CTS hardware handshaking.
AP.CommA.Settings Property
AP.CommB.Settings
Syntax AP.CommA.Settings
Data Type String
The following table lists the valid baud rates.
Setting Description
110
300
600
1200
2400
9600 (Default)
14400
19200
Setting Description
E Even
M Mark
N None (Default)
O Odd
S Space
Setting Description
4
5
6
7
8 (default)
Setting Description
1 (Default)
1.5
2
Description This command sets and returns the baud rate, parity, data bit, and stop bit settings.
If paramString$ is not valid when the port is opened, the communications control
generates error 380 (Invalid property value).
Settings$ consists of four parts as specified in the following format:
"B,P,D,S"
Part Description
B Baud rate
P Parity
D Number of data bits
S Number of stop bits
AP.CommA.SThreshold Property
AP.CommB.SThreshold
Syntax AP.CommA.SThreshold
Data Type Integer Valid protocols are listed in the following table.
0 No handshaking.
1 XON/XOFF handshaking.
2 RTS/CTS (Request To Send/Clear To Send) handshaking.
3 Both Request To Send and XON/XOFF handshaking.
Description This command sets and returns the minimum number of characters allowed in the
transmit buffer before the communications control sets the CommEvent property to
comEvSend.
Setting the AP.CommA.SThreshold command to 0 (the default) disables generat-
ing the OnComm event for data transmission events. Setting the AP.CommA.
SThreshold command to 1 causes the communications control to generate the
OnComm event when the transmit buffer is completely empty.
If the number of characters in the transmit buffer is less than the number specified
by the AP.CommA.SThreshold command, the CommEvent property is set to
comEvSend. The comEvSend event is only sent once, when the number of charac-
ters crosses the Threshold.
Syntax AP.Compute.Avg.Apply
Result Boolean
True Computation performed.
False Computation NOT performed.
Description This command applies the Average computation to the selected data (1-6). All of the
measurements in the selected data will be replaced with the average value of the
data within the Start and Stop settings for the Compute Average function.
See Also AP.Compute.Clear.All, AP.Compute.Avg.Data, AP.Compute.Avg.
PostSweep, AP.Compute.Avg.Start, AP.Compute.Avg.Stop,
Example Sub Main
AP.File.OpenTest "AVG.AT2C"
'Open test
AP.Compute.Clear.All
AP.Compute.Avg.Data(1) = True 'Use Column1 for data 1
AP.Compute.Avg.PostSweep = False
'Disable Apply _
after sweep
AP.Compute.Avg.Start("Hz") = 5000
AP.Compute.Avg.Stop("Hz") = 100
AP.Sweep.Start
AP.Compute.Avg.Apply 'Compute Average
End Sub
AP.Compute.Avg.Data Property
2 = Data 2 measurements
3 = Data 3 measurements
4 = Data 4 measurements
5 = Data 5 measurements
6 = Data 6 measurements
Description This command determines which data (1-6) the Average computation is to be per-
formed on. By using this command several times to select multiple data sources, sev-
eral Average computations can be performed in one operation.
See Also AP.Compute.Avg.Apply
Example See example for AP.Compute.Avg.Apply.
AP.Compute.Avg.PostSweep Property
Syntax AP.Compute.Avg.PostSweep
Data Type Boolean
True Enable computation to be applyed after sweep.
False Disable computation after sweep.
Description This command instructs the test to perform the Average computation after a sweep is
complete and sets the state of the Apply After Sweep field on the Compute Average
panel.
AP2700 retains the order in which the Apply After Sweep field on the Compute pan-
els is enabled. This permits multiple computations to be performed on data from a
single test. The order of the computations is also retained in the test file.
See Also AP.Compute.Avg.Apply
Example See example for AP.Compute.Avg.Apply.
AP.Compute.Avg.Start Property
AP.Compute.Avg.StartUnit Method
Syntax AP.Compute.Avg.StartUnit
Result String
Description This command returns the Unit used for the Start setting for the Compute Average
function.
See Also AP.Compute.Avg.StopUnit
Example Sub Main
AP.Compute.Avg.Data1 = True
AP.Compute.Avg.Start("Hz") = 0.02
Debug.Print AP.Compute.Avg.StartUnit
End Sub
Output Hz
AP.Compute.Avg.Stop Property
AP.Compute.Avg.StopUnit Method
Syntax AP.Compute.Avg.StopUnit
Result String
Description This command returns the Unit used for the Stop setting for the Compute Average
function.
See Also AP.Compute.Avg.StartUnit
Example Sub Main
AP.Compute.Avg.Data1 = True
AP.Compute.Avg.Stop("Hz") = 20000.0
Debug.Print AP.Compute.Avg.StopUnit
End Sub
Output Hz
AP.Compute.Center.Apply Method
Syntax AP.Compute.Center.Apply
Result Boolean
True Computation performed.
False Computation NOT performed.
Description This command applies the Center computation to the selected data (1-6).
See Also AP.Compute.Clear.All, AP.Compute.Center.Data, AP.Compute.
Center.PostSweep, AP.Compute.Center.Start, AP.Compute.
Center.Stop
Example Sub Main
Dim Status As Boolean
Status = AP.Log.Enable 'Determine Log Status
AP.Log.Enable = False 'Enable Log Status
AP.File.OpenTest "CENTER.AT2C" 'Open test
AP.Compute.Clear.All
AP.Compute.Center.Data(1) = True 'Set Data 1
AP.Compute.Center.PostSweep = False 'Apply after _
sweep off
AP.Compute.Center.Start("Hz") = 200000 'Start _
freq 200k Hz
AP.Compute.Center.Stop("Hz") = 10 'Stop at 10 Hz
AP.Sweep.Start
AP.Compute.Center.Apply 'Compute Center
AP.Log.Enable = Status 'Reset Log Status
End Sub
AP.Compute.Center.Data Property
AP.Compute.Center.PostSweep Property
Syntax AP.Compute.Center.PostSweep
Data Type Boolean
True Enable computation to be applyed after sweep.
False Disable computation after sweep.
Description This command instructs the test to perform the Center computation after a sweep is
complete and sets the state of the Apply After Sweep field on the ComputeCenter
panel.
AP2700 retains the order in which the Apply After Sweep field on the Compute pan-
els is enabled. This permits multiple computations to be performed on data from a
single test. The order of the computations is also retained in the test file.
See Also AP.Compute.Center.Apply
Example See example for AP.Compute.Center.Apply.
AP.Compute.Center.Start Property
AP.Compute.Center.StartUnit Method
Syntax AP.Compute.Center.StartUnit
Result String
Description This command returns the Unit used for the Start setting for the Compute Center
function.
See Also AP.Compute.Center.StopUnit
Example Sub Main
AP.Compute.Center.Data1 = True
AP.Compute.Center.Start("Hz") = 20000.0
Debug.Print AP.Compute.Center.StartUnit
End Sub
Output Hz
AP.Compute.Center.Stop Property
AP.Compute.Center.StopUnit Method
Syntax AP.Compute.Center.StopUnit
Result String
Description This command returns the Unit used for the Stop setting for the Compute Center
function.
See Also AP.Compute.Center.StartUnit
Example Sub Main
AP.Compute.Center.Data1 = True
AP.Compute.Center.Stop("Hz") = 20000.0
Debug.Print AP.Compute.Center.StopUnit
End Sub
Output Hz
AP.Compute.Clear.All Method
Syntax AP.Compute.Clear.All
Description This command clears all computes from the current test.
Example See example for AP.Compute.Center.Apply.
AP.Compute.Delta.Apply Method
Syntax AP.Compute.Delta.Apply
Result Boolean
True Computation performed.
False Computation NOT performed.
Description This command applies the Delta computation to the selected data (1-6).
AP.Compute.Delta.Data Property
AP.Compute.Delta.FileName Property
Syntax AP.Compute.Delta.FileName
Data Type String Any valid DOS filename and extension. Enter
"SweepData" for the file name to select data in memory.
Description This command attaches a data file to be used in the Compute Delta computation.
The difference between the selected column data values in the data file and the se-
lected data in memory will be calculated and then replace the data in memory.
See Also AP.Compute.Delta.Apply
AP.Compute.Delta.PostSweep Property
Syntax AP.Compute.Delta.PostSweep
Data Type Boolean
True Enable computation to be applyed after sweep.
False Disable computation after sweep.
Description This command instructs the test to perform the Delta computation after a sweep is
complete and sets the state of the Apply After Sweep field on the Compute Delta
panel.
AP2700 retains the order in which the Apply After Sweep field on the Compute pan-
els is enabled. This permits multiple computations to be performed on data from a
single test. The order of the computations is also retained in the test file.
See Also AP.Compute.Delta.Apply
Example See example for AP.Compute.Delta.Apply.
AP.Compute.Equalize.Apply Method
Syntax AP.Compute.Equalize.Apply
Result Boolean
True Computation performed.
False Computation NOT performed.
Description This command applies equalization to the selected data (1-6).
See Also AP.Compute.Clear.All, AP.Compute.Equalize.Data, AP.Compute.
Equalize.FileName, AP.Compute.Equalize.PostSweep
Example Sub Main
AP.File.OpenTest "EQ.AT2C" 'opens test to be run
'with results compared to stored data file
AP.Compute.Clear.All
AP.Sweep.Start
AP.Compute.Equalize.FileName = "EQ1.ADA"
'data
'file used in delta computation
AP.Compute.Equalize.PostSweep = False 'disables
'apply after sweep
AP.Compute.Equalize.Data(1,1) = True
AP.Compute.Equalize.Data(2,2) = True
AP.Compute.Equalize.Apply 'Compute Equalize
End Sub
AP.Compute.Equalize.Data Property
AP.Compute.Equalize.FileName Property
Syntax AP.Compute.Equalize.FileName
Data Type String Any valid DOS filename and extension. Enter
"SweepData" for the file name to select data in memory.
Description This command attaches a data file (Eq) to be used in the Compute Equalize computa-
tion. The data in memory is multipled by the data in the Eq file.
See Also AP.Compute.Equalize.Apply
Example See example for AP.Compute.Equalize.Apply.
AP.Compute.Equalize.PostSweep Property
Syntax AP.Compute.Equalize.PostSweep
Data Type Boolean
True Enable computation to be applyed after sweep.
False Disable computation after sweep.
Description This command instructs the test to perform equalization after a sweep is complete
and sets the state of the Apply After Sweep field on the Compute Equalize panel.
AP2700 retains the order in which the Apply After Sweep field on the Compute pan-
els is enabled. This permits multiple computations to be performed on data from a
single test. The order of the computations is also retained in the test file.
See Also AP.Compute.Equalize.Apply
AP.Compute.Invert.Apply Method
Syntax AP.Compute.Invert.Apply
Result Boolean
True Computation performed.
False Computation NOT performed.
Description This command applies the Invert computation to the selected data (1-6).
See Also AP.Compute.Clear.All, AP.Compute.Invert.Data, AP.Compute.
Invert.Horizontal, AP.Compute.Invert.PostSweep
Example Sub Main
AP.File.OpenTest "INVERT.AT2C"
'Open test.
AP.Compute.Clear.All 'Clear Compute functions.
AP.Compute.Invert.PostSweep = False
'Post Sweep Off.
AP.Compute.Invert.Data(1) = True 'Data to be inverted.
AP.Compute.Invert.Horizontal("Hz") = 5000'Horizontal _
Value.
AP.Sweep.Start
AP.Compute.Invert.Apply
End Sub
AP.Compute.Invert.Data Property
AP.Compute.Invert.Horizontal Property
AP.Compute.Invert.HorizontalUnit Method
Syntax AP.Compute.Invert.HorizontalUnit
Result String
Description This command returns the Unit used for the Horizontal setting for the Compute In-
vert function.
See Also AP.Compute.Invert.Horizontal
Example Sub Main
AP.Compute.Invert.Data(1) = True
AP.Compute.Invert.Horizontal("Hz") = 1000.0
Debug.Print AP.Compute.Invert.HorizontalUnit
End Sub
Output Hz
AP.Compute.Invert.PostSweep Property
Syntax AP.Compute.Invert.PostSweep
Data Type Boolean
True Enable computation to be applyed after sweep.
False Disable computation after sweep.
Description This command instructs the test to perform the Invert computation after a sweep is
complete and sets the state of the Apply After Sweep field on the Compute Invert
panel.
AP2700 retains the order in which the Apply After Sweep field on the Compute pan-
els is enabled. This permits multiple computations to be performed on data from a
single test. The order of the computations is also retained in the test file.
See Also AP.Compute.Invert.Apply
Example See example for AP.Compute.Invert.Apply.
AP.Compute.Linearity.Apply Method
Syntax AP.Compute.Linearity.Apply
Result Boolean
True Computation performed.
False Computation NOT performed.
Description This command applies the Linearity computation to the selected data (1-6). The
differance
See Also AP.Compute.Clear.All, AP.Compute.Linearity.Data, AP.
Compute.Linearity.PostSweep, AP.Compute.Linearity.Start,
AP.Compute.Linearity.Stop,
Example Sub Main
AP.File.OpenTest "LINEAR.AT2C"
'Open test.
AP.Compute.Clear.All
AP.Compute.Linearity.PostSweep = False'Disables _
Apply after sweep.
AP.Compute.Linearity.Data(1) = True 'Use column 1 _
for data 1.
AP.Compute.Linearity.Start("Vrms") = .5 'Start at _
500mV.
AP.Compute.Linearity.Stop("Vrms") = 2
'Stop at 2V.
AP.Sweep.Start
AP.Compute.Linearity.Apply 'Start computation.
AP.Sweep.Data1.Bottom("V") = -.02
AP.Sweep.Data1.Top("V") = .02
End Sub
AP.Compute.Linearity.Data Property
AP.Compute.Linearity.PostSweep Property
Syntax AP.Compute.Linearity.PostSweep
Data Type Boolean
True Enable computation to be applyed after sweep.
False Disable computation after sweep.
Description This command instructs the test to perform the Linearity computation after a sweep
is complete and sets the state of the Apply After Sweep field on the Compute Linear-
ity panel.
AP2700 retains the order in which the Apply After Sweep field on the Compute pan-
els is enabled. This permits multiple computations to be performed on data from a
single test. The order of the computations is also retained in the test file.
See Also AP.Compute.Linearity.Apply
Example See example for AP.Compute.Linearity.Apply.
AP.Compute.Linearity.Start Property
AP.Compute.Linearity.StartUnit Method
Syntax AP.Compute.Linearity.StartUnit
Result String
Description This command returns the Unit used for the Start setting for the Compute Linearity
function.
See Also AP.Compute.Linearity.StopUnit
Example Sub Main
AP.Compute.Linearity.Data(1) = True
AP.Compute.Linearity.Start("Hz") = 0.02
Debug.Print AP.Compute.Linearity.StartUnit
End Sub
Output Hz
AP.Compute.Linearity.Stop Property
AP.Compute.Linearity.StopUnit Method
Syntax AP.Compute.Linearity.StopUnit
Result String
Description This command returns the Unit used for the Stop setting for the Compute Linearity
function.
See Also AP.Compute.Center.StartUnit
Example Sub Main
AP.Compute.Linearity.Data(1) = True
AP.Compute.Linearity.Stop("Hz") = 20000.0
Debug.Print AP.Compute.Linearity.StopUnit
End Sub
Output Hz
AP.Compute.Max.Apply Method
Syntax AP.Compute.Max.Apply
Result Boolean
True Computation performed.
False Computation NOT performed.
Description This command applies the Maximum computation to the selected data (1-6).
See Also AP.Compute.Clear.All, AP.Compute.Max.Data, AP.Compute.Max.
PostSweep, AP.Compute.Max.Start, AP.Compute.Max.Stop,
AP.Compute.Max.Data Property
AP.Compute.Max.PostSweep Property
Syntax AP.Compute.Max.PostSweep
Data Type Boolean
True Enable computation to be applyed after sweep.
False Disable computation after sweep.
Description This command instructs the test to perform the Maximum computation after a sweep
is complete and sets the state of the Apply After Sweep field on the Compute Maxi-
mum panel.
AP2700 retains the order in which the Apply After Sweep field on the Compute pan-
els is enabled. This permits multiple computations to be performed on data from a
single test. The order of the computations is also retained in the test file.
AP.Compute.Max.Start Property
AP.Compute.Max.StartUnit Method
Syntax AP.Compute.Max.StartUnit
Result String
Description This command returns the Unit used for the Start setting for the Compute Maximum
function.
See Also AP.Compute.Max.StopUnit
Example Sub Main
AP.Compute.Max.Data(1) = True
AP.Compute.Max.Start("Hz") = 0.02
Debug.Print AP.Compute.Max.StartUnit
End Sub
Output Hz
AP.Compute.Max.Stop Property
AP.Compute.Max.StopUnit Method
Syntax AP.Compute.Max.StopUnit
Result String
Description This command returns the Unit used for the Stop setting for the Compute Maximum
function.
See Also AP.Compute.Max.StartUnit
Example Sub Main
AP.Compute.Max.Data(1) = True
AP.Compute.Max.Stop("Hz") = 20000.0
Debug.Print AP.Compute.Max.StopUnit
End Sub
Output Hz
AP.Compute.Min.Apply Method
Syntax AP.Compute.Min.Apply
Result Boolean
True Computation performed.
False Computation NOT performed.
Description This command applies the Minimum computation to the selected data (1-6).
See Also AP.Compute.Clear.All, AP.Compute.Min.Data, AP.Compute.Min.
PostSweep, AP.Compute.Min.Start, AP.Compute.Min.Stop,
Example Sub Main
AP.File.OpenTest "MIN.AT2C"
'Open test.
AP.Compute.Clear.All
AP.Compute.Min.PostSweep = False 'Disables apply _
after sweep.
AP.Compute.Min.Data(1) = True 'Use column 1 for _
data 1.
AP.Compute.Min.Start("Hz") = 10000
AP.Compute.Min.Stop("Hz") = 200
AP.Sweep.Start
AP.Compute.Min.Apply
End Sub
AP.Compute.Min.Data Property
AP.Compute.Min.PostSweep Property
Syntax AP.Compute.Min.PostSweep
Data Type Boolean
True Enable computation to be applyed after sweep.
False Disable computation after sweep.
Description This command instructs the test to perform the Minimum computation after a sweep
is complete and sets the state of the Apply After Sweep field on the Compute Mini-
mum panel.
AP2700 retains the order in which the Apply After Sweep field on the Compute pan-
els is enabled. This permits multiple computations to be performed on data from a
single test. The order of the computations is also retained in the test file.
See Also AP.Compute.Min.Apply
Example See example for AP.Compute.Min.Apply.
AP.Compute.Min.Start Property
Description This command sets the Start value of the data over which the Minimum computation
will be performed.
See Also AP.Compute.Min.Stop, AP.Compute.Min.Apply
Example See example for AP.Compute.Min.Apply.
AP.Compute.Min.StartUnit Method
Syntax AP.Compute.Min.StartUnit
Result String
Description This command returns the Unit used for the Start setting for the Compute Minimum
function.
See Also AP.Compute.Min.StopUnit
Example Sub Main
AP.Compute.Min.Data(1) = True
AP.Compute.Min.Start("Hz") = 0.02
Debug.Print AP.Compute.Min.StartUnit
End Sub
Output Hz
AP.Compute.Min.Stop Property
AP.Compute.Min.StopUnit Method
Syntax AP.Compute.Min.StopUnit
Result String
Description This command returns the Unit used for the Stop setting for the Compute Minimum
function.
See Also AP.Compute.Min.StartUnit
Example Sub Main
AP.Compute.Min.Data(1) = True
AP.Compute.Min.Stop("Hz") = 20000.0
Debug.Print AP.Compute.Min.StopUnit
End Sub
Output Hz
AP.Compute.Normalize.Apply Method
Syntax AP.Compute.Normalize.Apply
Result Boolean
True Computation performed.
False Computation NOT performed.
Description This command applies the Normalize computation to the selected data (1-6).
See Also AP.Compute.Clear.All, AP.Compute.Normalize.Data, AP.
Compute.Normalize.Horizontal, AP.Compute.Normalize.
PostSweep, AP.Compute.Normalize.Target
Example Sub Main
AP.File.OpenTest "NORMAL.AT2C"'opens test to be run.
AP.Compute.Clear.All
AP.Compute.Normalize.PostSweep = False 'Disables _
apply after sweep.
AP.Compute.Normalize.Data(1) = True
AP.Compute.Normalize.Horizontal("Hz") = 1000
'Sets 1kHz point to be normalized.
AP.Compute.Normalize.Target("dBV") = 0.0
'Normalize 1Khz point to 0.0dBV.
AP.Sweep.Start
AP.Compute.Normalize.Apply
End Sub
AP.Compute.Normalize.Data Property
Description This command determines which data (1-6) the Normalize computation is to be per-
formed on. By using this command several times to select multiple data sources, sev-
eral Normalize computations can be performed in one operation.
See Also AP.Compute.Normalize.Apply
Example See example for AP.Compute.Normalize.Apply.
AP.Compute.Normalize.Horizontal Property
AP.Compute.Normalize.HorizontalUnit Method
Syntax AP.Compute.Normalize.HorizontalUnit
Result String
Description This command returns the Unit used for the Horizontal setting for the Compute Nor-
malize function.
See Also AP.Compute.Normalize.Horizontal
Example Sub Main
AP.Compute.Normalize.Data(1) = True
AP.Compute.Normalize.Horizontal("Hz") = 1000.0
Debug.Print AP.Compute.Normalize.HorizontalUnit
End Sub
Output Hz
AP.Compute.Normalize.PostSweep Property
Syntax AP.Compute.Normalize.PostSweep
Data Type Boolean
True Enable computation to be applyed after sweep.
False Disable computation after sweep.
Description This command instructs the test to perform the Normalize computation after a sweep
is complete and sets the state of the Apply After Sweep field on the Compute Nor-
malize panel.
AP2700 retains the order in which the Apply After Sweep field on the Compute pan-
els is enabled. This permits multiple computations to be performed on data from a
single test. The order of the computations is also retained in the test file.
See Also AP.Compute.Normalize.Apply
Example See example for AP.Compute.Normalize.Apply.
AP.Compute.Normalize.Target Property
AP.Compute.Normalize.TargetUnit Method
Syntax AP.Compute.Normalize.TargetUnit
Result String
Description This command returns the Unit used for the Target setting for the Compute Normal-
ize function.
See Also AP.Compute.Normalize.Target
Example Sub Main
AP.Compute.Normalize.Data(1) = True
AP.Compute.Normalize.Target("V") = 1.0
Debug.Print AP.Compute.Normalize.TargetUnit
End Sub
Output V
AP.Compute.Sigma.Apply Method
Syntax AP.Compute.Sigma.Apply
Result Boolean
True Computation performed.
False Computation NOT performed.
Description This command applies the 2-Sigma computation to the selected data (1-6).
See Also AP.Compute.Clear.All, AP.Compute.Sigma.Data, AP.Compute.
Sigma.PostSweep, AP.Compute.Sigma.Start, AP.Compute.Sigma.
Stop,
Example Sub Main
Dim status As Boolean
status = AP.Log.Enable 'Get logging condition.
AP.Log.Enable = False 'Turn logging off.
AP.File.OpenTest "SIGMA.AT2C" 'Open test.
AP.Compute.Clear.All
AP.Compute.Sigma.PostSweep = False 'Disables _
apply after sweep.
AP.Compute.Sigma.Data(1) = True 'Set data 1 for _
Compute Sigma.
AP.Compute.Sigma.Start("sec") = 6
AP.Compute.Sigma.Stop("sec") = 12
AP.Sweep.Start
AP.Compute.Sigma.Apply
AP.Log.Enable = status 'Return to initial _
logging condition.
End Sub
AP.Compute.Sigma.Data Property
AP.Compute.Sigma.PostSweep Property
Syntax AP.Compute.Sigma.PostSweep
AP.Compute.Sigma.Start Property
AP.Compute.Sigma.StartUnit Method
Syntax AP.Compute.Sigma.StartUnit
Result String
Description This command returns the Unit used for the Start setting for the Compute Sigma
function.
See Also AP.Compute.Sigma.Start, AP.Compute.Sigma.StopUnit
Example Sub Main
AP.Compute.Sigma.Data(1) = True
AP.Compute.Sigma.Start("Hz") = 0.02
Debug.Print AP.Compute.Sigma.StartUnit
End Sub
Output Hz
AP.Compute.Sigma.Stop Property
AP.Compute.Sigma.StopUnit Method
Syntax AP.Compute.Sigma.StopUnit
Result String
Description This command returns the Unit used for the Stop setting for the Compute Sigma
function.
See Also AP.Compute.Sigma.StartUnit
Example Sub Main
AP.Compute.Sigma.Data(1) = True
AP.Compute.Sigma.Stop("Hz") = 20000.0
Debug.Print AP.Compute.Sigma.StopUnit
End Sub
Output Hz
AP.Compute.Smooth.Apply Method
Syntax AP.Compute.Smooth.Apply
Result Boolean
True Computation performed.
False Computation NOT performed.
Description This command performs a running 3-point smoothing computation to the selected
data (1-6).
See Also AP.Compute.Clear.All, AP.Compute.Smooth.Data, AP.Compute.
Smooth.Passes, AP.Compute.Smooth.PostSweep
Example Sub Main
AP.File.OpenTest "SMOOTH.AT2C"
'Open test.
AP.Compute.Clear.All
AP.Compute.Smooth.Auto Property
Syntax AP.Compute.Smooth.Auto
Data Type Boolean
True Enable auto smoothing.
False Disable auto smoothing.
Description This command automatically determines the number of passes that the smoothing al-
gorithm performs on the selected data based on the number of measurements in the
data.
See Also AP.Compute.Smooth.Apply
Example See example for AP.Compute.Smooth.Apply.
AP.Compute.Smooth.Data Property
AP.Compute.Smooth.Passes Property
Syntax AP.Compute.Smooth.Passes
Data Type Long
Description This command sets the number of times the smoothing algorithm is applied to the se-
lected data.
See Also AP.Compute.Smooth.Apply, AP.Compute.Smooth.Data
Example See example for AP.Compute.Smooth.Apply.
AP.Compute.Smooth.PostSweep Property
Syntax AP.Compute.Smooth.PostSweep
Data Type Boolean
True Enable computation to be applyed after sweep.
False Disable computation after sweep.
Description This command instructs the test to perform the Smooth computation after a sweep is
complete and sets the state of the Apply After Sweep field on the Compute Smooth
panel.
AP2700 retains the order in which the Apply After Sweep field on the Compute pan-
els is enabled. This permits multiple computations to be performed on data from a
single test. The order of the computations is also retained in the test file.
See Also AP.Compute.Smooth.Apply
Example See example for AP.Compute.Smooth.Apply.
AP.Compute.Status.Id Method
AP.Compute.Status.NumOf Method
Syntax AP.Compute.Status.NumOf
Result Integer
Description This command returns the number of computations applied to the Sweep Data after
the sweep has completed.
See Also AP.Compute.Status.Id
Example See example for AP.Compute.Status.Id.
StartValue = 20
StopValue = 20000
Frequencies = 31
Counter = StartValue
Do
intAddRowToEnd = AP.Data.AddRowToEnd(0)
'Add row
AP.Data.Value(0,0,intAddRowToEnd,"Hz") = Counter
AP.Data.Value(0,1,intAddRowToEnd,"V") = 1.0
AP.Data.Value(0,2,intAddRowToEnd,"deg") = 0.0
intAddRowToEnd = AP.Data.AddRowToEnd(0)
AP.Data.Value(0,0,intAddRowToEnd,"Hz") = StopValue
AP.Data.Value(0,1,intAddRowToEnd,"V") = 1.0
AP.Data.Value(0,2,intAddRowToEnd,"deg") = 0.0
AP.Data.UpdateDisplay(0)
End Sub
AP.Data.ColLimitError Method
AP.Data.ColLowerLimitError Method
AP.Data.ColName Method
AP.Data.ColNumOf Method
Result Integer
Description This command returns the number of columns of data.
Example See example for AP.Data.ColSize.
AP.Data.ColSize Method
AP.Data.ColUnit Property
AP.Data.ColUpperLimitError Method
AP.Data.DeleteRow Method
DataSize = AP.Data.ColSize(0,0)
ReDim FreqData(DataSize)
FreqData = AP.Data.XferToArray(0,0,"Hz")
Duplicates = 0
For Count1 = DataSize - 1 To 0 Step -1
If AP.Data.Value(0,0,Count1,"Hz") = 0 Then
AP.Data.DeleteRow (0, count1)
Duplicates = Duplicates + 1
End If
Next Count1
If Duplicates > 0 Then
AP.Prompt.Text = Str$(Duplicates) & _
" Duplicate frequency(s) removed."
AP.Prompt.Show
Wait 2
AP.Prompt.Hide.
End If
End Sub
AP.Data.Id Method
File.OpenTest "ID.AT2C"
'Open test
LimitId = AP.Data.Id("LIMIT.ADL")
TableId = AP.Data.Id("TABLE.ADS")
LimitArray = AP.Data.XferToArray(LimitId, 1, "V")
TableArray = AP.Data.XferToArray(TableId, 1, "V")
Debug.Print "Limit ID # = ";LimitId
Debug.Print "Table ID # = ";TableId
End Sub
Output Limit ID # = 100
Table ID # = 101
AP.Data.InsertRowAfter Method
AP.Data.InsertRowBefore Method
AP.Data.LimitError Method
AP.Data.LowerLimitError Method
Description This command returns a positive value if any measurement is less than the lower
limit values. A zero is returned if no errors occur. The returned value defines the
number of measurements that are less than the limit.
Example Sub Main
AP.File.OpenTest "S2-FREQ.AT2C"
AP.Sweep.Start
Flag = AP.Data.LowerLimitError(0)
If Flag > 0 Then
AP.Prompt.Text = "This test Failed."
AP.Prompt.FontSize = 18
AP.Prompt.Position -1,-1,290,100
AP.Prompt.ShowWithContinue
Stop
ElseIf Flag = 0 Then
AP.Prompt.Text = "This test Passed."
AP.Prompt.FontSize = 18
AP.Prompt.Position -1,-1,290,100
AP.Prompt.ShowWithContinue
Stop
End If
End Sub
AP.Data.OptimizeDisplay Method
AP.Data.Status Property
AP.Data.UpdateDisplay Method
AP.Data.Status Property
AP.Data.UpperLimitError Method
AP.Data.Value Property
AP.Data.XferToArray Property
AP.DCX.Ch1DcOutput Property
Syntax AP.DCX.Ch1DcOutput
Data Type Boolean
True Connects the output to the front panel.
False Disconnects the output from the front panel.
Description This command sets DC Volts output 1 to ON or OFF.
Example See example for AP.DCX.Ch1DcLevel.
AP.DCX.Ch2DcLevel Property
AP.DCX.Ch2DcOutput Property
Syntax AP.DCX.Ch2DcOutput
Data Type Boolean
True Connects the output to the front panel.
False Disconnects the output from the front panel.
Description This command sets DC Volts output 2 to ON or OFF.
Example See example for AP.DCX.Ch2DcLevel.
AP.DCX.DigInFormat Property
Syntax AP.DCX.DigInFormat
Data Type Integer
0 2's Complement
1 BCD
Description This command sets the format of the digital input.
The digital ports are 21 bits plus a sign bit.
The normal format is two's complement. This format combines the bits into a 22 bit
word that follows normal two's complement conventions (-1 is represented as
3FFFFF hex).
The BCD (Binary coded decimal) format is a signed magnitude representation ( -1 is
represented as 200001 hex, -10 is 200010 hex, etc.). As is normal in the BCD for-
mat, each decimal digit is represented by 4 bits.
Example Sub Main
AP.File.OpenTest "DCX1.AT2C" 'Open test.
AP.DCX.DigOutFormat = 1 'Sets the digital _
output format to BCD.
AP.DCX.DigInRdgRate = 1 'Selects input _
strobe rate of 4/sec.
AP.DCX.DigOut("dec") = 100 'Sets the digital _
output to 100 dec.
AP.DCX.DigInFormat = 1 'Sets format of _
digital input to BCD.
Reading1 = AP.DCX.DigInRdg("dec")
'Returns a _
settled reading 100 in dec.
NewLine$ = Chr(13)
a$= "Reading1 "+Left(Str$(Reading1),6)+"dec"
b$= "Reading2 "+Left(Str$(Reading2),6)+"dec"
c$= "Reading3 "+Left(Str$(Reading3),6)+"dec"
AP.Prompt.Text = a$ + NewLine$ + b$ + NewLine$ + c$
AP.Prompt.ShowWithContinue
Beep
Stop
End Sub
AP.DCX.DigInRdg Property
AP.DCX.DigInRdgRate Property
Syntax AP.DCX.DigInRdgRate
Data Type Integer
0 External Strobe (Default).
AP.DCX.DigInReady Property
Syntax AP.DCX.DigInReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the DCX-127 Digital In settled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.DCX.DigInRdg or
AP.DCX.DigInTrig commands will zero the ready count.
If the reading is found to be ready, a call to the AP.DCX.DigInRdg command
will be guaranteed to return quickly.
See Also AP.DCX.DigInRdg, AP.DCX.DigInSettling, AP.DCX.DigInTrig
Example See example for AP.DCX.DigInFormat.
AP.DCX.DigInScale Property
Syntax AP.DCX.DigInScale
Data Type Double
Description This command sets the DCX-127 Digital Input Scale factor.
When g(x) units are selected at the Digital In display, the control software computes
the displayed value from the relationship
display = measurement * Scale (g)
where measurement is the decimal value of the binary data in the selected format
and Scale (g) is the value entered in the Scale (g) field just below the Digital In
display.
Example See example for AP.DCX.DigInFormat.
AP.DCX.DigInSettling Method
AP.DCX.DigInTrig Method
Syntax AP.DCX.DigInTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.DCX.DigInRdg command. The reading in progress is aborted.
See Also AP.DCX.DigInRdg, AP.DCX.DigInReady, AP.DCX.DigInSettling
Example See example for AP.DCX.DigInFormat.
AP.DCX.DigOut Property
AP.DCX.DigOutFormat Property
Syntax AP.DCX.DigOutFormat
Data Type Integer
0 2's Complement
1 BCD
Description This command sets the format of the digital output.
The digital ports are 21 bits plus a sign bit.
The normal format is two's complement. This format combines the bits into a 22 bit
word that follows normal two's complement conventions (-1 is represented as
3FFFFF hex).
The BCD (Binary coded decimal) format is a signed magnitude representation ( -1 is
represented as 200001 hex, -10 is 200010 hex, etc.). As is normal in the BCD for-
mat, each decimal digit is represented by 4 bits.
Example See example for AP.DCX.DigInFormat.
AP.DCX.DigOutScale Property
Syntax AP.DCX.DigOutScale
Data Type Double
Description When h(x) units are selected at the Digital Output control field, the control software
computes the actual transmitted value from the relationship
output value = entry value* Scale (h)
where entry value is the decimal value entered into the Digital Out numeric field
and Scale (h) is the value entered in the Scale (h) field just below the Digital Out
control field.
Example See example for AP.DCX.DigInFormat.
AP.DCX.DmmMode Property
Syntax AP.DCX.DmmMode
Data Type Integer
0 OFF: This command disconnects the DMM from the front
panel jacks.
This allows the DMM to be wired to the circuit under test
yet not be connected until needed. This is so that there is
no possibility of the DMM input characteristics degrading
the results of any other measurements being made by the
instrument.
1 DC Volts
2 Ohms
Description This command sets the DMM measurement mode.
Example Sub Main
AP.File.OpenTest "DCX1.AT2C" 'Open test.
AP.DCX.DmmRange = 2.0 'set DMM input to _
2 Volt range.
AP.DCX.DmmMode = 1 'set DMM mode to volts.
AP.DCX.DmmRdgRate = 0 'set DMM reading rate to 6 _
readings per second.
AP.DCX.DmmSettling(1, .20, "Vdc", 3, .03, 0) 'Set _
settling parameters.
Do
Ready = AP.DCX.DmmReady
Loop Until Ready > 0 'Loop until new reading
is ready
Reading1 = AP.DCX.DmmRdg("Vdc") 'Returns a _
settled reading.
NewLine$ = Chr(13)
a$= "DMM Reading "+Left(Str$(Reading1),6)+"Vdc"
AP.Prompt.Text = a$ + NewLine$
AP.Prompt.ShowWithContinue
Beep
Stop
End Sub
Comment This macro sets the DMM to volts, selects 2 Volt range, sets the reading rate, sets set-
tling, triggers a New reading, waits For the New reading, and stores it In a variable
called Reading1.
AP.DCX.DmmOffset Property
Syntax AP.DCX.DmmOffset
Data Type Double
Description When f(V) (function of Volts) or f(O) (function of Ohms) units are selected for the
DMM, the control software computes the value to display from the formula
display = (measurement + Offset) * Scale
The measurement term is the value which would be displayed in Volts or Ohms
units. The Offset and Scale values are the contents of the fields with those names, at
the top right of the DCX panel.
See Also AP.DCX.DmmScale
Example See example for AP.DCX.DmmMode.
AP.DCX.DmmRange Property
Syntax AP.DCX.DmmRange
Data Type Double
Description This command sets the DMM's input range and returns the nominal full scale of
range in use.
The ranges for Ohms mode are:
2M, 200k, 20k, 2k, 200 Ohms
The ranges for Volts mode are:
500, 200, 20, 2.0, 0.2 Volts
A common use of this command is in fixing the input range by obtaining the range
and then using that value for this command.
AP.DCX.DmmRangeAuto Property
Syntax AP.DCX.DmmRangeAuto
Data Type Boolean
True Auto range
False Fixed range
Description This command sets the DCX-127 DMM input to Auto Range or Fixed Range. Care
must be taken when using Fixed range that the input signal does not exceed the se-
lected range.
See Also AP.DCX.DmmRange
Example Sub Main
AP.File.OpenTest "DCX1.AT2C"
'Open test.
AP.DCX.DmmRangeAuto = 1 'set DMM input to auto _
range.
AP.DCX.DmmMode = 1 'set DMM mode to volts.
AP.DCX.DmmRdgRate = 1 'set DMM reading rate to _
25 readings per second.
AP.DCX.DmmScale = 2
AP.DCX.DmmOffset = 1
AP.DCX.DmmSettling(1, .20, "Vdc", 3, .03, 0) 'Set _
settling parameters.
AP.DCX.DmmTrig 'Trigger a new reading.
Do
Ready = AP.DCX.DmmReady
Loop Until Ready > 0 'Loop until new reading is _
ready.
Reading1 = AP.DCX.DmmRdg("f(v)") 'Returns _
a settled reading.
NewLine$ = Chr(13)
a$= "DMM Reading "+Left(Str$(Reading1),6)+"f(V)"
AP.Prompt.Text = a$ + NewLine$
AP.Prompt.ShowWithContinue
Beep
Stop
End Sub
AP.DCX.DmmRdg Property
AP.DCX.DmmRdgRate Property
Syntax AP.DCX.DmmRdgRate
Data Type Integer
0 6 readings per second.
1 25 readings per second.
Description This command sets the DMM reading rate.
Example See example for AP.DCX.DmmMode.
AP.DCX.DmmReady Property
Syntax AP.DCX.DmmReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the DCX-127 DMM settled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.DCX.DmmRdg or AP.
DCX.DmmTrig commands will zero the ready count.
If the reading is found to be ready, a call to the AP.DCX.DmmRdg command will
be guaranteed to return quickly.
See Also AP.DCX.DmmRdg, AP.DCX.DmmSettling, AP.DCX.DmmTrig
Example See example for AP.DCX.DmmMode.
AP.DCX.DmmScale Property
Syntax AP.DCX.DmmScale
Data Type Double
Description When f(V) (function of Volts) or f(O) (function of Ohms) units are selected for the
DMM, the control software computes the value to display from the following for-
mula:
display = (measurement + Offset) * Scale
The measurement term is the value which would be displayed in Volts or Ohms
units. The Offset and Scale values are the contents of the fields with those names, at
the top right of the DCX panel.
See Also AP.DCX.DmmOffset
Example See example for AP.DCX.DmmRangeAuto.
AP.DCX.DmmSettling Method
AP.DCX.DmmTrig Method
Syntax AP.DCX.DmmTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.DCX.DmmRdg command. The reading in progress is aborted.
See Also AP.DCX.DmmRdg, AP.DCX.DmmReady, AP.DCX.DmmSettling
Example See example for AP.DCX.DmmMode.
AP.DCX.GateDelay Property
Syntax AP.DCX.GateDelay
Data Type Double Valid settings are from 0.05 to 12.75 sec.
Description This command sets the delay time for the delayed sweep gate, pin #1 on the DCX-
127 Program Control Output port transitions low after the defined delay.
Note: When using long delays the sweep duration must be longer than the pro-
grammed delay for pin #1 to respond.
Example Sub Main
AP.Application.NewTest
AP.Application.PanelOpen apbPanelDCXLarge
'Program Sweep Gate to transition low 100m sec after
sweep start.
AP.Dcx.GateDelay = 0.1
AP.Gen.Output = True
AP.Anlr.ChAInput = 2
AP.Sweep.Start
End Sub
AP.DCX.PortAOutput Property
AP.DCX.PortBOutput Property
AP.DCX.PortCOutput Property
Data Type Long The number can be from 0 to 255. Larger numbers are
truncated to 8 bits. The return value can only be a decimal
value.
Parameters Part Description
Unit The following units are available: dec, hex, oct.
Description This command sets DCX-127 Port C 8-bit output value.
Example See example for AP.DCX.PortAOutput.
AP.DCX.PortDOutput Property
Syntax AP.DGen.AutoOn
Data Type Boolean
True ON, Auto On feature active.
False OFF, Auto On feature disabled.
Description This command enables the Auto On feature for the Digital Generator. Auto on
switches the generator output on when a sweep starts, and off when a sweep termi-
nates.
See Also AP.DGen.Output, AP.Gen.AutoOn
AP.DGen.BurstInterval Property
Level = AP.DGen.BurstLevel("%")
Debug.Print "Burst Interval =";Interval;" cycles."
Debug.Print "Burst ON time =";Ontime;" cycles."
Debug.Print "Burst OFF time low level =";Level;" %."
End Sub
Output Burst Interval = 10 cycles.
Burst ON time = 5 cycles.
Burst OFF time low level = 1 %.
AP.DGen.BurstLevel Property
AP.DGen.BurstOnTime Property
AP.DGen.ChAAmpl Property
With AP.S2CDsp.Analyzer
Do While (.ChALevelReady = False) Or _
(.ChBLevelReady = False) Or _
(.ChAFreqReady = False) Or _
(.ChBFreqReady = False)
Loop
msg = "Ch A Level = " & Format(.ChALevelRdg("V"), _
"#.00") & Chr(13)
msg = msg & "Ch B Level = " & _
Format(.ChBLevelRdg("V"), "#.00") & Chr(13)
msg = msg & "Ch A Freq = " & _
Format(.ChAFreqRdg("Hz"), "#.00") & Chr(13)
msg = msg & "Ch B Freq = " & _
Format(.ChBFreqRdg("Hz"), "#.00")
End With
AP.Prompt.Text = msg
AP.Prompt.ShowWithContinue
Stop
End Sub
AP.DGen.ChAEqAmpl Property
AP.Sweep.Data1.Id = 6014
AP.Sweep.Data1.Top("dBFS") = 0.0
AP.Sweep.Data1.Bottom("dBFS") = -25.0
AP.Sweep.Source1.Id = 5102
AP.Sweep.Stereo = True 'Stereo Sweep
AP.Sweep.Start 'Start Sweep
End Sub
AP.DGen.ChAFreq Property
AP.DGen.ChAInvert Property
Syntax AP.DGen.ChAInvert
Data Type Boolean
True Invert channel A output.
False Normal non-inverting output.
Description This command sets output A to normal polarity or inverted polarity (180 degrees out
of phase).
See Also AP.DGen.ChBInvert
Example See example for AP.DGen.ChAAmpl.
AP.DGen.ChAOutput Property
Syntax AP.DGen.ChAOutput
Data Type Boolean
True ON
False OFF
Description This command sets the Digital Generator Output A to ON or OFF.
The command returns a TRUE if the output is ON and FALSE if the output is OFF.
See Also AP.DGen.ChBOutput
Example See example for AP.DGen.ChAAmpl.
AP.DGen.ChBAmpl Property
AP.DGen.ChBEqAmpl Property
AP.DGen.ChBFreq Property
AP.DGen.ChBInvert Property
Syntax AP.DGen.ChBInvert
Data Type Boolean
True Invert channel B output.
False Normal non-inverting output.
Description This command sets output B to normal polarity or inverted polarity (180 degrees out
of phase with normal polarity).
See Also AP.DGen.ChAInvert
Example See example for AP.DGen.ChAAmpl.
AP.DGen.ChBOutput Property
Syntax AP.DGen.ChBOutput
Data Type Boolean
True ON
False OFF
Description This command sets the Digital Generator output B to ON or OFF.
The command returns a TRUE if the output is ON and a FALSE if the output is
OFF.
See Also AP.DGen.ChAOutput
Example See example for AP.DGen.ChAAmpl.
AP.DGen.ChBTrackA Property
Syntax AP.DGen.ChBTrackA
Data Type Boolean
True ON, channel B amplitude tracks channel A amplitude.
False OFF, channel B amplitude independent of channel A.
Description This command sets the Digital Generator channel B amplitude to the same ampli-
tude as set for channel A.
See Also AP.DGen.ChAAmpl, AP.DGen.ChBAmpl
Example See example for AP.DGen.ChAAmpl.
AP.DGen.DitherType Property
Syntax AP.DGen.DitherType
Data Type Integer
0 Triangular: The Triangular probability function dither has
no noise modulation effect but produces a slightly worse
output signal to noise ratio since its maximum amplitude
is one LSB. This is normally the preferred choice.
1 Rectangular: The Rectangular probability function dither
provides the best signal to noise due to its one-half LSB
amplitude, but suffers from modulation noise effects.
2 Shaped: This is the triangular probability distribution noise
with a rising 6 dB/octave slope. This places most of the
dither power at higher frequencies where some falls out of
band of most devices and where the human hearing
system is less sensitive.
3 None
Description This command sets the Digital Generator Dither Type.
Dither amplitude is automatically set corresponding to the LSB of the value selected
in the Output Resolution field or by the AP.S2Dio.OutResolution command.
Dither is random noise of one-half LSB (rectangular) or one LSB (triangular) in am-
plitude, added to the digital output to improve linearity, reduce distortion, and ex-
tend the dynamic range downwards below the theoretical undithered value. The
amplitude at which dither is added is determined by the value entered in the Output
Resolution field or by the AP.S2Dio.OutResolution command.
Example See example for AP.DGen.ChAAmpl.
AP.DGen.DualAmplRatio Property
AP.DGen.EqCurve Method
Syntax AP.DGen.EqCurveFilename
Data Type Integer Any valid DOS filename and extension.
Description This command returns the File Name of the attached file used for the Digital Genera-
tor EqCurve waveform selection.
See Also AP.DGen.EqCurve, AP.DGen.EqCurveColumn
AP.DGen.Freq Property
AP.DGen.IMCenterFreq Property
AP.DGen.IMFreq Property
AP.DGen.IMHighFreq Property
AP.DGen.MlsLength Property
Syntax AP.DGen.MlsLength
Data Type Integer
0 32k
1 128k
Description This command sets the Digital Genrator MLS sequence length.
See Also AP.Gen.MlsLength
Example Sub Main
AP.DGen.MlsLength = 1
'Sets the MLS sequence length to 128k
End Sub
AP.DGen.Offset Property
AP.DGen.Output Property
Syntax AP.Gen.Output
Data Type Boolean
True ON
False OFF
Description This command sets the Digital Generator channel A and B outputs to ON or OFF if
they have been individually enabled by the AP.DGen.ChAOutput and AP.
DGen.ChBOutput commands.
See Also AP.DGen.ChAOutput, AP.DGen.ChBOutput
Example See example for AP.DGen.ChAAmpl.
AP.DGen.Phase Property
AP.Application.PanelClose apbPanelAnalogGenSmall
AP.Application.PanelOpen apbPanelDigitalGenSmall
AP.DGen.Wfm 0, 2
AP.DGen.Phase("deg") = 90.000000
AP.DGen.Output = True
'Send digital signal through D/A converter.
AP.Sweep.Data1.Id = 5905
AP.Sweep.SinglePoint = True
AP.Sweep.Start
Debug.Print "Channel B is " & Format(AP.Data.
Value(0,1,0,"deg"),"##.000") & " deg relative to channel A"
End Sub
Output Channel B is 89.994 deg relative to channel A.
AP.DGen.RefdBr Property
AP.DGen.RefFreq Property
AP.DGen.RefVFS Property
AP.DGen.StepRate Property
Syntax AP.DGen.StepRate
Data Type Double
Description This command sets the rate at which the Digital Generator Special Walking Ones,
and Walking Zeros waveform changes state. If the AP.DGen.StepRate com-
mand is set to 5 the Digital Generator will output five words with the same bit pat-
tern and then change to the next bit pattern.
See Also AP.DGen.Wfm
AP.DGen.Wfm Method
4 DIM B
5 SMPTE/DIN 1:1
3 Noise
0 Pink
1 White
2 Burst USASI
4 Special
0 Monotonicity
1 J-Test
2 Polarity
3 Walking Ones
4 Walking Zeros
5 Constant Value
6 Bittest Random
7 Pass Thru
5 MLS
0 Pink #1
1 Pink #2
2 Pink #3
3 Pink #4
4 White #1
5 White #2
6 White #3
7 White #4
6 Arb Wfm
Description This command sets the Digital Generator waveform. The table above shows the pos-
sible settings for the AP.DGen.Wfm command.
Example See example for AP.DGen.WfmName.
AP.DGen.WfmName Property
Syntax AP.DGen.WfmName
Data Type String Long Path and File Names permitted up to 128
characters.
Description This command loads the designated arbitrary waveform file (.AGM or .AGS) into
the Digital Generator. A Mono waveform (.AGM) is loaded into both the 1 and 2
generator buffers.
Buffer 1 : This buffer is associated with the DSP channel 1.
Buffer 2 : This buffer is associated with the DSP channel 2.
Note: This command can also be used to control the Analog Generator arbitrary
waveform file selection.
See Also AP.DGen.Wfm
Example Sub Main
AP.Application.NewTest
AP.Application.PanelClose apbPanelAnalogGenSmall
AP.Application.PanelClose apbPanelAnlrSmall
AP.Application.PanelOpen apbPanelDigitalGenSmall
AP.Application.PanelOpen apbPanelDSPSmall
'Load Digital Analyzer (Multitone Audio Analyzer)
AP.S2CDsp.Program = 4
AP.Application.PanelOpen apbPanelDigIOSmall
'Select Gen Mon on the Digital I/O panel to route the
' Digital generator directly To the Digital Analyzer.
AP.S2Dio.InFormat = 3
AP.DGen.Wfm 6 'Select arbitrary waveform
AP.DGen.WfmName = AP.Application.WorkingDir & _
"Iso31.agm"
AP.DGen.Output = True 'Digital Generator Output ON
'Set up Sweep panel to display test data.
AP.Application.PanelOpen apbPanelSweepSmall
AP.Sweep.Data1.Id = 6309
AP.Sweep.Data1.Top("dBFS") = 0.000000
AP.Sweep.Source1.Id = 5621
AP.Sweep.Source1.Steps = 200
AP.Sweep.Stereo = True
AP.IEC61937.DataType Property
Syntax AP.IEC61937.DataType
Data Type Constant Description
apbDataTypeIdle No data-bursts or null data-bursts
apbDataTypePause Pause data-bursts
apbDataTypeDolby
Digital Dolby Digital (AC-3) audio data-bursts
Description This command selects the Data-type (the format of the burst-payload) for the IEC
61937 encoder: When the interface is idle, it may carry no data-bursts, or null data-
bursts; when the interface is not idle, it may carry pause data-bursts or audio data-
bursts. This command also sets the data-type field in the burst-info preamble to the
same data-type, unless overridden by AP.IEC61937.Preambles.DataTypeMode.
See Also AP.IEC61937.Preambles.DataTypeMode
AP.IEC61937.Delay Property
Syntax AP.IEC61937.Delay
Data Type Boolean
True ON; settling algorithm takes encoding delay into account
False OFF; settling algorithm takes no account of encoding
delay
Description Stimulus signals passed through the Dolby Digital Generator will be delayed
slightly by the encoding process, compared to unencoded signals; the amount of de-
lay varies and is dependent upon control software settings. When True, this com-
mand applies an additional waiting period (in the range of 100 ms) to the sweep
settling algorithm to account for the delay, ensuring that the data are fully settled be-
fore measurement.
AP.IEC61937.DolbyDigital.AudioService.acmod Property
Syntax AP.IEC61937.DolbyDigital.AudioService.acmod
AP.IEC61937.DolbyDigital.AudioService.bsmod Property
Syntax AP.IEC61937.DolbyDigital.AudioService.bsmod
Data Type Constant Description
apbCM main audio service: complete main (CM)
apbME main audio service: music and effects (ME)
apbVI associated service: visually impaired (VI)
apbHI associated service: hearing impaired (HI)
apbDialogue associated service: dialogue (D)
apbCommentary associated service: commentary (C)
apbEmergency associated service: emergency (E)
apbKaraoke main audio service: karaoke
Description bsmod is a Dolby Digital control term, an abbreviation for “bitstream mode.”
bsmod indicates the type of service that the bitstream conveys.
See Also AP.IEC61937.DolbyDigital.LevelOfControl
AP.IEC61937.DolbyDigital.AudioService.dialnorm Property
AP.IEC61937.DolbyDigital.AudioService.dialnorm2 Property
AP.IEC61937.DolbyDigital.AudioService.frmsizecod Property
Syntax AP.IEC61937.DolbyDigital.AudioService.frmsizecod
Data Type Constant
Parameters Name Description
apb56kbps 56 kbps. 1/0 audio coding mode only.
apb64kbps 64 kbps. 1/0 audio coding mode only.
apb80kbps 80 kbps. 1/0 audio coding mode only.
apb96kbps 96 kbps. 1/0, 2/0 and 1+1 audio coding modes only.
apb112kbps 112 kbps. 1/0, 2/0 and 1+1 audio coding modes only.
apb128kbps 128 kbps. 1/0, 2/0, 3/0 and 1+1 audio coding modes only.
apb160kbps 160 kbps. 1/0, 2/0, 3/0 and 1+1 audio coding modes only.
apb192kbps 192 kbps. 1/0, 2/0, 3/0, 3/1 and 1+1 audio coding modes
only.
apb224kbps 224 kbps. All audio coding modes.
apb256kbps 256 kbps. All audio coding modes.
apb320kbps 320 kbps. All audio coding modes.
apb320kbps 320 kbps. All audio coding modes.
apb448kbps 448 kbps. All audio coding modes.
apb512kbps 512 kbps. All audio coding modes.
apb576kbps 576 kbps. All audio coding modes.
apb640kbps 640 kbps. All audio coding modes.
Description frmsizecod is a Dolby Digital control term, an abbreviation for “frame size code.”
frmsizecod is used along with fscod to determine the number of (2-byte) words be-
fore the next syncword. The range of available selections varies with acmod setting.
For detailed information see the Frame Size Code table in the ATSC Standard docu-
ment A/52A.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.AudioService.acmod,
AP.IEC61937.DolbyDigital.AudioService.fscod,
AP.IEC61937.DolbyDigital.AudioService.fscodmode
AP.IEC61937.DolbyDigital.AudioService.fscod Property
Syntax AP.IEC61937.DolbyDigital.AudioService.fscod
Data Type Constant Description
apb32K fscod set to 32.0 kHz
apb44_1K fscod set to 44.1 kHz
apb48K fscod set to 48.0 kHz
Description fscod is a Dolby Digital control term, an abbreviation for “sampling frequency (Fs)
code.” The fscod field in the bitstream indicates the sampling frequency of the PCM
audio before encoding, and in conjunction with frmsizecod determines the encoded
frame size. fscod can be set to a fixed value when fscod mode is set to Override.
This setting is only available at Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.AudioService.fscodmode,
AP.IEC61937.DolbyDigital.AudioService.frmsizecod
AP.IEC61937.DolbyDigital.AudioService.fscodmode Property
Syntax AP.IEC61937.DolbyDigital.AudioService.fscodmode
Data Type Constant Description
apbFscodAuto fscod is automatically set
apbFscodOverride fscod is overridden by setting in fscod
Description fscod mode selects whether fscod is automatically set, or whether the user can over-
ride the automatic setting with a fixed setting. This setting is only available at Ex-
pert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.AudioService.fscod and
AP.IEC61937.DolbyDigital.AudioService.frmsizecod
AP.IEC61937.DolbyDigital.AudioService.lfeon Property
Syntax AP.IEC61937.DolbyDigital.AudioService.lfeon
Data Type Constant Description
apbOff LFE channel OFF
apbOn LFE channel ON
Description lfeon is a Dolby Digital control term, an abbreviation for “low frequency effects
on”. This field indicates whether or not the LFE channel (subwoofer) is ON or OFF.
At Expert level, lfeon can be switched ON or OFF independent of the audio coding
mode (acmod). At Normal and Advanced levels, lfeon is forced OFF for audio cod-
ing modes 1/0 and 2/0.
See Also AP.IEC61937.DolbyDigital.LevelOfControl
AP.IEC61937.DolbyDigital.Bitstream.audprodi2e Property
Syntax AP.IEC61937.DolbyDigital.Bitstream.audprodi2e
Data Type Constant Description
apbOff Bit set to 0; no audio production information for Ch2
apbOn Bit set to 1; audio production information for Ch2 exists
Description audprodi2e is a Dolby Digital control term. audprodi2e has the same meaning as
audprodie, except that it applies to the second audio channel when acmod indicates
two independent channels (dual mono 1+1 mode). This setting is only available at
Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.Bitstream.audprodie,
AP.IEC61937.DolbyDigital.AudioService.acmod
AP.IEC61937.DolbyDigital.Bitstream.audprodie Property
Syntax AP.IEC61937.DolbyDigital.Bitstream.audprodie
Data Type Constant Description
apbOff Bit set to 0; no audio production information
apbOn Bit set to 1; audio production information exists
Description audprodie is a Dolby Digital control term, an abbreviation for “audio produc-
tion information exists.” When this bit is a 1, the mixlevel and roomtyp words
exist. This setting is only available at Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl, AP.IEC61937.
DolbyDigital.Bitstream.mixlevel, AP.IEC61937.DolbyDigital.
Bitstream.roomtyp
AP.IEC61937.DolbyDigital.Bitstream.cmixlev Property
AP.IEC61937.DolbyDigital.Bitstream.copyrightb Property
Syntax AP.IEC61937.DolbyDigital.Bitstream.copyrightb
Data Type Constant Description
apbOff No indication of copyright protection
apbOn Indication of copyright protection
Description copyrightb is a Dolby Digital control term, an abbreviation for “copyright bit.”
When this bit is 1 (On), the information in the bitstream is indicated as protected by
copyright. It has a value of 0 (Off) if the information is not indicated as protected.
See Also AP.IEC61937.DolbyDigital.LevelOfControl
AP.IEC61937.DolbyDigital.Bitstream.dsurmod Property
Syntax AP.IEC61937.DolbyDigital.Bitstream.dsurmod
Data Type Constant Description
apbDolbySurNot
Indicated Dolby Surround mode not indicated
apbNotDolbySurEncoded Not Dolby Surround encoded
apbDolbySurEncoded Dolby Surround encoded
apbDolbySurReserved Reserved
Description dsurmod is a Dolby Digital control term, an abbreviation for “Dolby Surround
mode.” When acmod is 2/0, this field indicates whether or not the stereo channels
are Dolby Surround encoded or not. The “reserved” value of this setting is only
available at Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl
AP.IEC61937.DolbyDigital.Bitstream.langcod Property
Syntax AP.IEC61937.DolbyDigital.Bitstream.langcod
Data Type Long
Description lancod is a Dolby Digital control term, an abbreviation for “language code.” This is
an 8-bit reserved value. At Expert level when langcode is set to On, langcod can be
set to a fixed value in the range 0 through 255.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.Bitstream.langcode
AP.IEC61937.DolbyDigital.Bitstream.langcod2 Property
Syntax AP.IEC61937.DolbyDigital.Bitstream.langcod2
Data Type Long
Description langcod2 is a Dolby Digital control term. langcod2 has the same meaning as
langcod, except that it applies to the second audio channel when acmod indicates
two independent channels (dual mono 1+1 mode). This setting is only available at
Expert level when langcod2e is On..
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.Bitstream.langcod2e,
AP.IEC61937.DolbyDigital.AudioService.acmod
AP.IEC61937.DolbyDigital.Bitstream.langcod2e Property
Syntax AP.IEC61937.DolbyDigital.Bitstream.langcod2e
Data Type Constant Description
apbOff Bit set to 0; no language code information for Ch2
apbOn Bit set to 1; language code information for Ch2 exists
Description langcod2e is a Dolby Digital control term. langcod2e has the same meaning as
langcode, except that it applies to the second audio channel when acmod indicates
two independent channels (dual mono 1+1 mode). This setting is only available at
Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.Bitstream.langcode,
AP.IEC61937.DolbyDigital.AudioService.acmod
AP.IEC61937.DolbyDigital.Bitstream.langcode Property
Syntax AP.IEC61937.DolbyDigital.Bitstream.langcode
Data Type Constant Description
apbOff Bit set to 0; no language code information
apbOn Bit set to 1; language code information exists
Description langcode is a Dolby Digital control term, an abbreviation for “language code ex-
ists”. When this bit is a 1, the next 8 bits represent a language code word langcod.
This setting is only available at Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.Bitstream.langcod
AP.IEC61937.DolbyDigital.Bitstream.mixlevel Property
Description mixlevel is a Dolby Digital control term, an abbreviation for “mixing level.” This
field indicates the absolute acoustic sound pressure level of an individual channel
during the final mixing session. The available values are 0 to 31. The peak mixing
level represented is (80 + mixlevel) dB SPL. This setting is only available when
audprodie is set to On.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.Bitstream.audprodie
AP.IEC61937.DolbyDigital.Bitstream.mixlevel2 Property
AP.IEC61937.DolbyDigital.Bitstream.origbs Property
Syntax AP.IEC61937.DolbyDigital.Bitstream.origbs
Data Type Constant Description
apbOff Not indicated as an original bitstream
apbOn Indicated as an original bitstream
Description origbs is a Dolby Digital control term, an abbreviation for “original bitstream.” This
bit is 1 (On) if this is an original bitstream. The bit is has a value of 0 (Off) it this is
a copy of another bitstream.
See Also AP.IEC61937.DolbyDigital.LevelOfControl
AP.IEC61937.DolbyDigital.Bitstream.roomtyp Property
Syntax AP.IEC61937.DolbyDigital.Bitstream.roomtyp
Data Type Constant Description
apbRoomNotIndicated Final mix room type not indicated
apbLargeRoom Final mix performed in large room
apbSmallRoom Final mix performed in small room
AP.IEC61937.DolbyDigital.Bitstream.roomtyp2 Property
Syntax AP.IEC61937.DolbyDigital.Bitstream.roomtyp2
Data Type Constant Description
apbRoomNotIndicated Final mix room type not indicated for Ch2
apbLargeRoom Final mix for Ch2 performed in large room
apbSmallRoom Final mix for Ch2 performed in small room
apbReserved Final mix room type for Ch2 reserved
Description roomtyp2 is a Dolby Digital control term. roomtyp2 has the same meaning as
roomtyp, except that it applies to the second audio channel when acmod indicates
two independent channels (dual mono 1+1 mode). This setting is only available at
Expert level when audprodi2e is On.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.Bitstream.roomtyp,
AP.IEC61937.DolbyDigital.Bitstream.audprodi2e,
AP.IEC61937.DolbyDigital.AudioService.acmod
AP.IEC61937.DolbyDigital.Bitstream.surmixlev Property
AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.C Property
Syntax AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.C
Data Type Long
Description The Dolby Digital Follow Switcher Inputs routing controls select the mapping
of the DUT output channels to the desired Audio Precision input Switcher as-
signment. This enables the Dolby Digital encoder input assignments to track
swept switcher assignments. AP.IEC61937.DolbyDigital.ChannelRouting.
FollowSwitcher.C maps the Dolby Digital C channel to the switcher channel in-
dicated here. Range of switcher channels is typically 1 to 16, although when
multiple switchers are used the range can be from 1 to 192.
See Also AP.IEC61937.DolbyDigital.LevelOfControl, AP.SWR.Mode
AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.DGenCh1
Get Property
Syntax AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.
DGenCh1
Data Type String
Description Returns the Dolby Digital encoder input channel currently being driven by the Digi-
tal Generator output channels for DGenCh1. Strings returned are L (left), C (center),
R (right), LS (left surround), RS (right surround) and Sub (LFE/Subwoofer).
See Also AP.IEC61937.DolbyDigital.LevelOfControl, AP.SWR.Mode
AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.DGenCh2
Get Property
Syntax AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.
DGenCh2
Data Type String
Description Returns the Dolby Digital encoder input channel currently being driven by the Digi-
tal Generator output channels for DGenCh2. Strings returned are L (left), C (center),
R (right), LS (left surround), RS (right surround) and Sub (LFE/Subwoofer).
See Also AP.IEC61937.DolbyDigital.LevelOfControl, AP.SWR.Mode
AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.L Property
Syntax AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.L
Data Type Long
Description The Dolby Digital Follow Switcher Inputs routing controls select the mapping
of the DUT output channels to the desired Audio Precision input Switcher as-
signment. This enables the Dolby Digital encoder input assignments to track
swept switcher assignments. AP.IEC61937.DolbyDigital.ChannelRouting.
FollowSwitcher.L maps the Dolby Digital L channel to the switcher channel in-
AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.LS Property
Syntax AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.LS
Data Type Long
Description The Dolby Digital Follow Switcher Inputs routing controls select the mapping
of the DUT output channels to the desired Audio Precision input Switcher as-
signment. This enables the Dolby Digital encoder input assignments to track
swept switcher assignments. AP.IEC61937.DolbyDigital.ChannelRouting.
FollowSwitcher.LS maps the Dolby Digital LS channel to the switcher channel
indicated here. Range of switcher channels is typically 1 to 16, although when
multiple switchers are used the range can be from 1 to 192.
See Also AP.IEC61937.DolbyDigital.LevelOfControl, AP.SWR.Mode
AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.Mode Property
Syntax AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.Mode
Data Type Constant Description
apbCh2AllExceptCh1 DGen Ch 2 assigned to all Dolby Digital encoder inputs,
except the input currently assigned to Ch 1 by sweep
activity.
apbCh2Independent
FromCh1 DGen Ch 2 assignment to Dolby Digital encoder inputs
independent from Ch 1 assignments.
Description The Dolby Digital Follow Switcher Inputs routing controls select the relation-
ship between the Dolby Digital encoder input routing and the swept routing of
the Audio Precision input Switcher used to matrix the DUT outputs into the Ana-
lyzer inputs.
See Also AP.IEC61937.DolbyDigital.LevelOfControl, AP.SWR.Mode
AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.R Property
Syntax AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.R
Data Type Long
Description The Dolby Digital Follow Switcher Inputs routing controls select the mapping
of the DUT output channels to the desired Audio Precision input Switcher as-
signment. This enables the Dolby Digital encoder input assignments to track
swept switcher assignments. AP.IEC61937.DolbyDigital.ChannelRouting.
FollowSwitcher.R maps the Dolby Digital R channel to the switcher channel in-
AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.RS Property
Syntax AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.RS
Data Type Long
Description The Dolby Digital Follow Switcher Inputs routing controls select the mapping
of the DUT output channels to the desired Audio Precision input Switcher as-
signment. This enables the Dolby Digital encoder input assignments to track
swept switcher assignments. AP.IEC61937.DolbyDigital.ChannelRouting.
FollowSwitcher.RS maps the Dolby Digital RS channel to the switcher channel
indicated here. Range of switcher channels is typically 1 to 16, although when
multiple switchers are used the range can be from 1 to 192.
See Also AP.SWR.Mode
AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.Sub Property
Syntax AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher.Sub
Data Type Long
Description The Dolby Digital Follow Switcher Inputs routing controls select the mapping
of the DUT output channels to the desired Audio Precision input Switcher as-
signment. This enables the Dolby Digital encoder input assignments to track
swept switcher assignments. AP.IEC61937.DolbyDigital.ChannelRouting.
FollowSwitcher.Sub maps the Dolby Digital LFE (Sub) channel to the switcher
channel indicated here. Range of switcher channels is typically 1 to 16, al-
though when multiple switchers are used the range can be from 1 to 192.
See Also AP.IEC61937.DolbyDigital.LevelOfControl, AP.SWR.Mode
AP.IEC61937.DolbyDigital.ChannelRouting.Normal.AllChannels Property
Syntax AP.IEC61937.DolbyDigital.ChannelRouting.Normal.
AllChannels(ByVal ch As Constant)
Data Type Constant
Parameters Name Description
ch apbNormalCh1 = sets all encoder inputs to Digital
Generator Ch1
apbNormalCh2 = sets all encoder inputs to Digital
Generator Ch2
apbNormalOff = sets all encoder inputs to No Signal
Description The Dolby Digital Normal routing controls select the generator signal to be applied
to each of the six Dolby Digital encoder inputs (L, C, R, LS, RS, LFE). Options are
Digital Generator Ch 1 Out, Digital Generator Ch 2 Out, and Off (no signal con-
nected to encoder input).
See Also AP.IEC61937.DolbyDigital.LevelOfControl, AP.SWR.Mode
AP.IEC61937.DolbyDigital.ChannelRouting.Normal.C Property
Syntax AP.IEC61937.DolbyDigital.ChannelRouting.Normal.C
Data Type Constant Description
apbNormalCh1 sets encoder C input to Digital Generator Ch1
apbNormalCh2 sets encoder C input to Digital Generator Ch2
apbNormalOff sets encoder C input to No Signal
Description The Dolby Digital Normal routing controls select the generator signal to be applied
to each of the six Dolby Digital encoder inputs (L, C, R, LS, RS, LFE). Options are
Digital Generator Ch 1 Out, Digital Generator Ch 2 Out, and Off (no signal con-
nected to encoder input).
See Also AP.IEC61937.DolbyDigital.LevelOfControl, AP.SWR.Mode
AP.IEC61937.DolbyDigital.ChannelRouting.Normal.L Property
Syntax AP.IEC61937.DolbyDigital.ChannelRouting.Normal.L
Data Type Constant Description
apbNormalCh1 sets encoder L input to Digital Generator Ch1
apbNormalCh2 sets encoder L input to Digital Generator Ch2
apbNormalOff sets encoder L input to No Signal
Description The Dolby Digital Normal routing controls select the generator signal to be applied
to each of the six Dolby Digital encoder inputs (L, C, R, LS, RS, LFE). Options are
Digital Generator Ch 1 Out, Digital Generator Ch 2 Out, and Off (no signal con-
nected to encoder input).
See Also AP.IEC61937.DolbyDigital.LevelOfControl, AP.SWR.Mode
AP.IEC61937.DolbyDigital.ChannelRouting.Normal.LS Property
Syntax AP.IEC61937.DolbyDigital.ChannelRouting.Normal.LS
Data Type Constant Description
apbNormalCh1 sets encoder LS input to Digital Generator Ch1
apbNormalCh2 sets encoder LS input to Digital Generator Ch2
apbNormalOff sets encoder LS input to No Signal
Description The Dolby Digital Normal routing controls select the generator signal to be applied
to each of the six Dolby Digital encoder inputs (L, C, R, LS, RS, LFE). Options are
Digital Generator Ch 1 Out, Digital Generator Ch 2 Out, and Off (no signal con-
nected to encoder input).
AP.IEC61937.DolbyDigital.ChannelRouting.Normal.R Property
Syntax AP.IEC61937.DolbyDigital.ChannelRouting.Normal.R
Data Type Constant Description
apbNormalCh1 sets encoder R input to Digital Generator Ch1
apbNormalCh2 sets encoder R input to Digital Generator Ch2
apbNormalOff sets encoder R input to No Signal
Description The Dolby Digital Normal routing controls select the generator signal to be applied
to each of the six Dolby Digital encoder inputs (L, C, R, LS, RS, LFE). Options are
Digital Generator Ch 1 Out, Digital Generator Ch 2 Out, and Off (no signal con-
nected to encoder input).
See Also AP.IEC61937.DolbyDigital.LevelOfControl, AP.SWR.Mode
AP.IEC61937.DolbyDigital.ChannelRouting.Normal.RS Property
Syntax AP.IEC61937.DolbyDigital.ChannelRouting.Normal.RS
Data Type Constant Description
apbNormalCh1 sets encoder RS input to Digital Generator Ch1
apbNormalCh2 sets encoder RS input to Digital Generator Ch2
apbNormalOff sets encoder RS input to No Signal
Description The Dolby Digital Normal routing controls select the generator signal to be applied
to each of the six Dolby Digital encoder inputs (L, C, R, LS, RS, LFE). Options are
Digital Generator Ch 1 Out, Digital Generator Ch 2 Out, and Off (no signal con-
nected to encoder input).
See Also AP.IEC61937.DolbyDigital.LevelOfControl, AP.SWR.Mode
AP.IEC61937.DolbyDigital.ChannelRouting.Normal.LFE Property
Syntax AP.IEC61937.DolbyDigital.ChannelRouting.Normal.LFE
Data Type Constant Description
apbNormalCh1 sets encoder LFE input to Digital Generator Ch1
apbNormalCh2 sets encoder LFE input to Digital Generator Ch2
apbNormalOff sets encoder LFE input to No Signal
Description The Dolby Digital Normal routing controls select the generator signal to be applied
to each of the six Dolby Digital encoder inputs (L, C, R, LS, RS, LFE). Options are
Digital Generator Ch 1 Out, Digital Generator Ch 2 Out, and Off (no signal con-
nected to encoder input).
See Also AP.IEC61937.DolbyDigital.LevelOfControl, AP.SWR.Mode
AP.IEC61937.DolbyDigital.ChannelRouting.Type Property
Syntax AP.IEC61937.DolbyDigital.ChannelRouting.Type
Data Type Constant Description
apbRoutingNormal The Dolby Digital encoder inputs are selected using the
Normal controls.
apbRoutingFollow
Switcher The Dolby Digital encoder inputs are selected using the
Follow Switcher Input controls.
Description The Dolby Digital Type routing control selects whether the Dolby Digital encoder
input routing is to be set using the Normal mode controls or the Follow Switcher
Inputs mode controls
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ChannelRouting.Normal,
AP.IEC61937.DolbyDigital.ChannelRouting.FollowSwitcher,
AP.SWR.Mode
AP.IEC61937.DolbyDigital.DynamicRange.compr Property
AP.IEC61937.DolbyDigital.DynamicRange.dynrng Property
to scale the audio dynamic range. When Line Mode compression is set to Fixed,
dynrng can be set as a decibel value. Allowable decibel values are within the range
–24.08 to +23.95 dB.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.DynamicRange.RFModeCompression,
AP.IEC61937.DolbyDigital.DynamicRange.compr and
AP.IEC61937.DolbyDigital.DynamicRange.LineModeCompression
AP.IEC61937.DolbyDigital.DynamicRange.LineModeCompression
Property
Syntax AP.IEC61937.DolbyDigital.DynamicRange.LineModeCompression
Data Type Constant Description
apbNone No compression profile, dynrnge set to 0
apbFilmStd Film Standard compression profile
apbFilmLt Film Light compression profile
apbMusicStd Music Standard compression profile
apbMusicLt Music Light compression profile
apbSpeech Speech compression profile
apbFixed No compression profile, dynrng set to fixed value entered
in dynrng
Description Line mode compression provides settings that affect the generation of the Line
mode compression word dynrng. The first six settings (None, Film Standard,
Speech, etc.) select the compression profile used by the dynamic range control
(DRC) algorithm in computing the dynrng gain word. Fixed enables you to bypass
the DRC algorithm and enter a fixed gain word in dynrng. dynrnge (dynamic range
gain word exists) is set Off (bit set to 0) when Line mode compression is set to
None, and also whenever the value of dynrng = 0. dynrnge is On (bit set to 1)
when Line mode compression is Fixed. When Line mode compression is set to
one of the five compression profiles dynrnge may be On or Off in each audio
block, depending upon the audio signal.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.DynamicRange.compr,
AP.IEC61937.DolbyDigital.DynamicRange.dynrng,
AP.IEC61937.DolbyDigital.DynamicRange.RFModeCompression
AP.IEC61937.DolbyDigital.DynamicRange.RFModeCompression
Property
Syntax AP.IEC61937.DolbyDigital.DynamicRange.RFModeCompression
Data Type Constant Description
apbNone No compression profile
apbFilmStd Film Standard compression profile
apbFilmLt Film Light compression profile
apbMusicStd Music Standard compression profile
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.adconvtyp Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.adconvtyp
Data Type Constant Description
apbStandard Standard A/D converter
apbHDCD reserved
Description adconvtyp is a Dolby Digital control term, an abbreviation for “A/D converter type.
” adconvtyp is only used in the Extended Bitstream syntax when xbsi2e is On. This
field indicates the type of A/D converter technology used to capture the PCM audio.
This setting is only available at Advanced and Expert levels.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
ExtendedBitstream,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi2e
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.bsid Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.bsid
Data Type Long
Description bsid is a Dolby Digital control term, an abbreviation for “bitstream identifica-
tion.” This field indicates the bitstream syntax. A value of 8 = legacy bitstream
syntax; 6 = Extended Bitstream syntax. When bsid mode is set to Override, a
fixed setting can be entered as an integer value in the range 0 to 31. This setting
is only available at Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.bsidmode,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
ExtendedBitstream
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.bsidmode Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.bsidmode
Data Type Constant Description
apbFollowExtended
BitstreamSetting Set syntax to value selected by.DolbyDigital.
ExtendedBitstreamInfo.ExtendedBitstream
apbBsidOverride Use bitstream identification code entered in bsid
Description This command selects whether bsid automatically follows the Extended
Bitstream setting, or whether the user can Override the automatic setting with a
fixed setting. This setting is only available at Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.bsid,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
ExtendedBitstream
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.dheadphonmod
Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.dheadphonmod
Data Type Constant Description
apbHeadPhone
NotIndicated Dolby Headphone mode not indicated
apbNotDolbyHeadPhone
Encoded Stereo audio is Not Dolby Headphone encoded
apbDolbyHeadPhone
Encoded Stereo audio is Dolby Headphone encoded
apbDolbyHeadPhone
Reserved Reserved
Description dheadphonmod is a Dolby Digital control term, an abbreviation for “Dolby Head-
phone mode.” dheadphonmod is only used in the Extended Bitstream syntax when
xbsi2e is On. dheadphonmod indicates whether or not the program has been Dolby
Headphone-encoded. The meaning of this field is only defined if the audio coding
mode is 2/0. This setting is only available at Advanced and Expert levels.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
ExtendedBitstream,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi2e
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.dmixmod Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.dmixmod
Data Type Constant Description
apbDownMix
NotIndicated Downmix preference not indicated
apbLtRtDownMix LtRt downmix preferred
apbLoRoDownMix LoRo downmix preferred
apbDownMixReserved Reserved
Description dmixmod is a Dolby Digital control term, an abbreviation for “preferred stereo
downmix mode.” dmixmod is only used in the Extended Bitstream syntax when
xbsi1e is On. dmixmod indicates the type of stereo downmix preferred by the mas-
tering engineer. The meaning of this field is only defined if the audio coding mode
is 3/0, 2/1, 3/1, 2/2 or 3/2. This setting is only available at Advanced and Expert lev-
els.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
ExtendedBitstream,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi1e,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.ltrtcmixlev,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
ltrtsurmixlev,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.lorocmixlev,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
lorosurmixlev
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.dsurexmod Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.dsurexmod
Data Type Constant Description
apbDolbySurEx
NotIndicated Dolby Surround EX mode not indicated
apbNotDolbySurEx
Encoded Not Dolby Surround EX encoded
apbDolbySurExEncoded Dolby Surround EX encoded
apbDolbySurExReserved Reserved
Description dsurexmod is a Dolby Digital control term, an abbreviation for “Dolby Surround
EX mode.” dsurexmod is only used in the Extended Bitstream syntax when xbsi2e
is On. dsurexmod indicates whether or not the program has been encoded in Dolby
Surround EX. The meaning of this field is only defined if the audio coding mode is
2/2 or 3/2. This setting is only available at Advanced and Expert levels.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
ExtendedBitstream,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi2e
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.encinfo Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.encinfo
Data Type Long
Description encinfo is a Dolby Digital control term, an abbreviation for “encoder information.”
encinfo is only used in the Extended Bitstream syntax when xbsi2e is On. This field
is reserved for use by the encoder and is not used by the decoder. This setting is
only available at Advanced and Expert levels.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
ExtendedBitstream,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi2e
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.ExtendedBitstream
Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
ExtendedBitstream
Data Type Constant Description
apbOn Sets the bitstream syntax to Extended Bitstream
apbOff Sets the bitstream syntax to the legacy bitstream
Description The original AC-3 (Dolby Digital) bitstream syntax (here called the legacy
bitstream syntax) described in ATSC A-52/A has been superceded by an ex-
tended bitstream syntax that includes the changes in A-52/A Annex C. Select Ex-
tended Bitstream On (default) or Off. This setting is only available at Expert
level.
The timecod1 and timecod2 syntactical elements only exist in the legacy
bitstream syntax; these are replaced by the syntactical elements xbsi1e,
dmixmod, ltrtcmixlev, ltrtsurmixlev, lorocmixlev, lorosurmixlev, xbsi2e,
dsurexmod, dheadphonmod, adconvtyp, xbsi2, and encinfo in the Extended
Bitstream syntax.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.bsidmode,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.bsid
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.lorocmixlev Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
lorocmixlev(ByVal Unit As String)
Data Type Double
Parameters Part Description
Unit The following units are available: dB, X/Y.
Description lorocmixlev is a Dolby Digital control term, an abbreviation for “Lo/Ro center mix
level.” ltrtcmixlev is only used in the Extended Bitstream syntax when xbsi1e is
On. ltrtcmixlev indicates the nominal downmix level of the center channel with re-
spect to the left and right channels in an Lo/Ro (stereo) downmix. The meaning of
this field is only defined if the audio coding mode is 3/0, 3/1 or 3/2. This setting is
only available at Advanced and Expert levels.
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.lorosurmixlev Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
lorosurmixlev(ByVal Unit As String)
Data Type Double
Parameters Part Description
Unit The following units are available: dB, X/Y.
Description lorosurmixlev is a Dolby Digital control term, an abbreviation for “Lo/Ro surround
mix level.” lorosurmixlev is only used in the Extended Bitstream syntax when
xbsi1e is On. lorosurmixlev indicates the nominal downmix level of the surround
channels with respect to the left and right channels in an Lo/Ro (stereo) downmix.
The meaning of this field is only defined if the audio coding mode is 2/1, 3/1, 2/2 or
3/2. This setting is only available at Advanced and Expert levels.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
ExtendedBitstream,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi1e,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.dmixmod,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.lorocmixlev
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.ltrtcmixlev Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.ltrtcmixlev
Data Type Double
Parameters Part Description
Unit The following units are available: dB, X/Y.
Description ltrtcmixlev is a Dolby Digital control term, an abbreviation for “Lt/Rt center mix
level.” ltrtcmixlev is only used in the Extended Bitstream syntax when xbsi1e is
On. ltrtcmixlev indicates the nominal downmix level of the center channel with re-
spect to the left and right channels in an Lt/Rt (Dolby Surround) downmix. The
meaning of this field is only defined if the audio coding mode is 3/0, 3/1 or 3/2. This
setting is only available at Advanced and Expert levels.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
ExtendedBitstream,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi1e,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.dmixmod,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
ltrtsurmixlev
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.ltrtsurmixlev Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
ltrtsurmixlev(ByVal Unit As String)
Data Type Double
Parameters Part Description
Unit The following units are available: dB, X/Y.
Description ltrtsurmixlev is a Dolby Digital control term, an abbreviation for “Lt/Rt surround
mix level.” ltrtsurmixlev is only used in the Extended Bitstream syntax when
xbsi1e is On. ltrtsurmixlev indicates the nominal downmix level of the surround
channels with respect to the left and right channels in an Lt/Rt (Dolby Surround)
downmix. The meaning of this field is only defined if the audio coding mode is 2/1,
3/1, 2/2 or 3/2. This setting is only available at Advanced and Expert levels.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
ExtendedBitstream,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi1e,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.dmixmod,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.ltrtcmixlev
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.frames
Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
frames
Data Type Long
Description frames is used only when Extended Bitstream is set to Off and timecod2e is On.
This field indicates the “frames” value designated by the Dolby Digital timecod2
field. This setting is only available at Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
timecod2e,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
hours,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
minutes
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.frames64ths
Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
frames64ths
Data Type Long
Description frames64ths is used only when Extended Bitstream is set to Off and timecod2e is
On. This field indicates the “64ths of a frame” value designated by the Dolby Digi-
tal timecod2 field. This setting is only available at Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
timecod2e,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
hours,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
minutes
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.hours
Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
hours
Data Type Long
Description hours is used only when Extended Bitstream is set to Off and timecod1e is On.
This field indicates the “hours” value designated by the Dolby Digital timecod1
field. This setting is only available at Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
timecod1e,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
minutes,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
seconds
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.minutes
Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
minutes
Data Type Long
Description minutes is used only when Extended Bitstream is set to Off and timecod1e is On.
This field indicates the “minutes” value designated by the Dolby Digital timecod1
field. This setting is only available at Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
timecod1e,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
hours,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
seconds
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.seconds
Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
seconds
Data Type Long
Description seconds is used only when Extended Bitstream is set to Off and either timecod1e
or timecod2e is On. This field indicates the “seconds” value designated by the
Dolby Digital timecod1 and timecod2 fields. This setting is only available at Expert
level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
timecod1e,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
timecod2e,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
hours,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
minutes
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.timecod1e
Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
timecod1e
Data Type Constant Description
apbOff The timecod1 word (time code first half) does not exist in
the bitstream
apbOn The timecod1 word (time code first half) exists in the
bitstream
Description timecod1e is a Dolby Digital control term, an abbreviation for “time code first half
exists.” timecod1e is only used in the legacy bitstream syntax. This field indicates
whether the low resolution half of the time code information (timecod1, designating
hours, minutes and 8-second intervals) follows in the bitstream. This setting is only
available at Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
timecod2e,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
hours,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
minutes,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
seconds
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.timecod2e
Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
timecod2e
Data Type Constant Description
apbOff The timecod2 word (time code 2nd half) does not exist in
the bitstream
apbOn The timecod2 word (time code 2nd half) exists in the
bitstream
Description timecod2e is a Dolby Digital control term, an abbreviation for “time code second
half exists.” timecod2e is only used in the legacy bitstream syntax. This field indi-
cates whether the high resolution half of the time code information (timecod2, desig-
nating seconds from 0 to 7, frames, and 1/64ths of a frame) follows in the bitstream.
This setting is only available at Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
timecod1e,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
seconds,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
frames,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.TimeCode.
frames64ths
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi1e Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi1e
Data Type Constant Description
apbOff No extra bitstream information #1
apbOn Extra bitstream information #1 exists
Description xbsi1e is a Dolby Digital control term, an abbreviation for “extra bitstream informa-
tion #1 exists.” xbsi1e is only used in the Extended Bitstream syntax. When this bit
is 1 (On), the following 14 bits contain extra bitstream information (dmixmod,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi2 Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi2
Data Type Long
Description xbsi2 is a Dolby Digital control term, an abbreviation for “extra bitstream informa-
tion #2.” xbsi2 is only used in the Extended Bitstream syntax when xbsi2e is On.
This field is reserved for future assignment. This setting is only available at Ad-
vanced and Expert levels.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
ExtendedBitstream,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi2e
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi2e Property
Syntax AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi2e
Data Type Constant Description
apbOff No extra bitstream information #2
apbOn Extra bitstream information #2 exists
Description xbsi2e is a Dolby Digital control term, an abbreviation for “extra bitstream informa-
tion #2 exists.” xbsi2e is only used in the Extended Bitstream syntax. When this bit
is 1 (On), the following 14 bits contain extra bitstream information (dsurexmod,
dheadphonmod, adconvtyp, xbsi2 and encinfo). xbsi2e is set to On at Normal and
Advanced levels, and may be set Off at Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
ExtendedBitstream,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi1e,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.dsurexmod,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.
dheadphonmod,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.adconvtyp,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.xbsi2,
AP.IEC61937.DolbyDigital.ExtendedBitstreamInfo.encinfo
AP.IEC61937.DolbyDigital.Impairments.crc1enable Property
Syntax AP.IEC61937.DolbyDigital.Impairments.crc1enable
Data Type Constant Description
apbOff crc1 Off
apbOn crc1 On
Description There are two cyclic redundancy check (crc) words in the Dolby Digital bitstream.
crc1enable sets the first crc word (crc1), which covers the first 5/8 of the frame, On
or Off. This setting is only available at Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.Impairments.crc2enable
AP.IEC61937.DolbyDigital.Impairments.crc2enable Property
Syntax AP.IEC61937.DolbyDigital.Impairments.crc2enable
Data Type Constant Description
apbOff crc2 Off
apbOn crc2 On
Description There are two cyclic redundancy check (crc) words in the Dolby Digital bitstream.
crc2enable sets the second crc word (crc2), which covers the entire frame, On or
Off. This setting is only available at Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.Impairments.crc1enable
AP.IEC61937.DolbyDigital.Impairments.syncword Property
AP.IEC61937.DolbyDigital.Impairments.syncwordmode Property
Syntax AP.IEC61937.DolbyDigital.Impairments.syncwordmode
Data Type Constant Description
apbNormal syncword is set normally (to 0x0B77)
apbOverride syncword setting is overridden by setting in syncword.
Description syncword mode selects whether syncword is set normally or whether the user can
Override that setting by entering a value in syncword. This setting is only available
at Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.Impairments.syncword
AP.IEC61937.DolbyDigital.LevelOfControl Property
Syntax AP.IEC61937.DolbyDigital.LevelOfControl
Data Type Constant Description
apbDolbyNormal Normal Level of control
apbDolbyAdvanced Advanced Level of control
apbDolbyExpert Expert Level of control
Description This command selects the Level of control for the Dolby Digital Data-type view.
Normal provides a familiar control view and offers the basic selections that may be
needed for a simple IEC 61937 / Dolby Digital setup. Advanced provides a grid
view of the controls and offers a greater selection of controls and options. Expert
also uses the grid view, and offers the fullest selection of controls and options. The
Expert level of control is only available for the Dolby Digital data-type. The se-
lected level of control is affects the interface view and capability across the avail-
able IEC 61937 data-types (currently Idle, Pause and Dolby Digital). Selecting
Normal or Advanced in any data-type will switch the level of control in the other
data-types as well. Since there is no Expert level for Idle or Pause, choosing Expert
level in Dolby Digital will select Advanced level for Idle and Pause. However, the
Dolby Digital level will remain in Expert when you return to that data-type. Set-
tings that are only available at Expert or Advanced level will be lost (reset to their
defaults) if you move from a higher to a lower level of control.
See Also AP.IEC61937.DolbyDigital.LevelOfControl,
AP.IEC61937.DolbyDigital.Bitstream.langcod
AP.IEC61937.DolbyDigital.Preprocess.ChannelLowpass Property
Syntax AP.IEC61937.DolbyDigital.Preprocess.ChannelLowpass
Data Type Constant Description
apbOff Channel bandwidth lowpass preprocessing filter Off
apbOn Channel bandwidth lowpass preprocessing filter On
Description Channel lowpass is a Dolby Digital preprocessing option that can apply a channel
bandwidth lowpass filter to the main audio input channels. This setting is only avail-
able at Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl
AP.IEC61937.DolbyDigital.Preprocess.DCHighpass Property
Syntax AP.IEC61937.DolbyDigital.Preprocess.DCHighpass
Data Type Constant Description
apbOff DC highpass preprocessing filter Off
apbOn DC highpass preprocessing filter On for all audio input
channels
Description DC highpass is a Dolby Digital preprocessing option that can apply a DC highpass
filter to all audio input channels. This filter should always be enabled unless the op-
erator is certain that there is no DC in the input audio. This setting is only available
at Expert level.
See Also AP.IEC61937.DolbyDigital.LevelOfControl
AP.IEC61937.DolbyDigital.Preprocess.LFELowpass Property
Syntax AP.IEC61937.DolbyDigital.Preprocess.LFELowpass
Data Type Constant Description
apbOff LFE lowpass preprocessing filter Off
apbOn LFE lowpass preprocessing filter On
Description LFE lowpass is a Dolby Digital preprocessing option that can apply a 120 Hz
lowpass filter to the LFE input channel. This setting is only available at Expert level
when lfeon is set to On.
See Also AP.IEC61937.DolbyDigital.LevelOfControl
AP.IEC61937.DolbyDigital.Preprocess.PhaseShift Property
Syntax AP.IEC61937.DolbyDigital.Preprocess.PhaseShift
Data Type Constant Description
apbPhaseShiftOff No phase shift or time delay applied
apbTDOnly Time delay applied to all channels; no phase shift
apbPhaseShift Phase shift applied to surround channels; time delay
applied to all other channels.
Description Phase shift is a Dolby Digital preprocessing option that can apply a 90-degree Sur-
round phase shift to the surround channels, when surround channels are in use
(acmod 2/1, 3/1. 3/1, 3/2) enabling a true Dolby Surround Lt/Rt downmix to be cre-
ated. When Phase Shift is on, the non-surround channels are time-delayed to match
the delay created by the filter. Time Delay Only enables only the delay feature for
all channels. Phase shift is normally left On for program material, but may be set to
Off for test signals and calibration. This setting is only available at Advanced and
Expert levels.
See Also AP.IEC61937.DolbyDigital.LevelOfControl
AP.IEC61937.Idle.LevelofControl Property
Syntax AP.IEC61937.Idle.LevelofControl
Data Type Constant Description
apbNormal Normal Level of control
apbAdvanced Advanced Level of control
Description This command selects the Level of control for the Idle Data-type view.
Normal provides a familiar control view and offers the basic selections that may be
needed for a simple IEC 61937 / Dolby Digital setup. Advanced provides a grid
view of the controls and offers a greater selection of controls and options. The se-
lected level of control is affects the interface view and capability across the avail-
able IEC 61937 data-types (currently Idle, Pause and Dolby Digital). Selecting
Normal or Advanced in any data-type will switch the level of control in the other
data-types as well. Since there is no Expert level for Idle or Pause, choosing Expert
level in Dolby Digital will select Advanced level for Idle and Pause. However, the
Dolby Digital level will remain in Expert when you return to that data-type. Set-
tings that are only available at Expert or Advanced level will be lost (reset to their
defaults) if you move from a higher to a lower level of control.
AP.IEC61937.Idle.NullDataBurstRepetitionPeriod Property
AP.IEC61937.Idle.SendNullDataBursts Property
Syntax AP.IEC61937.Idle.SendNullDataBursts
Data Type Constant Description
apbOff No null data-bursts are being sent in the bitstream
apbOn Null data-bursts are being sent in the bitstream
Description Send null data-bursts is an IEC 61937 control that sends null data-bursts to indi-
cate that the IEC 61937 interface is operating but idle, for those decoders that do not
check the IEC 60958 validity bit. This setting is only available at Advanced level.
See Also AP.IEC61937.Idle.LevelOfControl,
AP.IEC61937.Idle.NullDataBurstRepetitionPeriod
AP.IEC61937.Pause.DataBurstRepetitionMode Property
Syntax AP.IEC61937.Pause.DataBurstRepetitionMode
Data Type Constant Description
apbDolbyDigital sets pause rep. per. to Dolby Digital recommended value
of 3 samples
apbMPEG1_2 sets pause rep. per. to MPEG-1 and -2 mandatory value
of 32 samples
apbMPEG2_LoFs sets pause rep. per. to MPEG-2 low Fs mandatory value
of 64 samples
apbDTS sets pause rep. per. to DTS recommended value of 3
samples
apbMPEG2_AAC sets pause rep. per. to MPEG-2 AAC mandatory value of
32 samples
apbPeriodOverride sets pause rep. per. to value set in pause data burst
repetition period.
Description Pause data-burst repetition period is an IEC 61937 control that determines how
often the pause data-burst is sent. Pause data-burst repetition mode sets Pause
data-burst repetition period to the recommended or mandatory period for various
encoding systems, set by choosing the encoding system. At Advanced level, this set-
ting can be overridden by selecting Override and setting a value in Pause data-
burst repetition period.
See Also AP.IEC61937.Pause.LevelOfControl,
AP.IEC61937.Pause.DataBurstRepetitionPeriod
AP.IEC61937.Pause.DataBurstRepetitionPeriod Property
AP.IEC61937.Pause.GapLength Property
AP.IEC61937.Pause.GapLengthMode Property
Syntax AP.IEC61937.Pause.GapLengthMode
Data Type Constant Description
apbGapLength
NotSpecified The gap-length word is set to all zeros
apbGapLengthNormal The value of the gap-length word is set to the current
pause data-burst repetition period
apbGapLengthOverride The value of the gap-length word is set to the fixed value
entered in gap-length
Description gap-length mode selects whether gap-length is Not specified (all zeros), Normal
(automatically set to the current pause-data-burst repetition period), or whether the
user can Override the normal setting with a fixed setting. This setting is only avail-
able at Advanced level.
See Also AP.IEC61937.Pause.LevelOfControl,
AP.IEC61937.Pause.GapLength
AP.IEC61937.Pause.LevelOfControl Property
Syntax AP.IEC61937.Pause.LevelOfControl
Data Type Constant Description
apbNormal Normal Level of control
apbAdvanced Advanced Level of control
Description This command selects the Level of control for the Pause Data-type view.
Normal provides a familiar control view and offers the basic selections that may be
needed for a simple IEC 61937 / Dolby Digital setup. Advanced provides a grid
view of the controls and offers a greater selection of controls and options. The se-
lected level of control is affects the interface view and capability across the avail-
able IEC 61937 data-types (currently Idle, Pause and Dolby Digital). Selecting
Normal or Advanced in any data-type will switch the level of control in the other
data-types as well. Since there is no Expert level for Idle or Pause, choosing Expert
level in Dolby Digital will select Advanced level for Idle and Pause. However, the
Dolby Digital level will remain in Expert when you return to that data-type. Set-
tings that are only available at Expert or Advanced level will be lost (reset to their
defaults) if you move from a higher to a lower level of control.
AP.IEC61937.Preambles.BitstreamNumber Property
Syntax AP.IEC61937.Preambles.BitstreamNumber
Data Type Long
Description Up to 8 independent bitstreams may be carried in the IEC 60958 bitstream in a time
multiplex. Bitstream number indicates to which bitstream the data burst belongs. If
AP.IEC61937.Preambles.BitstreamNumberMode is set to Override, Bitstream
number can be set to a fixed integer value in the range 0 through 7. Preambles con-
trols are not available at Normal level of control, and will be reset to default values
when Normal level of control is selected.
See Also AP.IEC61937.Preambles.BitstreamNumberMode
AP.IEC61937.Preambles.BitstreamNumberMode Property
Syntax AP.IEC61937.Preambles.BitstreamNumberMode
Data Type Constant Description
apbNormal Bitstream number is set normally
apbOverride Bitstream number is overridden by AP.IEC61937.
Preambles.BitstreamNumber
Description Bitstream number mode selects whether Bitstream number is set normally or
whether the user can Override that setting by entering a value in Bitstream num-
ber. Preambles controls are not available at Normal level of control, and will be re-
set to default values when Normal level of control is selected.
See Also AP.IEC61937.Preambles.BitstreamNumber
AP.IEC61937.Preambles.DataType Property
Syntax AP.IEC61937.Preambles.DataType
Data Type Constant Description
apbNull Sets burst-info preamble data-type to Idle
apbAc3 Sets burst-info preamble data-type to Dolby Digital
apbPause Sets burst-info preamble data-type to Pause
apbMPEG1 Sets burst-info preamble data-type to MPEG-1 layer 1
apbMPEG2 Sets burst-info preamble data-type to MPEG-1/2
apbMPEG2E Sets burst-info preamble data-type to MPEG-2 with
extension
apbAAC Sets burst-info preamble data-type to MPEG-2 AAC
ADTS
apbMPEGLO1 Sets burst-info preamble data-type to MPEG-2 layer 1 low
Fs
AP.IEC61937.Preambles.DataTypeCode Property
Syntax AP.IEC61937.Preambles.DataTypeCode
Data Type Long
Description Data-type code sets the value of the 5-bit IEC 61397 data-type code in the burst-
info preamble when AP.IEC61937.Preambles.DataType is set to Numeric Code. Val-
ues range from 0 to 31. This setting is available at the Advanced or Expert level of
control.
See Also AP.IEC61937.Preambles.DataType, AP.IEC61937.Preambles.
DataTypeMode, AP.IEC61937.DataType
AP.IEC61937.Preambles.DataTypeDependentInfo Property
Syntax AP.IEC61937.Preambles.DataTypeDependentInfo
Data Type Long
Description The meaning of the 5-bit data-type-dependent information in the burst-preamble de-
pends upon the value of the data-type. At Advanced or Expert level data-type-de-
pendent info can be set to a fixed integer value in the range 0 through 31.
AP.IEC61937.Preambles.DataTypeDependentInfoMode Property
Syntax AP.IEC61937.Preambles.DataTypeDependentInfoMode
Data Type Constant Description
apbNormal Data-Type Dependent Info set by AP.IEC61937.
Preambles.DataType
AP.IEC61937.Preambles.DataTypeMode Property
Syntax AP.IEC61937.Preambles.DataTypeMode
Data Type Constant Description
apbNormal Burst-info preamble data-type field set by AP.IEC61937.
DataType
apbOverride Burst-info preamble data-type field set by AP.IEC61937.
Preambles.DataType
Description The preamble data-type mode selects whether the data-type indicated in the IEC
61937 burst-info preamble is set by the selection in AP.IEC61937.DataType, or
whether the preamble indication is to be overridden. This setting is only available at
Advanced or Expert level.
Note: AP.IEC61937.Preambles.DataTypeMode only sets the indicated data type, bits
0 thru 4 of the burst-preamble. It does not change the actual format of the burst-pay-
load. Use AP.IEC61937.DataType to change the format of the burst-payload.
See Also AP.IEC61937.DataType,
AP.IEC61937.Preambles.DataType
AP.IEC61937.Preambles.ErrorFlag Property
Syntax AP.IEC61937.Preambles.ErrorFlag
Data Type Constant Description
apbOff Burst-info preamble error flag set OFF (bit 7=0)
apbOn Burst-info preamble error flag set ON (bit 7=1)
Description An error flag (bit 7 of the burst-preamble) can be set if the contents of the data-burst
contain data errors. At Advanced or Expert level the error-flag bit can be fixed at 0
or 1.
AP.IEC61937.Preambles.LengthCode Property
AP.IEC61937.Preambles.LengthCodeMode Property
Syntax AP.IEC61937.Preambles.LengthCodeMode
Data Type Constant Description
apbNormal Length-code is set normally
apbOverride Length-code is overridden by AP.IEC61937.Preambles.
LengthCode
Description Length-code mode selects whether Length-code is set normally or whether the
user can Override that setting by entering a value in Length-code. This setting is
only available at Advanced or Expert level.
See Also AP.IEC61937.Preambles.LengthCode
AP.IEC61937.Preambles.ReservedBits Property
Syntax AP.IEC61937.Preambles.ReservedBits
Data Type Long
Description There are two reserved bits (bits 5 and 6) in the IEC 61937 burst-info preamble, nor-
mally set to 0. At Advanced or Expert level the reserved bits can be set to a fixed in-
teger value in the range 0 through 3.
Syntax APEvent_OnApplicationStartup()
Description This event is useful when programming with Visual Basic. The event is called at the
completion of the startup process of the AP2700 application.
APEvent_OnAuxSetting1 Event
AP.Application.NewTest
AP.Gen.ChBTrackA = False
AP.Gen.Output = True
AP.Anlr.ChAInput = 2
AP.Anlr.ChBInput = 2
AP.Aux.Setting1 = 1.0
AP.Application.SetWatchDogTimer1(5.0,False)
Do
Loop While Halt = False
End Sub
Sub APEvent_OnAuxSetting1(ByVal Value As Double)
AP.Gen.ChAAmpl("Vrms") = Value - .2
AP.Gen.ChBAmpl("Vrms") = Value + .2
APEvent_OnAuxSetting2 Event
APEvent_OnAuxSetting3 Event
APEvent_OnAuxSetting4 Event
APEvent_OnDcxProgramControlInput Event
APEvent_OnError Event
AP.Application.ClearCurrentError
APEvent_OnPromptContinue Event
Syntax APEvent_OnPromptContinue()
Description Useful when programming in Visual Basic to implement “show prompt with con-
tinue.” Can be used in AP Basic scripts as well. This event is called when the user
presses the “Continue Macro” button shown on a prompt when the AP.Prompt.
ShowWithContinue command is used to display a prompt.
Example Dim WaitForcontinue As Boolean
Sub Main
AP.Application.NewTest 'Reset panels
AP.Gen.Output = True
AP.Anlr.ChAInput = 2
AP.Anlr.FuncMode = 0
AP.Anlr.FuncInput = 0
With AP.Prompt
.Text = "Press the Continue button to STOP the SWEEP and
continue the Macro."
.FontSize = 8 'Set font size to 8 point.
.Position (-1,-1,220,150) 'Set location and size.
'Display prompt with
Continue and also stop
the current sweep.
.ShowWithContinueAndStopSweep
AP.Sweep.Start 'Start Sweep.
.Text = "Press the Continue button to END the Macro."
.FontSize = 8 'Set font size to 8 point.
.Position (-1,-1,220,130) 'Set location and size.
.ShowWithContinue 'Display prompt with Continue.
WaitForContinue = True
Do
APEvent_OnSweepEnd Event
Syntax APEvent_OnSweepEnd
Description This event is called when the sweep has terminated and the initial source value has
been restored.
Example Sub Main
AP.Sweep.SinglePoint = True
AP.Sweep.Start
End Sub
Sub APEvent_OnSweepStart()
Debug.Print "Sweep Start"
End Sub
Sub APEvent_OnSweepNestStart(Source As Long)
Debug.Print "Sweep Nest Start "
End Sub
Sub APEvent_OnSweepStep(Value As Variant, Source As _
Long)
Debug.Print "Sweep Step = " & Value
End Sub
Sub APEvent_OnSweepTrigger()
Debug.Print "Sweep Trigger"
End Sub
Sub APEvent_OnSweepStepEnd()
Debug.Print "Sweep Step End"
End Sub
Sub APEvent_OnSweepNestEnd()
Debug.Print "Sweep Nest End"
End Sub
Sub APEvent_OnSweepEnd()
Debug.Print "Sweep End"
End Sub
Output Sweep Start
Sweep Nest Start
Sweep Step = 20000
Sweep Trigger
Sweep Step End
Sweep Nest End
Sweep Step = 1000
Sweep End #
APEvent_OnSweepNestEnd Event
Syntax APEvent_OnSweepNestEnd
Description This event is called after a single sweep is compleated.
Example See example for APEvent_OnSweepEnd.
APEvent_OnSweepNestStart Event
APEvent_OnSweepReverseChannels Event
APEvent_OnSweepStart Event
Syntax APEvent_OnSweepStart
Description This event is called at the start of a sweep. It prepares for the rest of the upcoming
sweep by storing the initial sweep value and pre-calculating steps.
See Also APEvent_OnSweepEnd
Example See example for APEvent_OnSweepEnd.
APEvent_OnSweepStep Event
APEvent_OnSweepStepEnd Event
Syntax APEvent_OnSweepStepEnd
Description This event is called after a reading cycle has completed. The reading cycle may re-
turn up to six settled measurements.
Example See example for APEvent_OnSweepEnd.
APEvent_OnSweepTrigger Event
Syntax APEvent_OnSweepTrigger
Description This event is after a new step value is sent, to trigger a new reading cycle.
Example See example for APEvent_OnSweepEnd.
APEvent_OnTestLoad Event
Syntax APEvent_OnTestLoad()
Description This event is called at the completion of a test loading operation.
APEvent_OnWatchDogTimeout Event
If Id = 1 Then
If AP.Sweep.IsRunning = True Then
AP.Sweep.Stop
Debug.Print "Sweep Stopped"
End If
End If
End Sub
AP.File.ExportASCIIData Method
AP.Application.PanelOpen apbPanelGraph
AP.Sweep.Data1.LogLin = 1
AP.Graph.OptimizeLeft
If AP.Sweep.Data1.Id <> 5049 Then _
AP.Compute.Smooth.Data(1) = True
If AP.Sweep.Data2.Id <> 5049 Then _
AP.Compute.Smooth.Data(2) = True
If AP.Sweep.Data3.Id <> 5049 Then _
AP.Compute.Smooth.Data(3) = True
If AP.Sweep.Data4.Id <> 5049 Then _
AP.Compute.Smooth.Data(4) = True
If AP.Sweep.Data5.Id <> 5049 Then _
AP.Compute.Smooth.Data(5) = True
If AP.Sweep.Data6.Id <> 5049 Then _
AP.Compute.Smooth.Data(6) = True
AP.Compute.Smooth.Auto = True
AP.Compute.Smooth.Apply
'Export ASCII data file
AP.File.ExportASCIIData("TEMP.ADX")
End Sub
AP.File.ExportGraphic Method
AP.Sweep.Source1.Start("Hz") = 50000
AP.Sweep.Start
Kill "C:\GRAPH.EMF"
AP.File.ImportASCIIData Method
AP.File.OpenData Method
Result Boolean
True File open successful.
False File open failed.
Description This command loads the designated data file.
Example Sub Main
OpenResult = AP.File.OpenTest("FRQ-RESP.AT1")
If OpenResult = False Then Call Open_Failed
OpenResult = AP.File.OpenData("FRQ-RESP.DAT")
If OpenResult = False Then Call Open_Failed
AP.Data.UpdateDisplay 0
Wait 5
OpenResult = AP.File.OpenTest("THD-FRQ.AT1")
If OpenResult = False Then Call Open_Failed
OpenResult = AP.File.OpenData("THD-FRQ.DAT")
If OpenResult = False Then Call Open_Failed
AP.Data.UpdateDisplay 0
Wait 5
OpenResult = AP.File.OpenTest("RESIDNOI.AT1")
If OpenResult = False Then Call Open_Failed
OpenResult = AP.File.OpenData("RESIDNOI.DAT")
If OpenResult = False Then Call Open_Failed
AP.Data.UpdateDisplay 0
Wait 5
End Sub
Sub Open_Failed
Debug.Print"File Open FAILED."
End
End Sub
AP.File.OpenMacro Method
Set AP = CreateObject("AP2700.Application")
AP.Application.Visible = True ' Make AP2700 visible
AP.File.OpenTest Method
OpenResult = AP.File.OpenTest("THD-FRQ.AT1")
If OpenResult = False Then Call Open_Failed
AP.Sweep.Start
SaveResult = File.SaveDataAs("THD-FRQ.DAT")
If SaveResult = False Then Call Save_Failed
OpenResult = AP.File.OpenTest("RESIDNOI.AT1")
If OpenResult = False Then Call Open_Failed
AP.Sweep.Start
SaveResult = AP.File.SaveDataAs("RESIDNOI.DAT")
If SaveResult = False Then Call Save_Failed
End Sub
Sub Open_Failed
Debug.Print"Test Open FAILED."
End
End Sub
Sub Save_Failed
Debug.Print"Test Save FAILED."
End
End Sub
AP.File.OpenWfm Method
Result Boolean
True File open successful.
False File open failed.
Description This command loads the designated waveform file into the analyzer or generator
buffers designated by Option1 and 2.
Comments Acquisition buffer : This buffer holds waveform data that has been generated by exe-
cuting an acqusition (F9). Opening a waveform file containing a previously-ac-
quired and saved waveform and specifying the acquisition buffer as the destination
permits further analysis of the waveform including FFT spectrum analysis and
waveform display.
Transform buffer : The transform buffer is the sub-section of the acquisition buffer
starting at the FFT start time with a length equal to the presently-set FFT length.
Buffer 1 : This buffer is associated with the DSP channel 1.
Buffer 2 : This buffer is associated with the DSP channel 2.
ExtensionDescription
.AAM Acquired waveform, 1 channel
.AAS Acquired waveform, 2 channels
Example Sub Main
AP.File.OpenTest("FFTSAVE.AT2")
OpenResult = AP.File.OpenWfm("TEMP.AAS", 1,2)
If OpenResult = False Then Call Open_Failed
AP.Sweep.Reprocess
End Sub
Sub Open_Failed
Debug.Print"Waveform Open FAILED."
End
End Sub
AP.File.SaveAll Method
Syntax AP.File.SaveAll
Description This command saves the current test and all macros loaded in the macro editor.
AP.File.SaveDataAs Method
AP.File.SaveMacroAs Method
Result Boolean
True File save successful.
False File save failed.
Description This command saves the current macro to the designated file.
Example See example for AP.File.Open.
AP.File.SaveTest Method
Syntax AP.File.SaveTest
Result Boolean
True File save successful.
False File save failed.
Description This command saves the current test.
Example Sub Main
AP.File.OpenTest "FRQ-RESP.AT2" 'Open frequency _
response test.
Sweep.Start
'Start sweep.
If AP.File.SaveTest = False Then GoTo Quit
'Save Test
AP.File.OpenTest "THD-FRQ.AT2" 'Open total _
harmonic distortion + noise test.
AP.Sweep.Start
'Start sweep.
If AP.File.SaveTest = False Then GoTo Quit
'Save Test
AP.File.OpenTest "RESIDNOI.AT2" 'Open residual _
noise test.
AP.Sweep.Start
'Start sweep.
If AP.File.SaveTest = False Then GoTo Quit
'Save Test
End
Quit:
Debug.Print "Test Save FAILED"
End Sub
AP.File.SaveTestAs Method
OpenResult = AP.File.OpenTest("THD-FRQ.AT1")
If OpenResult = False Then Call Open_Failed
AP.Sweep.Start
SaveResult = AP.File.SaveTestAs("THD-FRQ.AT1")
If SaveResult = False Then Call Save_Failed
OpenResult = AP.File.OpenTest("RESIDNOI.AT1")
If OpenResult = False Then Call Open_Failed
AP.Sweep.Start
SaveResult = AP.File.SaveTestAs("RESIDNOI.AT1")
If SaveResult = False Then Call Save_Failed
End Sub
Sub Open_Failed
Debug.Print"Test Open FAILED."
End
End Sub
Sub Save_Failed
Debug.Print"Test Save FAILED."
End
End Sub
AP.File.SaveTestAsCustom Method
AP.File.SaveWfmAs Method
ExtensionDescription
.AAM Acquired waveform, 1 channel
.AAS Acquired waveform, 2 channels
Example Sub Main
AP.File.OpenTest "FFTSAVE.AT2"
AP.Sweep.Start
AP.File.SaveWfmAs "TEMP.AAS", 1,2
End Sub
Syntax AP.Gen.AutoOn
Data Type Boolean
True ON, Auto On feature active.
False OFF, Auto On feature disabled.
Description This command enables the Auto On feature for the Analog Generator. Auto On
switches the generator output on when a sweep starts, and off when a sweep termi-
nates.
See Also AP.Gen.Output, AP.DGen.AutoOn
AP.Gen.BurstInterval Property
Ontime = AP.Gen.BurstOnTime("Cycles")
Level = AP.Gen.BurstLevel("%")
Debug.Print "Burst Interval =";Interval;" cycles."
Debug.Print "Burst ON time =";Ontime;" cycles."
Debug.Print "Burst OFF time low level =";Level;" %."
End Sub
Output Burst Interval = 10 cycles.
Burst ON time = 5 cycles.
Burst OFF time low level = 1 %.
AP.Gen.BurstLevel Property
AP.Gen.BurstOnTime Property
AP.Gen.ChAAmpl Property
AP.Gen.ChAEqAmpl Property
AP.Application.NewTest
AP.Gen.EqCurve("75US-PRE.ADQ", 1)
'Load EQ file
AP.Gen.Wfm 0, 4 'Select EQ Sine waveform
AP.Gen.ChAEqAmpl("dBV") = -10.0
AP.Gen.ChBEqAmpl("dBV") = -10.0
AP.Gen.Output = True 'Generator Output On
AP.Sweep.Data1.Id = 5903
AP.Sweep.Source1.Id = 5051
AP.Sweep.Data1.Top("dBV") = 12.0
AP.Sweep.Data1.Bottom("dBV") = -12.0
AP.Sweep.Stereo = True
AP.Sweep.Start
End Sub
AP.Gen.ChAFreq Property
AP.Gen.ChAInvert Property
Syntax AP.Gen.ChAInvert
Data Type Boolean
True Invert channel A output.
False Normal non-inverting output.
Description This command sets Analog Generator channel A output to normal polarity or in-
verted polarity (180 degrees out of phase).
See Also AP.Gen.ChBInvert
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Gen.ChAInvert = False
AP.Gen.ChBInvert = True
AP.Gen.Output = True
AP.Anlr.ChAInput = 2
AP.Anlr.ChBInput = 2
AP.Anlr.PhaseSettling(0, .5, "deg", 3, .03, 1)
AP.Anlr.PhaseTrig
Do
Ready = AP.Anlr.PhaseReady
Loop Until Ready > 0
Reading1 = AP.Anlr.PhaseRdg("deg")
Debug.Print "Phase A to B = ";Format(Reading1, _
"#.0000");" deg"
End Sub
Output Phase A to B = 180.0110 deg
AP.Gen.ChAOutput Property
Syntax AP.Gen.ChAOutput
Data Type Boolean
True ON
False OFF
Description This command sets the Analog Generator channel A output to ON or OFF.
The command returns a TRUE if the output is ON and FALSE if the output is OFF.
See Also AP.Gen.ChBOutput
Example See example for AP.Gen.ChAAmpl.
AP.Gen.ChBAmpl Property
AP.Gen.ChBEqAmpl Property
AP.Gen.ChBFreq Property
AP.Gen.ChBInvert Property
Syntax AP.Gen.ChBInvert
Data Type Boolean
True Invert channel B output.
False Normal non-inverting output.
Description This command sets output B to normal polarity or inverted polarity (180 degrees out
of phase with channel A normal polarity).
See Also AP.Gen.ChAInvert
AP.Gen.ChBOutput Property
Syntax AP.Gen.ChBOutput
Data Type Boolean
True ON
False OFF
Description This command sets output B to ON or OFF.
The command returns a TRUE if the output is ON and a FALSE if the output is
OFF.
See Also AP.Gen.ChAOutput
Example See example for AP.Gen.ChAAmpl.
AP.Gen.ChBTrackA Property
Syntax AP.Gen.ChBTrackA
Data Type Boolean
True ON, channel B amplitude tracks channel A amplitude.
False OFF, channel B amplitude independent of channel A.
Description This command sets channel "B" amplitude to the same amplitude as set for channel
"A".
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Gen.ChAOutput = True
AP.Gen.ChBOutput = True
AP.Gen.ChAAmpl("Vrms") = 1
AP.Gen.ChBTrackA = 1
AP.Gen.Output = True
AP.Anlr.ChAInput = 2
AP.Anlr.ChBInput = 2
AP.Anlr.ChALevelSettling(1, .000025, "V", 3, _
.03, 1)
AP.Anlr.ChBLevelSettling(1, .000025, "V", 3, _
.03, 1)
AP.Anlr.ChALevelTrig
AP.Anlr.ChBLevelTrig
Do
ReadyA = AP.Anlr.ChALevelReady
ReadyB = AP.Anlr.ChBLevelReady
Loop Until ReadyA > 0 And ReadyB > 0
ReadingA = AP.Anlr.ChALevelRdg("V")
ReadingB = AP.Anlr.ChBLevelRdg("V")
AP.Gen.Config Property
Syntax AP.Gen.Config
Data Type Integer
0 Bal - Float.
1 Bal - Gnd.
2 Unbal - Float.
3 Unbal - Gnd.
4 CMTST.
Description This command sets both outputs to balanced or unbalanced, grounded or floating, or
it sets both to common mode test configuration.
Note that the output impedance may change between balanced and unbalanced.
It is possible for this command to cause an amplitude error since the maximum al-
lowable amplitude in the unbalanced configurations is half that for the balanced
configuration.
This command sets both outputs to grounded or floating.
This command sets both outputs to a common mode test configuration.
See Also AP.Gen.Impedance
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Gen.Config = 0 'Set output configuration to _
balanced floating.
AP.Gen.Impedance = 2 'Set generator output _
impedance to 600 ohms.
AP.Gen.Output = True
AP.Anlr.ChBRangeAuto = 0 'Set input ranging to fixed.
AP.Anlr.ChBRange("V") = 2.5 'Set input range to _
2.5 Volts.
AP.Anlr.ChBInput = 0 'Set anlr input to INPUT(XLR).
AP.Anlr.ChBImpedance = 1 'Set Cha A input _
Z to 600 ohms.
AP.Anlr.FuncInput = 1 'Set Function Meter _
Cha to B.
AP.Anlr.FuncSettling(1, .000002, "V", 4, .05, 1)
AP.Anlr.FuncTrig
Do
Ready = AP.Anlr.FuncReady
Loop Until Ready > 0
Reading1 = AP.Anlr.FuncRdg("dBm")
Debug.Print "Channel B Amplitude = ";Format _
(Reading1, "#.0000");" dBm"
AP.Anlr.ChBRangeAuto = 1 'Set input ranging to auto.
End Sub
Output Channel B Amplitude = .0199 dBm
AP.Gen.DACBandwidth Property
Syntax AP.Gen.DACBandwidth
Data Type Integer
0 30 kHz
1 50 kHz
Description This command sets the Analog Generator Digital to Analog converter Bandwidth
for all (D/A) waveforms except Arb Wfm (D/A), MLS (D/A), and Special Pass
Thru.
See Also AP.Gen.Wfm
Example Sub Main
AP.Application.NewTest
AP.Gen.Wfm 1, 0
AP.Gen.Freq("Hz") = 30000.0
AP.Gen.DACBandwidth = 0 'Set DAC to 30k Bandwidth
AP.Gen.Output = True
AP.Anlr.ChAInput = 2
AP.Anlr.FuncMode = 4
AP.Anlr.FuncSettling(5, .0002, "%", 3, .05, 1)
AP.Anlr.FuncTrig 'Trigger new reading
Do
Ready = AP.Anlr.FuncReady 'Get status.
Loop Until Ready > 0
Reading1 = AP.Anlr.FuncRdg("%") 'Get settled reading.
Debug.Print "DAC THD" & Chr$(43) & "N at 30k BW = _
";Format(Reading1, "#.00000");" %"
AP.Gen.DACBandwidth = 1 'Set DAC to 60k Bandwidth
AP.Anlr.FuncTrig 'Trigger new reading
Do
Ready = AP.Anlr.FuncReady 'Get status.
Loop Until Ready > 0
Reading1 = AP.Anlr.FuncRdg("%") 'Get settled reading.
Debug.Print "DAC THD" & Chr$(43) & "N at 60k BW = _
";Format(Reading1, "#.00000");" %"
End Sub
Example DAC THD+N at 30k BW = .00328 %
Output
DAC THD+N at 60k BW = .00162 %
AP.Gen.DACSampleRate Property
Syntax AP.Gen.DACSampleRate
Data Type Integer
0 65536
1 131072
2 SSR (System Sample Rate)
3 ISR (Input Sample Rate)
Description This command sets the Digital to Analog converter sample rate for the Arb Wfm
(D/A), and MLS (D/A) waveforms selected with the AP.Gen.Wfm command.
See Also AP.Gen.Wfm
AP.Gen.DualAmplRatio Property
AP.Gen.EqCurve Method
Syntax AP.Gen.EqCurveFilename
Data Type Integer Any valid DOS filename and extension.
Description This command returns the File Name of the attached file used for the Analog Gener-
ator EqCurve waveform selection.
See Also AP.Gen.EqCurve, AP.Gen.EqCurveColumn
AP.Gen.Freq Property
AP.Gen.FreqAccuracy Property
Syntax AP.Gen.FreqAccuracy
Data Type Integer
0 Set frequency accuracy mode to Fast. Fast mode
produces the most rapid frequency settling along with
frequency accuracy and resolution suitable for nearly all
audio tests.
1 Set frequency accuracy mode to High Accuracy. High
accuracy mode provides greater accuracy and resolution,
but requires from 150 milliseconds (above 50Hz) to 750
milliseconds (at 10Hz) for complete settling each time the
frequency is changed.
Description This command sets the frequency accuracy mode.
Fast mode produces the most rapid frequency settling along with frequency accu-
racy and resolution suitable for nearly all audio tests. High accuracy mode provides
greater accuracy and resolution, but requires from 150 milliseconds (above 50 Hz)
to 750 milliseconds (at 10 Hz) for complete settling each time the frequency is
changed.
Note that this command does not cause an immediate frequency calibration. The cali-
bration will be done at the next call to AP.Gen.Freq.
See Also AP.Gen.Freq
Example See the example macro for AP.Gen.Freq.
AP.Gen.IMCenterFreq Property
AP.Gen.IMFreq Property
For a DIM mode waveform, this command has no effect. The frequencies are deter-
mined by the DIM mode selected. (See: AP.Gen.Wfm)
Because of frequency limitations, the actual frequency set may not be exactly what
was requested. Therefore, when setting the IM Frequency it is important to check
the returned frequency, and to use that value as the actual IM Frequency setting of
the generator.
See Also AP.Gen.Wfm, AP.Gen.IMCenterFreq, AP.Gen.IMHighFreq
Example Sub Main
AP.Application.NewTest
AP.Gen.Wfm(2,1)
AP.Gen.IMHighFreq("Hz") = 7000
AP.Gen.IMFreq("Hz") = 60
AP.Gen.Output = True
AP.Anlr.ChAInput = 2
AP.Anlr.FuncMode = 5
AP.Anlr.FuncInput = 0
AP.Anlr.FuncSettling(3, .00003, "%", 3, .05, 1)
AP.Anlr.FuncTrig
Do
Ready = AP.Anlr.FuncReady
Loop Until Ready > 0
Reading1 = AP.Anlr.FuncRdg("%")
Debug.Print "SMPTE 4:1 = ";Format(Reading1, "#.0000");"
%"
End Sub
Output SMPTE 4:1 = .0010 %
AP.Gen.IMHighFreq Property
AP.Gen.Impedance Property
Syntax AP.Gen.Impedance
The following list contains the selections relevant to the AP.Gen.Config com-
mand for the Un-Balanced selections.
0 20
1 600
Description This command controls the output impedance for Balanced and Un-Balanced genera-
tor output configurations.
See Also AP.Gen.Config
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Gen.Config = 0 'Set output configuration _
to balanced floating.
AP.Gen.Impedance = 2 'Set generator output _
impedance to 600 ohms.
AP.Gen.Output = True
AP.Anlr.ChBRangeAuto = 0 'Set input ranging to fixed.
AP.Anlr.ChBRange("V") = 2.5 'Set input range to _
2.5 Volts.
AP.Anlr.ChBInput = 0 'Set anlr input to INPUT(XLR).
AP.Anlr.ChBImpedance = 1 'Set Cha B input Z _
to 600 ohms.
AP.Anlr.FuncInput = 1 'Set Function Meter _
Cha to B.
AP.Anlr.FuncSettling(1, .000002, "V", 4, .05, 1)
AP.Anlr.FuncTrig
Do
Ready = AP.Anlr.FuncReady
Loop Until Ready > 0
Reading1 = AP.Anlr.FuncRdg("dBm")
Debug.Print "Channel B Amplitude = ";Format _
(Reading1, "#.0000");" dBm"
Anlr.ChBRangeAuto = 1 'Set input ranging to auto.
End Sub
Output Channel B Amplitude = .0199 dBm
AP.Gen.MlsLength Property
Syntax AP.Gen.MlsLength
Data Type Integer
0 32k
1 128k
Description This command sets the Digital Genrator MLS sequence length.
See Also AP.DGen.MlsLength
Example Sub Main
AP.Gen.MlsLength = 1
'Sets the MLS sequence length to 128k
End Sub
AP.Gen.Output Property
Syntax AP.Gen.Output
Data Type Boolean
True ON
False OFF
Description This command sets the Analog Generator channel A and B outputs to ON or OFF if
they have been individually enabled by the AP.Gen.ChAOutput and AP.Gen.
ChBOutput commands.
See Also AP.Gen.ChAOutput, AP.Gen.ChBOutput, AP.Gen.AutoOn
Example See example for AP.Gen.ChAAmpl.
AP.Gen.Phase Property
AP.Gen.RefdBm Property
AP.Gen.RefdBr Property
AP.Gen.RefdBrAuto Method
Syntax AP.Gen.RefdBrAuto
Result Boolean
True dBr reference set.
False dBr reference not set.
Description This command sets the generator dBr reference field to the current generator Ampli-
tude setting. If the command is successful a boolean True is returned. If the com-
mand is not successful a boolean False is returned.
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Gen.ChAAmpl("dBV") = 0
AP.Gen.RefdBrAuto
AP.Gen.Output = True
AP.Anlr.ChAInput = 2
AP.Anlr.FuncMode = 0
AP.Anlr.FuncInput = 0
AP.Anlr.FuncSettling(1, .000002, "V", 4, .05, 1)
AP.Anlr.FuncTrig
Do
Ready = AP.Anlr.FuncReady
Loop Until Ready > 0
Reading1 = AP.Anlr.FuncRdg("dBV")
Debug.Print "Channel A Amplitude =";Format$ _
(Reading1,"#.000000");" dBV"
End Sub
Output Channel A Amplitude = 1.974047 dBV
AP.Gen.RefFreq Property
AP.Gen.RefFreqAuto Method
Syntax AP.Gen.RefFreqAuto
Result Boolean
True Frequency reference set.
False Frequency reference not set.
Description This command sets the generator frequency reference field to the current generator
frequency setting. If the command is successful a boolean True is returned. If the
command is not successful a boolean False is returned.
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Gen.Output = True
AP.Gen.RefFreqAuto
AP.Gen.ChAFreq("dHz") = 2000 'Increase frequency _
2kHz.
AP.Anlr.ChAInput = 2
AP.Anlr.ChAFreqSettling(.5, .0002, "Hz", 3, .03, 1)
AP.Anlr.ChAFreqTrig
Do
Ready = AP.Anlr.ChAFreqReady
Loop Until Ready > 0
Reading1 = AP.Anlr.ChAFreqRdg("Hz")
Debug.Print "Frequency A ="; _
Format$(Reading1,"#.000000");" Hz"
End Sub
Output Frequency A = 2998.543549 Hz
AP.Gen.RefWatts Property
AP.Gen.Wfm Method
3 IMD (D/A)
0 SMPTE/DIN 4:1
1 CCIF/DFD
2 SMPTE/DIN 1:1
3 DIM 30
4 DIM B
5 DIM 100
4 Square
5 Noise
0 Pink - Pseduo
1 White - Pseduo
2 Pink BP - Pseduo
3 Pink - Random
4 White - Random
5 Pink BP - Random
6 Burst USASI
6 Arb Wfm (D/A)
7 MLS (D/A)
0 Pink #1
1 Pink #2
2 Pink #3
3 Pink #4
4 White #1
5 White #2
6 White #3
7 White #4
8 Special (D/A)
0 Polarity
1 Pass Thru
9 Square (D/A)
10 Noise (D/A)
Description This command selects the Analog Generator waveform. The table above shows the
possible settings for the AP.Gen.Wfm command.
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Gen.Wfm(2,2)
AP.Gen.ChAFreq("Hz") = 13500
AP.Gen.IMFreq("Hz")= 1000
AP.Gen.Output = True
AP.Anlr.ChAInput = 2
AP.Anlr.FuncMode = 6
AP.Anlr.FuncInput = 0
AP.Anlr.FuncSettling(1, .00003, "%", 3, .05, 1)
AP.Anlr.FuncTrig
Do
Ready = AP.Anlr.FuncReady
Loop Until Ready > 0
Reading1 = AP.Anlr.FuncRdg("dB")
Debug.Print "CCIF = ";Format(Reading1,"#.0000");" dB"
End Sub
Output CCIF = -118.5611 dB
AP.Gen.WfmName Property
Syntax AP.Gen.WfmName
Data Type String Long Path and File Names permitted up to 128
characters.
Description This command loads the designated arbitrary waveform file (.AGM or .AGS) into
the Digital Generator. The file must be an AP waveform file (.agm or .ags).
Note: This command can also be used to control the Digital Generator arbitrary
waveform file selection.
See Also AP.Gen.Wfm
Syntax AP.Graph.Comment
Data Type String ASCII charactors.
Description This command transfers the ASCII charactors to or from the comment section in the
Graph panel to a string variable.
See Also AP.Graph.CommentShow
Example Public Comment As String
Sub Main
AP.Application.NewTest
AP.File.OpenTest("COMMENT.AT2C")
'Display Comment area In Graph
AP.Graph.CommentShow = True
Comment = "Run Test"
DisplayDialog:
Begin Dialog UserDialog 170,84,.DlgHandler
PushButton 20,14,130,21,"&Run Test",.PushButton1
CancelButton 20,56,130,21
End Dialog
Dim dlg As UserDialog
Select Case Dialog (dlg) 'Display User Dialog
Case 0
'Remove Comment area from Graph
AP.Graph.CommentShow = False
End
Case 1
AP.Graph.Comment = "Test Running"
Wait .5
AP.Sweep.Start
Errors = AP.Data.LimitError(0)'Check for err
If Errors >0 Then
Comment = "Test FAILED"
Else
Comment = "Test PASSED"
End If
End Select
GoTo DisplayDialog
End Sub
AP.Graph.CommentAppend Method
AP.Graph.CommentShow Property
Syntax AP.Graph.CommentShow
Data Type Boolean
True Display Comment section.
False Remove Comment section from view.
Description This command displayes or removes from view the comment section in the Graph
panel
See Also AP.Graph.Comment
Example See example for AP.Graph.Comment.
AP.Graph.CompanyNameShow Property
Syntax AP.Graph.CompanyNameShow
Data Type Boolean
True Display Company Name in the graph window title bar.
False Remove Company Name from the graph window title bar.
Description This command displays or removes the company name from the title bar on the
graph window.
See Also AP.Graph.CommentShow
Example See example for AP.Graph.Comment.
AP.Graph.CopyToSweepPanel Method
Syntax AP.Graph.CopyToSweepPanel
Description This command transfers the current graphic display vertical (Top/Bottom) and hori-
zontal (Start/Stop) axis values to the Sweep panel Data 1, Data 2, and Sweep 1 set-
tings.
Example Sub Main
AP.Application.NewTest 'New Test
AP.Gen.Output = True 'Generator Output ON
AP.Anlr.ChAInput = 2 'Analyzer Ch A Input to GenMon
AP.Anlr.ChBInput = 2 'Analyzer Ch B Input to GenMon
AP.Anlr.FuncMode = 3 'Analyzer Function Meter _
to THD+N Ampl
AP.Graph.CursorPosition Property
AP.Graph.CursorRow Property
AP.Graph.CursorsOn Property
AP.Graph.CursorValue Property
AP.Graph.Label Property
AP.Sweep.Start
AP.Graph.Title = "Title and Labels Example"
AP.Graph.LabelAuto(apbAxisLeft) = False
AP.Graph.Label(apbAxisLeft) = "Left"
AP.Graph.LabelAuto(apbAxisBottom) = False
AP.Graph.Label(apbAxisBottom) = "Bottom"
AP.Graph.LabelAuto(apbAxisRight) = False
AP.Graph.Label(apbAxisRight) = "Right"
AP.Graph.LabelAuto(apbAxisTop) = False
AP.Graph.Label(apbAxisTop) = "Top"
End Sub
AP.Graph.LabelAuto Property
AP.Graph.Legend.Comment Property
AP.Graph.TraceShow(1, 1) = True
AP.Graph.Legend.LineThickness(1, 1) = 1
AP.Graph.Legend.LineStyle(1, 1) = apbSolid
AP.Graph.Legend.Comment(1, 1) = "Trace Comment."
End Sub
AP.Graph.Legend.LineColor Property
AP.Graph.Legend.LineStyle Property
AP.Graph.Legend.LineThickness Property
AP.Graph.OptimizeIndividually Method
Syntax AP.Graph.OptimizeIndividually
Description This command optimizes the graph to display all data.
See Also AP.Graph.OptimizeLeft, AP.Graph.OptimizeRight, AP.Graph.
OptimizeTogether
Example See example for AP.Graph.CopyToSweepPanel.
AP.Graph.OptimizeLeft Method
Syntax AP.Graph.OptimizeLeft
Description This command optimizes the graph to display the data on the Left axis (Data 1).
See Also AP.Graph.OptimizeIndividually, AP.Graph.OptimizeRight, AP.
Graph.OptimizeTogether
Example See example for AP.Graph.CopyToSweepPanel.
AP.Graph.OptimizeRight Method
Syntax AP.Graph.OptimizeRight
Description This command optimizes the graph to display the data on the Right axis (Data 2).
See Also AP.Graph.OptimizeIndividually, AP.Graph.OptimizeLeft, AP.
Graph.OptimizeTogether
Example See example for AP.Graph.CopyToSweepPanel.
AP.Graph.OptimizeTogether Method
Syntax AP.Graph.OptimizeTogether
Description This command optimizes the graph to display all data (both Data 1 and Data 2) us-
ing the same vertical axis values (Top and Bottom).
See Also AP.Graph.OptimizeIndividually, AP.Graph.OptimizeLeft, AP.
Graph.OptimizeRight
Example See example for AP.Graph.CopyToSweepPanel.
AP.Graph.RefDataClear Method
Syntax AP.Graph.RefDataClear
Description This command clears all Reference Data from memory. Clearing nonexistent Refer-
ence Data does not produce an error.
See Also AP.Graph.RefDataShow, AP.Graph.RefDataStore
Example Sub Main
AP.Graph.RefDataClear
AP.Application.NewTest
AP.AGen.OutputOn = True
AP.AnalogIn.Source(apbChA) = apbAnalogInGenMon
AP.Sweep.Start
AP.Graph.Data(1).LogLin = apbLin
AP.Graph.RefDataStore
AP.Graph.RefDataShow = True
AP.Graph.OptimizeLeft
AP.Graph.CopyToSweepPanel
AP.Sweep.Start
End Sub
AP.Graph.RefDataShow Property
Syntax AP.Graph.RefDataShow
Data Type Boolean
True Display Reference Data.
False Remove Reference Data from view.
Description This command makes the Reference Data visible or invisible on the graph.
See Also AP.Graph.RefDataClear, AP.Graph.RefDataStore
Example See example for AP.Graph.RefDataClear.
AP.Graph.RefDataStore Method
Syntax AP.Graph.RefDataStore
Description This command adds the Sweep Data currently in memory to Reference Data mem-
ory.
See Also AP.Graph.RefDataClear, AP.Graph.RefDataShow
Example See example for AP.Graph.RefDataClear.
AP.Graph.ScrollBarsOn Property
Syntax AP.Graph.ScrollBarsOn
Data Type Boolean
True Display Scroll Bars.
False Remove Scroll Bars from view.
Description This command makes the Scroll Bars visible or invisible on the graph.
AP.Graph.Sweeps Method
Syntax AP.Graph.Sweeps
Data Type Integer
Description This command returns the number of Sweeps contained in the current data set.
See Also AP.Graph.SweepTraces
AP.Graph.SweepShow Property
AP.Graph.SweepTraces Method
Syntax AP.Graph.SweepTraces
AP.Graph.TimeDateShow Property
Syntax AP.Graph.TimeDateShow
Data Type Boolean
True Display Time and Date.
False Remove Time and Date from view.
Description This command displays or removes from view the Time and Date in the title bar sec-
tion in the Graph panel.
See Also AP.Graph.Title
AP.Graph.Title Property
Syntax AP.Graph.Title
Data Type String ASCII characters.
Description This command transfers the ASCII characters between the Title section in the Graph
panel and a string variable.
See Also AP.Graph.TimeDateShow
AP.Graph.TraceShow Property
AP.Graph.ZoomOriginal Method
Syntax AP.Graph.ZoomOriginal
Data Type Void
Description This command replaces the current zoomed-in view with the graph coordinates in
use when the most recent sweep was started, or with the default initial graph coordi-
nates if no sweep has yet been made since AP2700 was launched.
See Also AP.Graph.ZoomOut
AP.Graph.ZoomOut Method
Syntax AP.Graph.ZoomOut
Data Type Void
Description This command causes the most recent zoom view to be replaced with the previous
one. If you have zoomed repeatedly, the coordinates of each zoom have been saved
in sequence in a stack. You may then Zoomout repeatedly to work back up through
the stack, viewing the series of zoomed views in reverse order.
See Also AP.Graph.ZoomOriginal
AP.Log.AddEntryWithoutTimeDate Method
AP.Log.Clear Method
Syntax AP.Log.Clear
Description This command clears the contents of the current log file.
Example See example for AP.Log.AddEntry.
AP.Log.Data Property
Syntax AP.Log.Data
Data Type Integer
0 None
1 All
2 Failed data only
Description This command controls whether no test point values (None), all test point values
(All), or only those test points which were outside limits (Failed Data Only) are writ-
ten into the log file. Any values written into the log file which were outside limits
will have parenthesis at the end with the (less than) or (greater than) symbol and the
value of the limit which they failed.
Example See example for AP.Log.AddEntry.
AP.Log.Enable Property
Syntax AP.Log.Enable
Data Type Boolean
True Enable
False Disable
Description This command when enabled controls whether logging actually takes place. If dis-
abled, no logging takes place
Example See example for AP.Log.AddEntry.
AP.Log.ErrorMessages Property
Syntax AP.Log.ErrorMessages
AP.Log.FileActivity Property
Syntax AP.Log.FileActivity
Data Type Boolean
True Enable
False Disable
Description This command when enabled will enter into the log file a text message for every
disk file opened or every file saved to disk. The message includes the name and full
path name of the file, and the date and time at which it was opened or saved.
Example See example for AP.Log.AddEntry.
AP.Log.FileName Property
Syntax AP.Log.FileName
Data Type String
Description This command defines the file name to use for the log file.
Example See example for AP.Log.AddEntry.
AP.Log.GraphTitle Property
Syntax AP.Log.GraphTitle
Data Type Boolean
True Enable
False Disable
Description This command when enabled logs the Graph Title, and the Time and Date at which
the test was executed, exactly as they are displayed in the title bar of the graph.
Example See example for AP.Log.AddEntry.
AP.Log.PassFailMessages Property
Syntax AP.Log.PassFailMessages
Data Type Boolean
True Enable
False Disable
Description This command when enabled causes an error summary message to be written into
the log file each time a test is run. The first word of the message will be PASS or
FAIL (See example for AP.Log.AddEntry). Following a colon (:) the error mes-
sage will include the number of measurements which where below the lower limit,
the number of measurements that were above the upper limit, and the number of
timeouts which occurred. If disabled, no error message is written to the error file.
Example See example for AP.Log.AddEntry.
AP.Log.PrintLogFile Method
Syntax AP.Log.PrintLogFile
Description This command loads the NOTEPAD application and prints the current log file and
then closes the NOTEPAD application.
Example Sub Main
AP.Log.Enable = True
'Enable logging.
AP.Log.FileName = "S2-22CK.ALG"
'Set log file to _
"S2-22CK.ALG"
AP.Log.ErrorMessages = True 'Log error messages.
AP.Log.FileActivity = True
'Log File Input/Out.
AP.Log.PassFailMessages = True 'Log Pass/Fail
messages.
AP.Log.TestName = True 'Log test name.
AP.Log.GraphTitle = True 'Log graph title.
AP.Log.Data = 1 'Log all data.
AP.Log.Clear 'Clear log file.
AP.Log.AddEntry "Amplitude Linearity."
AP.File.OpenTest "AMPLIN.AT2C"
'Open test.
AP.Sweep.Start
'Start sweep.
AP.Log.PrintLogFile 'Print log file.
End Sub
AP.Log.TestName Property
Syntax AP.Log.TestName
Data Type Boolean
True Enable
False Disable
Description This command when enabled logs the test name, including path name, of the test
when executed.
Example See example for AP.Log.AddEntry.
AP.Log.View Method
Syntax AP.Log.View
Description This command loads the NOTEPAD application and displays the current log file.
Example See example for AP.Log.AddEntry.
Syntax AP.Macro.IsRunning
Result Boolean
True AP Basic Macro running.
False AP Basic Macro not running.
Description This command returns the status of the AP Basic macro.
Example Private Sub Form_Load()
Dim AP As Object
'Create OLE link to AP2700.
Set AP = CreateObject("AP2700.Application")
AP.Application.Visible = True ' Make AP2700 visable
AP.Macro.Name Method
Syntax AP.Macro.Name
Result Boolean ASCII charactors.
Description This command returns the AP Macro Editor Name. This text string is located in the
upper left corner of the AP Macro/Procedure Editor before the Macro/Procedure
name. This string is usefull when using the AppActivate command in the Language
reference section of AP Basic.
See Also AP.Application.Name
Example Sub Main
AP.Application.VisibleMacroEditor(True)
'Restore Macro Editor.
AppActivate AP.Application.Name
'Select the AP2700 window
'The following SendKey command will now be sent _
to the AP2700 application.
SendKeys "%WC",1 'Clear all windows on page.
SendKeys "%PO",1 'Display Data Editor.
AppActivate AP.Macro.Name 'Change focus back to _
the Procedure/Macro editor
End Sub
Syntax AP.Print.Data
Result Boolean
True Printout of tabular data successful.
False Printout of tabular data failed.
Description This command prints the data displayed in the Data Editor in tabular format. The
Data Editor is automatically displayed on the current page if it is not displayed on at
least one of the five control software Pages. The printer is defined by the settings on
the File, Print Setup menu.
See Also AP.Print.Graph
Example Sub Main
'Load test containing measurement data
AP.File.OpenTest("GRAPH.AT2C")
AP.Application.PanelOpen apbPanelDataEditor
AP.Sweep.Start
AP.Print.Data 'Print Data in tabular form
End Sub
AP.Print.Graph Method
Syntax AP.Print.Graph
Result Boolean
True Printout of graphic data successful.
False Printout of graphic data failed.
Description This command sends the graph as defined by the settings on the File, Page Setup
menu to the selected printer as define by the File, Print Setup menu. A graph must
be displayed on at least one of the five control software pages to print or preview
the graph.
See Also AP.Print.LoadFromTest
Example Sub Main
'Load test containing graph setup
AP.File.OpenTest("GRAPH.AT2C")
AP.Print.LoadFromTest
AP.File.OpenTest("TEST.AT2C")
AP.Sweep.Start
AP.Print.Graph
End Sub
AP.Print.LoadFromTest Method
Syntax AP.Print.LoadFromTest
Result Boolean
True Page Setup settings loaded from test file.
False Page Setup settings not loaded from test file.
Description This command loads the page setup settings from the currently loaded test. The print-
out settings are global and can only be changed via this command or manually via
the user interacting with the Page Setup menu. This allows the system to produce
graphic printouts that have a consistent format over many different tests. Loading a
test doesn't automatically update the Page Setup menu and change the graphic
output.
See Also AP.Print.Graph
Example See example macro AP.Print.Graph.
AP.Print.TrackGraph Property
Syntax AP.Print.TrackGraph
Data Type Boolean
True Use Graph Trace settings.
False Use settings defined on Page Setup menu.
Description This command causes the printout Color, Line Style, and Thickness to automatically
track the settings used in the Graph Window legend. A graph must be displayed on
at least one of the five APWIN Pages to print or preview the graph.
See Also AP.Print.LoadFromTest
Example Sub Main
AP.Application.NewTest 'Start with New Test
AP.Print.TrackGraph = True 'Have graph printout _
track graph panel legend settings
AP.Gen.Output = True 'Turn On Analog Generator
AP.Anlr.ChAInput = 2 'Have Analog Analyzer _
monitor Generator Channel A
AP.Anlr.FuncFilterHP = 3 'Select 400Hz High Pass _
Filter
AP.Sweep.Start 'Run Sweep
AP.Print.Graph 'Print graph
End Sub
Syntax AP.Prompt.BackColor
Data Type Long
Description This command sets the background color for the current user prompt using the
RGB( red, green , blue) function. Set R, G, and B to a value between 0 (off) to 255
(full intensity).
See Also AP.Prompt.TextColor
Example Sub Main
With AP.Prompt
.BackColor = RGB(0,0,255)
'Set background to blue
.TextColor = RGB(0,255,0)
'Set background to green
.Justify = 1
'Center text
.Title = "AP2700.Prompt"
.FontSize = 8
'Set font size to 8 points
.Position(-1,-1,220,140)
'Set location and size
.Show
'Show prompt
Shown = .IsUp
Wait 5
'Wait 5 seconds
.Hide 'Hide prompt
.FontName = "Courier"
'Set font name to Courier
.FontSize = 7
'Set font size to 7 points
.Justify = 0
'Justify text to the left
Shown = .IsUp
.Text = .FontName & "Font Used for this Prompt."
& vbCrLf & "Show until the Continue Macro button
is selected below."
AP.Prompt.FontName Property
Syntax AP.Prompt.FontName
Data Type String
Description This command sets the character text font for the current user prompt.
Example See example macro AP.BackColor.
AP.Prompt.FontSize Property
Syntax AP.Prompt.FontSize
Data Type Double Default size = 16.
Description This command sets the font size of the characters used in the User Prompt.
Example See example macro AP.BackColor.
AP.Prompt.Hide Method
Syntax AP.Prompt.Hide
Description This command removes the user prompt from view.
Example See example macro AP.BackColor.
AP.Prompt.IsUp Method
Syntax AP.Prompt.IsUp
Result Boolean
True User prompt is displayed.
False User prompt is NOT displayed.
Description This command returns the current status of the user prompt.
Example See example macro AP.BackColor.
AP.Prompt.Justify Property
Syntax AP.Prompt.Justify
Data Type Integer
0 Left
1 Center
2 Right
Description This command sets the text justification mode for the current user prompt.
Example See example for AP.Prompt.BackColor
AP.Prompt.Position Method
AP.Prompt.Show Method
Syntax AP.Prompt.Show
Description This command displays the user prompt.
See Also (Language Reference) Stop Instruction
Example See example macro AP.BackColor.
AP.Prompt.ShowWithContinue Method
Syntax AP.Prompt.ShowWithContinue
Description This command displays the current user prompt window with a continue button.
See Also (Language Reference) Stop Instruction
AP.Prompt.ShowWithContinueAndStopSweep Method
Syntax AP.Prompt.ShowWithContinueAndStopSweep
Description This command displays the current user prompt window with a continue button.
When the continue button is selected a sweep if running is terminated.
See Also (Language Reference) Stop Instruction
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Gen.Output = True
AP.Anlr.ChAInput = 1
AP.Anlr.FuncMode = 0
AP.Anlr.FuncInput = 0
With AP.Prompt
.Text = "Press the Continue button to STOP _
the SWEEP and continue the Macro."
.FontSize = 8 'Set font size to 8 point.
.Position (-1,-1,180,120) 'Set location and
size.
'Display prompt with Continue and also stop
the current sweep.
.ShowWithContinueAndStopSweep
AP.Sweep.Start
'Start Sweep.
.Text = "Press the Continue button to END
the Macro."
.FontSize = 8
'Set font size to 8 point.
.Position (-1,-1,200,100)
'Set location and size.
.ShowWithContinue
'Display prompt with Continue.
Stop
End With
End Sub
AP.Prompt.Text Property
Syntax AP.Prompt.Text
Data Type String User defined string.
Description This command defines the string to be displayed in a user prompt.
Example See example macro AP.BackColor.
AP.Prompt.TextColor Property
Syntax AP.Prompt.TextColor
Data Type Long
Description This command sets the text color for the current user prompt using the RGB( red,
green , blue) function. Set R, G, and B to a value between 0 (off) to 255 (full inten-
sity).
See Also AP.Prompt.BackColor
Example See example macro AP.BackColor.
AP.Prompt.Title Property
Syntax AP.Prompt.Title
Data Type String User defined string.
Description This command transfers ASCII charactors to or from the Title section in a Prompt
panel to a string variable.
See Also AP.Graph.Title
Example See example macro AP.BackColor.
Syntax AP.Reg.IsRunning
Result Boolean
True Regulation process running.
False Regulation process not running.
Description This command returns the status of the Regulation process.
See Also AP.Macro.LoadFromTest
Example Sub Main
AP.Application.NewTest
AP.Gen.ChAAmpl("dBV") = 0.0
AP.Application.PanelOpen apbPanelRegulation
'Regulate Analyzer Level A to -80 dBV to within a _
Tolerance 1.0dB
AP.Reg.TargetID = 5903 'Regulate Analyzer Level A _
to -80 dBV to within a Tolerance 1.0dB
AP.Reg.TargetValue("dBV") = -80.000000
AP.Reg.TargetToleranceMode = 1 'Tolerance Mode dB
AP.Reg.TargetTolerance("dB") = 1.0
'Tolerance 1.0dB
AP.Reg.SourceHigh Property
AP.Reg.SourceId Property
Syntax AP.Reg.SourceId
Data Type Long Instrument Parameter ID#.
Description This command is used to select the measurement parameter which will define set-
tings used in the regulation process.
Refer to Appendix B to obtain instrument parameter identification numbers.
Example Sub Main
AP.File.OpenTest "REG3.AT2C"
AP.Reg.SourceID = 5051 'Set Source To GenFreq
AP.Reg.TargetID = 5906 'Set Source to AnlrAmpl
AP.Reg.SourceOperation = 1 'Set Operation to +Normal
AP.Reg.SourceStepSize("%") = 2 'Set Stepsize to 2%
AP.Reg.SourceIteration = 30 'Set iterations to 30
AP.Reg.TargetToleranceMode = 0 'Tolerance Mode to %
AP.Reg.TargetValue("dBrA") = -3 'Tolerance
to -3
AP.Reg.TargetTolerance("%") = 5 'Tolerance units %
AP.Reg.SourceHigh("Hz") = 5000 'High Bound to 5kHz
AP.Reg.SourceLow("Hz") = 200 'Low Bound to 20 Hz
AP.Reg.SweepEnable = False 'Don't Regulate each _
step in sweep.
AP.Reg.Timeout = 2.0 'Terminate _
regulation process if timed out
AP.Reg.Start 'Start Regulation
End Sub
AP.Reg.SourceIteration Property
Syntax AP.Reg.SourceIteration
Data Type Long
Description This command sets the number of Source Iterations. Iterations limit the maximum
number of regulation attempt steps the source will make before exiting the search
and moving on.
See Also AP.Reg.SourceOperation
Example See example for AP.Reg.SourceId.
AP.Reg.SourceLow Property
AP.Reg.SourceOperation Property
Syntax AP.Reg.SourceOperation
Data Type Integer
AP.Reg.SourceStepSize Property
AP.Reg.Start Method
Syntax AP.Reg.Start
Description This command initiates a regulation process.
Example See example for AP.Reg.SourceId.
AP.Reg.StartNoWait Method
AP.Reg.SweepEnable Property
Syntax AP.Reg.SweepEnable
Data Type Boolean
True Enable regulation for each sweep step.
False Disable regulation for each sweep step.
Description This command enables or disables regulation before each step in a sweep.
See Also AP.Reg.Start
Example See example for AP.Reg.SourceId.
AP.Reg.TargetId Property
Syntax AP.Reg.TargetId
Data Type Long Instrument Parameter ID#.
Description This command is used to select the measurement parameter which will return read-
ings used in the regulation process.
Refer to Appendix B to obtain instrument parameter identification numbers.
Example See example for AP.Reg.SourceId.
AP.Reg.TargetTolerance Property
AP.Reg.TargetToleranceMode Property
Syntax AP.Reg.TargetToleranceMode
Data Type Integer
0 %
1 dB
2 Abs
Description This command selects the type of units the regulation algorithm uses to specify the
Target Tolerance.
See Also AP.Reg.TargetTolerance, AP.Reg.TargetValue
Example See example for AP.Reg.SourceId.
AP.Reg.TargetValue Property
AP.Reg.TimeOut Property
Syntax AP.Reg.Timeout
Data Type Double
Description This command sets the period of time allowed to complete each regulation process.
Example See example for AP.Reg.SourceId.
AP.S2CDio.ChAPeakRdg Property
'...
Loop
rdgA = AP.S2CDio.ChAPeakRdg("FFS") 'Get channel A _
peak reading
rdgB = AP.S2CDio.ChBPeakRdg("FFS") 'Get channel B _
peak reading
AP.Prompt.Text = "Ch A = " & rdgA & " FFS" & _
Chr(13) & "Ch B = " & rdgB & " FFS"
AP.Prompt.ShowWithContinue
Stop
End Sub
AP.S2CDio.ChAPeakReady Property
Syntax AP.S2CDio.ChAPeakReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Digital Input/Output channel A Peak Monitor meter unset-
tled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDio.
ChAPeakRdg or AP.S2CDio.ChAPeakTrig commands will zero the ready
count.
If the reading is found to be ready, a call to the AP.S2CDio.ChAPeakRdg com-
mand will be guaranteed to return quickly.
See Also AP.S2CDio.ChAPeakRd, AP.S2CDio.ChAPeakTrig
Example See example for AP.S2CDio.ChAPeakRdg.
AP.S2CDio.ChAPeakTrig Method
Syntax AP.S2CDio.ChAPeakTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDio.ChAPeakRdg command. The reading in progress is aborted.
See Also AP.S2CDio.ChAPeakRdg, AP.S2CDio.ChAPeakReady
Example See example for AP.S2CDio.ChAPeakRdg.
AP.S2CDio.ChBPeakRdg Property
AP.S2CDio.ChBPeakReady Property
Syntax AP.S2CDio.ChBPeakReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Digital Input/Output channel B Peak Monitor meter unset-
tled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDio.
ChBPeakRdg or AP.S2CDio.ChBPeakTrig commands will zero the ready
count.
If the reading is found to be ready, a call to the AP.S2CDio.ChBPeakRdg com-
mand will be guaranteed to return quickly.
See Also AP.S2CDio.ChBPeakRdg, AP.S2CDio.ChBPeakTrig
Example See example for AP.S2CDio.ChAPeakRdg.
AP.S2CDio.ChBPeakTrig Method
Syntax AP.S2CDio.ChBPeakTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDio.ChBPeakRdg command. The reading in progress is aborted.
See Also AP.S2CDio.ChBPeakRdg, AP.S2CDio.ChBPeakReady
Example See example for AP.S2CDio.ChAPeakRdg.
AP.S2CDio.DelayRdg Property
Description This command returns a settled reading for the Digital Input/Output Delay from Out
meter and zeros the ready count.
See Also AP.S2CDio.DelayReady, AP.S2CDio.DelaySettling, AP.
S2CDio.DelayTrig
Example Sub Main
Dim rdgA As Double
AP.Application.NewTest
'S2Dio Delay From Out meter sample code
AP.S2CDio.DelaySettling(1.0, 100e-6, "SEC", 1, 0.0, 0)
AP.S2CDio.DelayTrig 'Trigger channel A
peak meter
Do Until AP.S2CDio.DelayReady
'perform other actions while waiting for reading
'...
Loop
rdgA = AP.S2CDio.DelayRdg("SEC")
'Get channel A _
peak reading
AP.Prompt.Text = "Delay = " & rdgA
AP.Prompt.ShowWithContinue
Stop
End Sub
AP.S2CDio.DelayReady Property
Syntax AP.S2CDio.DelayReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Digital Input/Output Delay from Out meter settled read-
ing ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDio.DelayRdg
or AP.S2CDio.DelayTrig commands will zero the ready count.
If the reading is found to be ready, a call to the AP.S2CDio.DelayRdg com-
mand will be guaranteed to return quickly.
See Also AP.S2CDio.DelayRd, AP.S2CDio.DelaySettling, AP.S2CDio.
DelayTrig
Example See example for AP.S2CDio.DelayRdg.
AP.S2CDio.DelaySettling Method
AP.S2CDio.DelayTrig Method
Syntax AP.S2CDsp.DelayTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDio.DelayRdg command. The reading in progress is aborted.
See Also AP.S2CDio.DelayRdg, AP.S2CDio.DelayReady, AP.S2CDio.
DelaySettling
Example See example for AP.S2CDio.DelayRdg.
AP.S2CDio.FlagChAInvalidRdg Method
Syntax AP.S2CDio.FlagChAInvalidRdg
Result Boolean
True Error
False Proper operation
Description This reading returns the state of the channel A Validity bit. The CH A reading is
driven directly by the V (Validity) bit defined in the Professional and Consumer stan-
dards. One Validity bit is sent in each subframe.
See Also AP.S2CDio.OutSendInvalid, AP.S2CDio.FlagChBInvalidRdg,
AP.S2CDio.FlagInvalidRdg.
Example Sub Main
AP.Application.NewTest
AP.Application.PanelOpen apbPanelDigIOSmall
AP.S2CDio.InConnector = 3
If AP.S2CDio.FlagInvalidRdg = True Then _
Debug.Print "Invalid Error"
AP.Application.PanelOpen apbPanelDigIOLarge
S2Dio.OutSendInvalid = True
Wait 1
If AP.S2CDio.FlagConfidenceRdg = True Then _
Debug.Print "Confidence Error"
AP.S2CDio.FlagChBInvalidRdg Method
Syntax AP.S2CDio.FlagChBInvalidRdg
Result Boolean
True Error
False Proper operation
Description This reading returns the state of the channel B Validity bit. The CH B reading is
driven directly by the V (Validity) bit defined in the Professional and Consumer stan-
dards. One Validity bit is sent in each subframe.
See Also AP.S2CDio.OutSendInvalid, AP.S2CDio.FlagChAInvalidRdg,
AP.S2CDio.FlagInvalidRdg.
Example See example for AP.S2CDio.FlagChAInvalidRdg.
AP.S2CDio.FlagCodingRdg Method
Syntax AP.S2CDio.FlagCodingRdg
Result Boolean
True Error
False Proper operation
Description This reading returns the status of the biphase coding for the input serial data stream.
The Coding reading indicates a deviation from proper biphase coding in the input se-
rial stream (ignoring preambles). Proper biphase signals can never remain at a logic
high or logic low level for more than two consecutive Unit Intervals (UI) except in
the preamble. The preamble deliberately deviates from biphase coding in order to
provide a unique frame synchronization signal, so preambles are excluded from the
function of the Coding indicators.
Example See example for AP.S2CDio.FlagChAInvalidRdg.
AP.S2CDio.FlagConfidenceRdg Method
Syntax AP.S2CDio.FlagConfidenceRdg
Result Boolean
True Error
False Proper operation
Description The Confidence reading returns True when the ratio between the amplitude of the
three UI long pulse and the following one UI-long pulse in a preamble becomes
large enough to cause an increasing probability of errors when slicing the received
signal into logic high and low values. This large ratio occurs when the transmission
bandwidth has been reduced to marginal or unacceptable values. Under these condi-
tions, selection of hardware input equalization (XLR with EQ or BNC with EQ
rather than XLR or BNC selections of the Input Format field) will often compensate
for the cable bandwidth reduction, and provide reliable measurements.
Example See example for AP.S2CDio.FlagChAInvalidRdg.
AP.S2CDio.FlagInvalidRdg Method
Syntax AP.S2CDio.FlagInvalidRdg
Result Boolean
True Error
False Proper operation
Description This reading uses OR logic to determine if either the channel A or channel B Valid-
ity bit is set as defined in the Professional and Consumer standards. One Validity bit
is sent in each subframe.
See Also AP.S2CDio.OutSendInvalid, AP.S2CDio.FlagChAInvalidRdg,
AP.S2CDio.FlagChBInvalidRdg.
Example See example for AP.S2CDio.FlagChAInvalidRdg.
AP.S2CDio.FlagLockRdg Method
Syntax AP.S2CDio.FlagLockRdg
Result Boolean
True Error
False Proper operation
Description The Lock reading indicates when the digital input phase-locked loop is unable to
lock to the incoming signal.
Example See example for AP.S2CDio.FlagChAInvalidRdg.
AP.S2CDio.FlagParityRdg Method
Syntax AP.S2CDio.FlagParityRdg
Result Boolean
True Error
False Proper operation
Description The Parity reading indicates a parity error in either subframe. Correct parity is deter-
mined by comparing the P (parity) bit with the sum of the remaining 31 bits in each
subframe. Any single bit error or odd number of bit errors introduced in transmis-
sion within a subframe will cause a Parity error indication, but even numbers of bit
errors cannot be detected by this technique.
Example See example for AP.S2CDio.FlagChAInvalidRdg.
AP.S2CDio.InBitsDisplay Property
Syntax AP.S2CDio.InBitsDisplay
Data Type Integer
0 Display Data bits.
1 Display Active bits.
Description This command sets the Digital Input/Output Input Bits Display mode.
AP.S2CDio.InAudioFormat Property
Syntax AP.S2CDio.InAudioFormat
Data Type Integer
0 Linear; no data expansion applied.
1 Apply μ-Law decoding to data signal.
2 Apply A-Law decoding to data signal.
Description This command selects the Audio Format for the Digital Input. The command AP.
S2CDio.InDecode has been deprecated.
See Also AP.S2CDio.OutAudioFormat
Example Sub Main
AP.S2CDio.InAudioFormat = 1 'µ-Law decode
End Sub
AP.S2CDio.InDeEmp Property
Syntax AP.S2CDio.InDeEmp
Data Type Integer
0 OFF
1 50/15us 0dB
2 50/15us + 10dB
3 J17 0dB
4 J17 + 20dB
Description This command selects the Digital Input/Output input deemphasis. CD type (50/15
us) or CCITT J17 deemphasis may be selected as desired. Either deemphasis charac-
teristic may be selected with either zero dB insertion loss at low frequencies (0 dB
selections in each case) or with a gain factor (+10 dB for 50/15us, +20 dB for J17)
to compensate for the matching headroom allowances of the Digital Generator
preemphasis AP.S2CDio.OutPreEmp capability.
See Also AP.S2CDio.OutPreEmp
Example See example for AP.S2CDio.OutConnector.
AP.S2CDio.InConnector Property
Syntax AP.S2CDio.InConnector
Data Type Integer
0 XLR (Bal): Front panel XLR digital input connector,
balanced
1 BNC (unbal): Front panel BNC digital input connector,
unbalanced
2 Optical: Front panel Toslink optical input connector
3 Gen Mon: Digital Generator XLR or BNC output connector
4 XLR w/Eq: Front panel XLR with equalization for 100
meter cable roll-off
5 BNC w/EQ: Front panel BNC with equalization for 100
meter cable roll-off
6 XLR common: Center tap of digital input transformer vs
ground
7 Serial: Rear-panel general-purpose serial input connector
8 Parallel: Rear-panel parallel input connector
9 Dual XLR (bal)
10 Dual BNC (unbal)
11 Dual XLR w/Eq
12 Dual BNC w/Eq
Description This command sets the Digital Input/Output Input source. The command AP.
S2CDio.InFormat has been deprecated.
Example See example for AP.S2CDio.ChAPeakRdg.
AP.S2CDio.InImpedance Property
Syntax AP.S2CDio.InImpedance
Data Type Integer
The following list contains the selections relevant to the AP.S2CDio.
InConnector command XLR (Bal), XLR w/EQ, XLR Common, Dual XLR
(bal), and Dual BNC w/Eq selections.
0 Hi Z
1 110 Ohms
1 75 Ohms
Description This command sets the Digital Input/Output Input Impedance based on the selection
for the AP.S2CDio.InConnector command.
Example See example for AP.S2CDio.ChAPeakRdg.
AP.S2CDio.InInput Property
Syntax AP.S2CDio.InInput
Data Type Integer
0 Select channel I XLR/BNC Input.
1 Select channel II XLR/BNC Input.
Description This command selects the Digital Input/Output Input connector. When the Digital In-
put/Output Input Format is set by the AP.S2CDio.InConnector command to
any of the XLR or BNC selections this command servies as an input switcher to se-
lect from one connector (I) or the other (II).
Example See example for AP.S2CDio.InJitterBW.
AP.S2CDio.InJitterBW Property
Syntax AP.S2CDio.InJitterBW
Data Type Integer
0 50Hz to 100kHz
1 120Hz to 100kHz
2 700Hz to 100kHz
3 1200Hz to 100kHZ
Description This command sets the Digital Input/Output Input bandwidth of the Interface Jitter
AP.S2CDio.JitterRdg meter.
Example Sub Main
Dim rdg As Double
Do Until AP.S2CDio.JitterReady
'perform other actions while waiting for reading
'...
Loop
rdg = AP.S2CDio.JitterRdg("UI")
'Get channel A peak reading
AP.Prompt.Text = "Jitter = " & rdg & " UI"
AP.Prompt.ShowWithContinue
Stop
End Sub
AP.S2CDio.InJitterDetector Property
Syntax AP.S2CDio.InJitterDetector
Data Type Integer
0 Pk
1 Avg
Description This command selects the Digital Input/Output Input detector type for the Interface
Jitter AP.S2CDio.JitterRdg meter.
Example See example for AP.S2CDio.InJitterBW.
AP.S2CDio.InJitterMode Property
Syntax AP.S2CDio.InJitterMode
Data Type Integer
0 UI: Unit interval
1 Sec: Time
Description This command selects the measurement mode for the Digital Input/Output Interface
Jitter AP.S2CDio.JitterRdg meter.
Example See example for AP.S2CDio.InJitterBW.
AP.S2CDio.InMonitorMode Property
Syntax AP.S2CDio.InMonitorMode
Data Type Integer
0 Positive Peak: This mode causes the Level Monitors to
display the most positive value during each measurement
interval, which is approximately 1/4 second.
1 Negative Peak: This mode causes the monitors to display
the most negative value during each measurement
interval (dBFS units cannot be used with the Min mode
since the numbers are negative).
AP.S2CDio.InResolution Property
Syntax AP.S2CDio.InResolution
Data Type Long 8 to 24 bits.
Description This command sets the Digital Input/Output Input Resolution.
See Also AP.S2CDio.OutResolution
Example See example for AP.S2CDio.OutConnector.
AP.S2CDio.InScaleFreq Property
Syntax AP.S2CDIO.InScaleFreq
Data Type Integer
0 Output Rate: the value in the Sample Rate-OSR field near
the top of the Output section of the DIO panel.
1 Meas Input Rate: the measured value in the Sample
Rate-ISR field.
2 Status Bits A: the value of sample frequency encoded into
the received channel A status bits.
3 DIO Rate Ref: the value defined by the AP.S2CDio.
RefRate command.
Description This command selects a source from which the digital audio sample rate is deter-
mined. The frequency of embedded digital audio signals must be normalized by a
digital sample rate before display, whether it is displayed as a numeric frequency
counter display or as a frequency component on an FFT graph.
See Also AP.S2CDIO.OutScaleFreq, AP.S2CDIO.RefRate
Example Sub Main
AP.S2CDIO.InScaleFreq = 1 'use measured input rate
End Sub
AP.S2CDio.JitterRdg Property
AP.S2CDio.JitterReady Property
Syntax AP.S2CDio.JitterReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Digital Input/Output Interface Jitter meter meter settled
reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDio.
JitterRdg or AP.S2CDio.JitterTrig commands will zero the ready count.
If the reading is found to be ready, a call to the AP.S2CDio.JitterRdg com-
mand will be guaranteed to return quickly.
See Also AP.S2CDio.JitterRdg, AP.S2CDio.JitterSettling, AP.S2CDio.
JitterTrig
Example See example for AP.S2CDio.InJitterBW.
AP.S2CDio.JitterSettling Method
AP.S2CDio.JitterTrig Method
Syntax AP.S2CDsp.JitterTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDio.JitterRdg command. The reading in progress is aborted.
See Also AP.S2CDio.JitterRdg, AP.S2CDio.JitterReady, AP.S2CDio.
JitterSettling
Example See example for AP.S2CDio.InJitterBW.
AP.S2CDio.OutCableSim Property
Syntax AP.S2CDio.OutCableSim
Data Type Boolean
True Enable cable simulation.
False Disable cable simulation.
Description This command enables or disables cable simulation.
A fixed hardware filter may be switched into the path to the XLR or BNC output
connectors to simulate the effect of a typical 100-meter-long cable, to test the ability
of a digital device under test to function with impaired signals. This feature is not
available at the optical, general purpose serial, or parallel outputs. This cable simula-
tion filter is approximately the inverse of the input cable equalization filter
selectable as XLR w/EQ, BNC w/EQ, Dual XLR w/Eq, and Dual BNC w/Eq selec-
tions in the Digital Input Format field, so the two should approximately compensate
for one another when a short external cable is connected from Digital Output to Digi-
tal Input. However, there will still be some attenuation of the interface signal intro-
duced by the cable simulation hardware. To switch the cable simulator in and out of
the circuit:
Example See example for AP.S2CDio.OutConnector.
AP.S2CDio.OutCM Property
Syntax AP.S2CDio.OutCM
Data Type Boolean
True Enable common mode output.
False Disable common mode output.
Description This command enables or disables the Digital Input/Output Common Mode output.
Example See example for AP.S2CDio.CMAmpl.
AP.S2CDio.OutCMAmpl Property
Sub Main
Dim reading As Double
AP.Sweep.Source1.Id = COMMON_MODE_AMPL
AP.Sweep.Source1.Start("Vpp") = 0.0
AP.Sweep.Source1.Stop("Vpp") = 20.0
AP.Sweep.Source1.Steps = 10
AP.Sweep.Start
End Sub
AP.S2CDio.OutCMFreq Property
AP.S2CDio.OutAudioFormat Property
Syntax AP.S2CDio.OutAudioFormat
Data Type Integer
0 Linear; no data compression applied.
1 Apply μ-Law encoding to data signal.
2 Apply A-Law encoding to data signal.
3 Apply IEC 61937 encoding to data signal.
Description This command selects the Audio Format for the Digital Output. The command AP.
S2CDio.OutEncode has been deprecated.
See Also AP.S2CDio.InAudioFormat
Example Sub Main
AP.S2CDio.OutAudioFormat = 2 'A-Law Encode
End Sub
AP.S2CDio.OutInvert Property
Syntax AP.S2CDio.OutInvert
Data Type Boolean
True Invert output.
False Normal non-inverting output.
Description This command sets the Digital Output to normal polarity or inverted polarity (180
degrees out of phase).
AP.S2CDio.OutJitterAmpl Property
AP.S2CDio.OutJitterEqCurve Method
AP.S2CDio.OutJitterFreq Property
AP.S2CDio.OutJitterType Property
Syntax AP.S2CDio.OutJitterType
Data Type Integer
0 OFF
1 Sinusoidal
2 Lowpass Random
3 Squarewave
4 Wideband Random
5 EQ Sine
Description This command sets the type of jitter that may be added to the digital output signal at
the XLR, BNC, and optical outputs to test the ability of a digital device to reject in-
put jitter.
Example See example for AP.S2CDio.InJitterBW.
AP.S2CDio.OutNoise Property
Syntax AP.S2CDio.OutNoise
Data Type Boolean
True Enable noise output.
False Disable noise output.
Description This command enables or disables the Digital Input/Output Interfering Noise output.
See Also AP.S2CDio.OutNoiseAmpl
Example See example for AP.S2CDio.OutConnector.
AP.S2CDio.OutNoiseAmpl Property
AP.S2CDio.OutParityError Property
Syntax AP.S2CDio.OutParityError
Data Type Boolean
True Generate Parity Error in digital output.
False Normal output.
Description This command sets the Digital Output Parity Bit to produce a Parity Error or to nor-
mal operation.
See Also AP.S2CDio.FlagParityRdg
Example See example for AP.S2CDio.FlagChAInvalidRdg.
AP.S2CDio.OutPreEmp Property
Syntax AP.S2CDio.OutPreEmp
Data Type Integer
0 OFF
1 50/15us 0dB
2 50/15us - 10dB
3 J17 0dB
4 J17 - 20dB
Description This command selects the Digital Input/Output Output Preemphasis.
CD type (50/15 us) or CCITT J17 deemphasis may be selected as desired. Either
preemphasis function may be selected at normal gain or with a headroom allowance.
When program material is put through a preemphasis function, the natural high-fre-
quency roll-off of most music and voice signals and typical practices of headroom al-
lowance for peaks are sufficient to assure that high-frequency signals will not clip
(exceed digital full scale). However, full-scale test signals such as sinewave sweeps
or multitone signals with equal amplitude at all frequencies will clip at high frequen-
cies when preemphasis is applied. To prevent this clipping due to the high-frequency
boost, two additional selections are available which automatically attenuate the sig-
nal level sufficiently to provide headroom at the highest frequencies. These head-
room allowances are selected by the 50/15 us -10 dB and J17 -20 dB choices. Each
will attenuate the audio signal by the specified amount, which is slightly greater
than the boost at the maximum possible audio frequency for the chosen preemphasis
characteristic. If desired, a matching deemphasis with gain selection is available in
the Deemphasis field or via the AP.S2CDio.InDeEmp command of the Input sec-
tion of the DIO panel to provide an overall unity gain and flat response during
digital domain stimulus/response measurements.
See Also AP.S2CDio.InDeEmp
Example See example for AP.S2CDio.OutConnector.
AP.S2CDio.OutConnector Property
Syntax AP.S2CDio.OutConnector
Data Type Constant
apbXLR XLR
apbBNC BNC
apbOptical Optical
apbPSIA PSIA
apbParallel Parallel
apbDualXLR Dual XLR
apbDualBNC Dual BNC
Description This command sets the Digital Input/Output Input source. The command AP.
S2CDio.OutputFormat has been deprecated.
Example Const INTERVU_AMPL As Integer = 6053
Const INTERVU_TIME As Integer = 5612
Sub Main
Dim rftime As Double
AP.Application.NewTest
With AP.S2CDio
.OutRiseFall = True 'Variable Rise/Fall Time
.OutRiseFallTime("sec") = 16e-9'Set Rise/Fall _
time
.OutCableSim = False 'Cable simulation OFF
With AP.Sweep
.Source1.Id = INTERVU_TIME
'Sweep time
.Source1.Start("sec") = 0.0
'start at 0.0 sec
.Source1.Stop("sec") = 4e-6
'end at 4 nSec
.Source1.Steps = 255 '255 points
.Data1.Id = INTERVU_AMPL
'Measure amplitude
.Data1.Top("V") = 3.0 'Max amplitude of +2 V
.Data1.Bottom("V") = -3.0 'Min amplitude of -2 V
.Append = False 'Don't append first waveform
AP.S2CDio.OutCableSim = True 'Cable simulation_
ON
.Start
AP.S2CDio.OutCableSim = False'Cable simulation_
OFF
.Append = True 'Append any additional waveforms
.Start 'Get a waveform
End With
For rftime = 50e-9 To 350e-9 Step 100e-9
AP.S2CDio.OutRiseFallTime("sec") = rftime
AP.Sweep.Start 'Append next sweep
Next rftime
End Sub
Comment Cable simulation looks just like RiseFallTime = 350 nSec
AP.S2CDio.OutputSRRange Property
Syntax AP.S2CDio.OutputSRRange
Data Type Integer
0 Auto
1 8k-108k
2 27k-216k
Description This command selects the output sample rate ranging mode.
AP.S2CDio.OutResolution Property
Syntax AP.S2CDio.OutResolution
Data Type Integer The width or resolution of the imbedded digital audio
signal may be set to any value from 8 to 24 bits.
Description This command sets the Digital Output Resolution.
Internally, the imbedded digital audio signal is always generated at 24 bits. When
any smaller value is selected in the Resolution field, the 24-bit word is rounded (not
truncated) to the specified value and dither is added (unless disabled) at the proper
amplitude for the value entered. Bits below the value entered in the Resolution field
are set to zero. The output resolution is independent from the input resolution.
See Also AP.S2CDio.InResolution
Example See example for AP.S2CDio.OutConnector.
AP.S2CDio.OutRiseFall Property
Syntax AP.S2CDio.OutRiseFall
Data Type Boolean
True Fixed Rise and fall times.
False Variable Rise and fall times.
Description This command enables or disables variable rise and fall times of the pulse train at
the XLR and BNC outputs. The fixed transition time is approximetly 16 nanosec-
onds.
See Also AP.S2CDio.OutRiseFallTime
Example See example for AP.S2CDio.OutConnector.
AP.S2CDio.OutRiseFallTime Property
AP.S2CDio.OutSampleRate Property
AP.S2CDio.OutScaleFreq Property
Syntax AP.S2CDIO.OutScaleFreq
Data Type Integer
0 Output Rate (SR): the value in the Sample Rate (SR)
field near the top of the Output section of the DIO panel.
1 Meas Input Rate: the measured value in the Sample
Rate-ISR field.
2 Meas Output Rate: the measured value at the parallel
output port when Output Format is set to Parallel;
otherwise, the value in the Sample Rate (SR) field.
3 DIO Rate Ref: the value defined by the AP.S2CDio.
RefRate command.
Description This command sets the source for scaling for the audio frequency embedded in the
digital output signal.
See Also AP.S2CDIO.InScaleFreq, AP.S2CDIO.RefRate
Example Sub Main
AP.S2CDIO.OutScaleFreq = 1 'use measured input rate
End Sub
AP.S2CDio.OutSendInvalid Property
Syntax AP.S2CDio.OutSendInvalid
Data Type Boolean
True Set
False Clear validity bit.
Description This command sets or clears the validity bit.
The AES/EBU and Consumer standards define a data invalid bit for each subframe.
This is the V bit of the VUCP bits (validity, user, channel status, parity). Actual us-
age of this bit is not totally standardized, but a common usage in digital tape record-
ers (for example) is to set this bit as invalid if the tape is not moving and valid if the
tape is playing. You can simultaneously set both channel A and B validity bits as
true (check the Send Invalid box) or false (Send Invalid box unchecked) in order to
test whether and how digital devices respond to the bit.
AP.S2CDio.OutVoltage Property
AP.S2CDio.RateRdg Property
Description This command returns a settled reading for the Digital Input/Output Sample Rate me-
ter and zeros the ready count.
See Also AP.S2CDio.RateReady, AP.S2CDio.RateSettling, AP.
S2CDio.RateTrig
Example Sub Main
Dim rdgA As Double
AP.S2CDio.RateReady Property
Syntax AP.S2CDio.RateReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Digital Input/Output Sample Rate meter settled reading
ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDio.RateRdg
or AP.S2CDio.RateTrig commands will zero the ready count.
If the reading is found to be ready, a call to the AP.S2CDio.RateRdg command
will be guaranteed to return quickly.
See Also AP.S2CDio.RateRdg, AP.S2CDio.RateSettling, AP.S2CDio.
RateTrig
Example See example for AP.S2CDio.RateRdg.
AP.S2CDio.RateSettling Method
AP.S2CDio.RateTrig Method
Syntax AP.S2CDsp.RateTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDio.RateRdg command. The reading in progress is aborted.
See Also AP.S2CDio.RateRdg, AP.S2CDio.RateReady, AP.S2CDio.
RateSettling
Example See example for AP.S2CDio.RateRdg.
AP.S2CDio.RefRate Property
AP.S2CDio.VoltageRdg Property
AP.S2CDio.VoltageReady Property
Syntax AP.S2CDio.VoltageReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Digital Input/Output Voltage meter settled reading ready
count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDio.
VoltageRdg or AP.S2CDio.VoltageTrig commands will zero the ready
count.
If the reading is found to be ready, a call to the AP.S2CDio.VoltageRdg com-
mand will be guaranteed to return quickly.
See Also AP.S2CDio.VoltageRdg, AP.S2CDio.VoltageSettling, AP.S2CDio.
VoltageTrig
Example See example for AP.S2CDio.VoltageRdg.
AP.S2CDio.VoltageSettling Method
AP.S2CDio.VoltageTrig Method
Syntax AP.S2CDsp.VoltageTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDio.DelayRdg command. The reading in progress is aborted.
See Also AP.S2CDio.VoltageRdg, AP.S2CDio.VoltageReady, AP.S2CDio.
VoltageSettling
Example See example for AP.S2CDio.VoltageRdg.
User Notes
Syntax AP.S2CDsp.Analyzer.ChACoupling
Data Type Integer
0 AC Coupled
1 DC Coupled
2 DC only: This enables the instrument to DC couple the
input to the Digital Domain Audio Analyzer. The channel A
level meter can then be used to measure DC.
Description This command sets the Digital Domain Audio Analyzer channel A Input Coupling.
See Also AP.S2CDsp.Analyzer.ChBCoupling
Example See example for AP.S2CDsp.Analyzer.ChAFreqRdg.
AP.S2CDsp.Analyzer.ChAFreqRdg Property
AP.S2CDsp.Analyzer.ChAFreqReady Property
Syntax AP.S2CDsp.Analyzer.ChAFreqReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Digital Domain Audio Analyzer channel A Frequency me-
ter settled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.Ana-
lyzer.ChAFreqRdg or AP.S2CDsp.Analyzer.ChAFreqTrig commands
will zero the ready count.
If the reading is found to be ready, a call to the AP.S2CDsp.Analyzer.
ChAFreqRdg command will be guaranteed to return quickly.
See Also AP.S2CDsp.Analyzer.ChAFreqRdg, AP.S2CDsp.Analyzer.
ChAFreqSettling, AP.S2CDsp.Analyzer.ChAFreqTrig
Example See example for AP.S2CDsp.Analyzer.ChAFreqRdg.
AP.S2CDsp.Analyzer.ChAFreqSettling Method
AP.S2CDsp.Analyzer.ChAFreqTrig Method
Syntax AP.S2CDsp.Analyzer.ChAFreqTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.Analyzer.ChAFreqRdg command. The reading in progress is
aborted.
See Also AP.S2CDsp.Analyzer.ChAFreqRdg, AP.S2CDsp.Analyzer.
ChAFreqReady, AP.S2CDsp.Analyzer.ChAFreqSettling
Example See example for AP.S2CDsp.Analyzer.ChAFreqRdg.
AP.S2CDsp.Analyzer.ChALevelRdg Property
The following units are valid for the " A/D ??" selections of
the AP.S2CDSP.Analyzer.InputFormat
command: V, dBu, dBV, dBr A, dBr B, dBg A, dBg B, dBm,
and W.
See Also AP.S2CDsp.Analyzer.ChALevelReady, AP.S2CDsp.Analyzer.
ChALevelSettling, AP.S2CDsp.Analyzer.ChALevelTrig
Example See example for AP.S2CDsp.Analyzer.ChAFreqRdg.
AP.S2CDsp.Analyzer.ChALevelReady Property
Syntax AP.S2CDsp.Analyzer.ChALevelReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Digital Domain Audio Analyzer channel A Level Moni-
tor meter settled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.Ana-
lyzer.ChALevelRdg or AP.S2CDsp.Analyzer.ChALevelTrig com-
mands will zero the ready count.
If the reading is found to be ready, a call to the AP.S2CDsp.Analyzer.
ChALevelRdg command will be guaranteed to return quickly.
See Also AP.S2CDsp.Analyzer.ChALevelRdg, AP.S2CDsp.Analyzer.
ChALevelSettling, AP.S2CDsp.Analyzer.ChALevelTrig
Example See example for AP.S2CDsp.Analyzer.ChAFreqRdg.
AP.S2CDsp.Analyzer.ChALevelSettling Method
AP.S2CDsp.Analyzer.ChALevelTrig Method
Syntax AP.S2CDsp.Analyzer.ChALevelTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.Analyzer.ChALevelRdg command. The reading in progress is
aborted.
See Also AP.S2CDsp.Analyzer.ChALevelRdg, AP.S2CDsp.Analyzer.
ChALevelSettling, AP.S2CDsp.Analyzer.ChALevelTrig
Example See example for AP.S2CDsp.Analyzer.ChAFreqRdg.
AP.S2CDsp.Analyzer.ChARange Property
AP.S2CDsp.Analyzer.ChARangeAuto Property
Syntax AP.S2CDsp.Analyzer.ChARangeAuto
Data Type Boolean
True Auto range
False Fixed range
Description This command sets the Digital Domain Audio Analyzer channel A Input to Auto
range or Fixed range. Care must be taken when using Fixed range that the input sig-
nal does not exceed the selected range.
See Also AP.S2CDsp.Analyzer.ChARange
Example See example for AP.S2CDsp.Analyzer.ChAFreqRdg.
AP.S2CDsp.Analyzer.ChBCoupling Property
Syntax AP.S2CDsp.Analyzer.ChBCoupling
Data Type Integer
0 AC Coupled
1 DC Coupled
2 DC only: This enables the instrument to DC couple the
input to the Digital Domain Audio Analyzer. The channel B
level meter can then be used to measure DC.
Description This command sets the Digital Domain Audio Analyzer channel B Input Coupling.
See Also AP.S2CDsp.Analyzer.ChACoupling
Example See example for AP.S2CDsp.Analyzer.ChBFreqRdg.
AP.S2CDsp.Analyzer.ChBFreqRdg Property
AP.S2CDsp.Analyzer.ChBFreqReady Property
Syntax AP.S2CDsp.Analyzer.ChBFreqReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Digital Domain Audio Analyzer Frequency B settled read-
ing ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.Ana-
lyzer.ChBFreqRdg or AP.S2CDsp.Analyzer.FreqBTrig commands
will zero the ready count.
If the reading is found to be ready, a call to the AP.S2CDsp.Analyzer.
ChBFreqRdg command will be guaranteed to return quickly.
See Also AP.S2CDsp.Analyzer.ChBFreqRdg, AP.S2CDsp.Analyzer.
ChBFreqSettling, AP.S2CDsp.Analyzer.ChBFreqTrig
Example See example for AP.S2CDsp.Analyzer.ChBFreqRdg.
AP.S2CDsp.Analyzer.ChBFreqSettling Method
AP.S2CDsp.Analyzer.ChBFreqTrig Method
Syntax AP.S2CDsp.Analyzer.ChBFreqTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.Analyzer.ChBFreqRdg command. The reading in progress is
aborted.
See Also AP.S2CDsp.Analyzer.ChBFreqRdg, AP.S2CDsp.Analyzer.
ChBFreqReady, AP.S2CDsp.Analyzer.ChBFreqSettling
Example See example for AP.S2CDsp.Analyzer.ChBFreqRdg.
AP.S2CDsp.Analyzer.ChBLevelRdg Property
The following units are valid for the " A/D ??" selections of
the AP.S2CDSP.Analyzer.InputFormat
command: V, dBu, dBV, dBr A, dBr B, dBg A, dBg B, dBm,
and W.
Description This command returns a settled reading for the Digital Domain Audio Analyzer
channel B Level meter and zeros the ready count.
See Also AP.S2CDsp.Analyzer.ChBLevelReady, AP.S2CDsp.Analyzer.
ChBLevelSettling, AP.S2CDsp.Analyzer.ChBLevelTrig
Example See example for AP.S2CDsp.Analyzer.ChBFreqRdg.
AP.S2CDsp.Analyzer.ChBLevelReady Property
Syntax AP.S2CDsp.Analyzer.ChBLevelReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Digital Domain Audio Analyzer channel B Level Moni-
tor meter settled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.Ana-
lyzer.ChBLevelRdg or AP.S2CDsp.Analyzer.ChBLevelTrig com-
mands will zero the ready count.
If the reading is found to be ready, a call to the AP.S2CDsp.Analyzer.
ChBLevelRdg command will be guaranteed to return quickly.
See Also AP.S2CDsp.Analyzer.ChBLevelRdg, AP.S2CDsp.Analyzer.
ChBLevelSettling, AP.S2CDsp.Analyzer.ChBLevelTrig,
Example See example for AP.S2CDsp.Analyzer.ChBFreqRdg.
AP.S2CDsp.Analyzer.ChBLevelSettling Method
AP.S2CDsp.Analyzer.ChBLevelTrig Method
Syntax AP.S2CDsp.Analyzer.ChBLevelTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.Analyzer.ChBLevelRdg command. The reading in progress is
aborted.
See Also AP.S2CDsp.Analyzer.ChBLevelRdg, AP.S2CDsp.Analyzer.
ChBLevelReady, AP.S2CDsp.Analyzer.ChBLevelSettling
Example See example for AP.S2CDsp.Analyzer.ChBFreqRdg.
AP.S2CDsp.Analyzer.ChBRange Property
AP.S2CDsp.Analyzer.ChBRangeAuto Property
Syntax AP.S2CDsp.Analyzer.ChBRangeAuto
Data Type Boolean
True Auto range
False Fixed range
Description This command sets the Digital Domain Audio Analyzer channel B Input to Auto
range or Fixed range. Care must be taken when using Fixed range that the input sig-
nal does not exceed the selected range.
See Also AP.S2CDsp.Analyzer.ChBRange
Example See example for AP.S2CDsp.Analyzer.ChBFreqRdg.
AP.S2CDsp.Analyzer.FuncBPBRFreq Property
AP.S2CDsp.Analyzer.FuncBPBRTuning Property
Syntax AP.S2CDsp.Analyzer.FuncBPBRTuning
Data Type Integer
0 Counter Tuned: the frequency value measured by the
ANALYZER Frequency counter is the filter steering
source. This function would be selected when making
THD+N or Crosstalk measurements from an external
signal such as reproduction of a Compact Disc or digital
audio tape or reception of a digital signal from a distant
source.
1 Sweep Track: the filter tracks the frequency of whichever
generator is selected in the Source 1 or Source 2 fields of
the Sweep panel.
2 AGen Track: the digital bandpass-bandreject filter tracks
the frequency of the Analog Generator, This mode is
useful for testing A/D converters driven from the
instrument's analog output.
3 DGen Track: the filter will automatically track the
frequency of the Digital Generator. This mode would
normally be used when sweeping digital input-digital
output devices with stimulus coming from the instrument's
Digital Generator.
4 Fixed: the filter will be fixed at the frequency entered in
the BP/BR Filter Freq field just below unless the filter is
being deliberately varied as part of a sweep test. To
sweep the filter frequency during a test, select BP/BR
Filter Freq as the Source 1 or Source 2 parameter on the
Sweep panel. Fixed tuning mode must be selected in
AP.S2CDsp.Analyzer.FuncChARange Property
AP.S2CDsp.Analyzer.FuncChARangeAuto Property
Syntax AP.S2CDsp.Analyzer.FuncChARangeAuto
Data Type Boolean
True Auto range.
False Fixed range.
Description This command sets the Digital Domain Audio Analyzer channel A Function meter
to Auto or Fixed Range.
See Also AP.S2CDsp.Analyzer.RdgRate, AP.S2CDsp.Analyzer.
FuncMode, AP.S2CDsp.Analyzer.FuncChARange
Example See example for AP.S2CDsp.Analyzer.FuncDetector .
AP.S2CDsp.Analyzer.FuncChARdg Property
The following units are valid for the "Low BW (1x) A/D"
selection of the AP.S2DSP.Analyzer.
InputFormat command for the Amplitude, THD+N
Ampl, and Bandpass Function meter Modes: V, dBu, dBV,
dBr A, dBr B, dBg A, dBg B, dBm, W.
The following units (%, dB, PPM, X/Y) are available for
the following Function meter Modes: 2-Ch Ratio,
Crosstalk, THD+N Ratio, SMPTE IMD.
AP.S2CDsp.Analyzer.FuncChAReady Property
Syntax AP.S2CDsp.Analyzer.FuncChAReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Digital Domain Audio Analyzer channel A Function me-
ter settled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.Ana-
lyzer.FuncChARdg or AP.S2CDsp.Analyzer.FuncChATrig commands
will zero the ready count.
If the reading is found to be ready, a call to the AP.S2CDsp.Analyzer.
FuncChARdg command will be guaranteed to return quickly.
See Also AP.S2CDsp.Analyzer.FuncChARdg, AP.S2CDsp.Analyzer.
FuncChASettling, AP.S2CDsp.Analyzer.FuncChATrig
AP.S2CDsp.Analyzer.FuncChASettling Method
AP.S2CDsp.Analyzer.FuncChATrig Method
Syntax AP.S2CDsp.Analyzer.FuncChATrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.Analyzer.FuncChARdg command. The reading in progress is
aborted.
See Also AP.S2CDsp.Analyzer.FuncChARdg, AP.S2CDsp.Analyzer.
FuncChAReady, AP.S2CDsp.Analyzer.FuncChASettling
Example See example for AP.S2CDsp.Analyzer.FuncDetector .
AP.S2CDsp.Analyzer.FuncChBRange Property
AP.S2CDsp.Analyzer.FuncChBRangeAuto Property
Syntax AP.S2CDsp.Analyzer.FuncChBRangeAuto
Data Type Boolean
True Auto range.
False Fixed range.
Description This command sets the Digital Domain Audio Analyzer channel B Function meter
to Auto or Fixed Range.
See Also AP.S2CDsp.Analyzer.RdgRate, AP.S2CDsp.Analyzer.
FuncMode, AP.S2CDsp.Analyzer.FuncChBRange
Example See example for AP.S2CDsp.Analyzer.FuncDetector .
AP.S2CDsp.Analyzer.FuncChBRdg Property
The following units are valid for the "Low BW (1x) A/D"
selection of the AP.S2DSP.Analyzer.
InputFormat command for the Amplitude, THD+N
Ampl, and Bandpass Function meter Modes: V, dBu, dBV,
dBr A, dBr B, dBg A, dBg B, dBm, W.
The following units (%, dB, PPM, X/Y) are available for
the following Function meter Modes: 2-Ch Ratio,
Crosstalk, THD+N Ratio, SMPTE IMD.
AP.S2CDsp.Analyzer.FuncChBReady Property
Syntax AP.S2CDsp.Analyzer.FuncChBReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Digital Domain Audio Analyzer Function meter settled
reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.Ana-
lyzer.FuncChBRdg or AP.S2CDsp.Analyzer.FuncChBTrig commands
will zero the ready count.
If the reading is found to be ready, a call to the AP.S2CDsp.Analyzer.
FuncChBRdg command will be guaranteed to return quickly.
See Also AP.S2CDsp.Analyzer.FuncChBRdg, AP.S2CDsp.Analyzer.
FuncChBSettling, AP.S2CDsp.Analyzer.FuncChBTrig
Example See example for AP.S2CDsp.Analyzer.FuncDetector .
AP.S2CDsp.Analyzer.FuncChBSettling Method
AP.S2CDsp.Analyzer.FuncChBTrig Method
Syntax AP.S2CDsp.Analyzer.FuncChBTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.Analyzer.FuncChBRdg command. The reading in progress is
aborted.
See Also AP.S2CDsp.Analyzer.FuncChBRdg, AP.S2CDsp.Analyzer.
FuncChBReady, AP.S2CDsp.Analyzer.FuncChBSettling
AP.S2CDsp.Analyzer.FuncDetector Property
Syntax AP.S2CDsp.Analyzer.FuncDetector
Data Type Integer
0 RMS: Level and Function meters use RMS detector.
1 Fast RMS: Level and Function meters use Fast RMS
detector.
2 Qpeak: Level meters use RMS detection and Function
meters use Qpeak detector.
Description This command selects the Digital Domain Audio Analyzer Detector type for the
Level and Function meters.
See Also AP.S2CDsp.Analyzer.RdgRate, AP.S2CDsp.Analyzer.FuncMode,
AP.S2CDsp.Analyzer.FuncChBRange, AP.S2CDsp.Analyzer.
FuncChBRangeAuto
AP.S2CDsp.Analyzer.FuncFilter Property
Syntax AP.S2CDsp.Analyzer.FuncFilter
Data Type Integer
The following list contains the selections relevant to the AP.S2CDsp.Ana-
lyzer.FuncMode command Ampitude, THD+N Abs, THD+N Ratio, and 2-Ch
Ratio selections.
0 None
1 "A" Weighting
2 CCIR Weighting
3 F Weighting
4 CCITT Weighting
5 C-Message Weighting
6 Harmonic Weighting (THD Only)
AP.S2CDsp.Analyzer.FuncFilterHP Property
Syntax AP.S2CDsp.Analyzer.FuncFilterHP
Data Type Integer
0 <10 Hz
1 22 Hz
2 100 Hz
3 400 Hz
Description This command selects the Digital Domain Audio Analyzer High Pass filter used
with the function meters.
See Also AP.S2CDsp.Analyzer.FuncFilterLowPass
Example See example for AP.S2CDsp.Analyzer.FuncDetector .
AP.S2CDsp.Analyzer.FuncFilterHPUserDefined Method
AP.S2CDsp.Analyzer.FuncFilterId Property
Syntax AP.S2CDsp.Analyzer.FuncFilterId
Data Type Integer
Description This command returns the FuncFilterId used in the Analyzer Function Meter Filter.
See Also AP.S2CDsp.Analyzer.FuncFilter
Example AP.S2CDsp.Analyzer.FuncFilter
AP.S2CDsp.Analyzer.FuncFilterLP Property
Syntax AP.S2CDsp.Analyzer.FuncFilterLP
Data Type Integer
0 Fs/2
1 20 kHz LP
2 15 kHz LP
Description This command selects the Digital Domain Audio Analyzer Low Pass filter used
with the function meters.
See Also AP.S2CDsp.Analyzer.FuncFilterHP
Example See example for AP.S2CDsp.Analyzer.FuncDetector .
AP.S2CDsp.Analyzer.FuncFilterLPUserDefined Method
AP.S2CDsp.Analyzer.FuncFilterWeightingUserDefined Method
Syntax AP.S2CDsp.Analyzer.
FuncFilterWeightingUserDefined(ByVal FileName As
String)
AP.S2CDsp.Analyzer.FuncMode Property
Syntax AP.S2CDsp.Analyzer.FuncMode
Data Type Integer
0 Amplitude: Amplitude mode connects the Function
Reading meter to the channel selected by the AP.
S2CDsp.Analyzer.FuncInput command.
Amplitude mode measurements can differ from the Level
meter measurements due to two factors:
Amplitude mode measurements are affected by the
high-pass (AP.S2CDsp.Analyzer.
FuncFilterHP), low-pass (AP.S2CDsp.
Analyzer.FuncFilterLP), and weighting filter
(AP.S2CDsp.Analyzer.FuncFilter)
commands, while Level meter readings are unfiltered.
Amplitude measurements may be made with the
quasi-peak or one of the RMS detectors, while the Level
meters always use the same type of RMS detector
selected with the AP.S2CDsp.Analyzer.
FuncDetector command.
1 2-Channel Ratio: 2-Ch Ratio mode displays in the
Function Reading meter display the amplitude ratio
between the selected channel and the alternate channel.
Both Level meters continue to display the absolute level
on each channel. 2-Ch Ratio function is useful while
AP.S2CDsp.Analyzer.FuncPhaseMode Property
Syntax AP.S2CDsp.Analyzer.FuncPhaseMode
Data Type Integer
0 Auto
1 -180 +180 deg
2 0 +360 deg
3 -90 +270 deg
Description This function sets the Digital Domain Audio Analyzer Function meter Phase mea-
surement range.
AP.S2CDsp.Analyzer.InputFormat Property
Syntax AP.S2CDsp.Analyzer.InputFormat
AP.S2CDsp.Analyzer.RdgRate Property
Syntax AP.S2CDsp.Analyzer.RdgRate
Data Type Integer
0 Auto: This selection manages selection of the reading rate
as a function of the frequency being measured and the
measurement function to provide rapid testing speeds
along with sufficient integration for accuracy at the
present test frequency.
1 4/Sec
2 8/Sec
3 16/Sec
4 32/Sec
5 64/Sec
6 128/Sec
Description This command sets the Digital Domain Audio Analyzer Reading update Rate (inte-
gration period) for all of the meters in this DSP program.
See Also AP.S2CDsp.Analyzer.FuncDetector, AP.S2CDsp.
Analyzer.FuncMode
Example See example for AP.S2CDsp.Analyzer.FuncDetector .
AP.S2CDsp.Bittest.ChADataReady Property
Syntax AP.S2CDsp.Bittest.ChADataReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Digital Data Analyzer channel A Data meter unsettled
reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.Bittest.
ChADataRdg or AP.S2CDsp.Bittest.ChADataTrig commands will zero
the ready count.
If the reading is found to be ready, a call to the AP.S1DSP.Bittest.
ChADataRdg command will be guaranteed to return quickly.
See Also AP.S2CDsp.Bittest.ChADataRd, AP.S2CDsp.Bittest.ChADataTrig
Output See example for AP.S2CDsp.Bittest.ChADataRdg.
AP.S2CDsp.Bittest.ChADataTrig Method
Syntax AP.S2CDsp.Bittest.ChADataTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.Bittest.ChADataRdg command. The reading in progress is
aborted.
See Also AP.S2CDsp.Bittest.ChADataRdg, AP.S2CDsp.Bittest.
ChADataReady
Output See example for AP.S2CDsp.Bittest.ChADataRdg.
AP.S2CDsp.Bittest.ChAErrRdg Property
AP.DGen.Wfm 4, 5
AP.DGen.ChAAmpl("dBFS") = -3
AP.DGen.DitherType = 0
AP.DGen.Output = True
AP.S2CDio.InConnector = 3
With AP.S2CDsp.BitTest
.DisplayError = 0 'Error display normal
.RdgRate = 3 'Reading rate to 16/second
.Wfm = 4 'Set waveform analysis pattern to _
constant
.FreezeOnError = False 'Don't freeze data on _
error
.ChAErrTrig 'Trigger a new reading
Do
Ready = .ChAErrReady
Loop Until Ready > 0 'Wait for new reading
Reading1 = .ChAErrRdg("dec") 'Get new reading
End With
NewLine$ = Chr(13)
a$= "Ch A Errors "+Left(Str$(Reading1),8)+" dec"
AP.Prompt.Text = a$ + NewLine$
AP.Prompt.ShowWithContinue
Beep
Stop
End Sub
AP.S2CDsp.Bittest.ChAErrReady Property
Syntax AP.S2CDsp.Bittest.ChAErrReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Digital Data Analyzer channel A Errors meter unsettled
reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.Bittest.
ChAErrRdg or AP.S2CDsp.Bittest.ChAErrTrig commands will zero the
ready count.
If the reading is found to be ready, a call to the AP.S1DSP.Bittest.
ChAErrRdg command will be guaranteed to return quickly.
See Also AP.S2CDsp.Bittest.ChAErrRdg, AP.S2CDsp.Bittest.ChAErrTrig
Example See example for AP.S2CDsp.Bittest.ChAErrRdg.
AP.S2CDsp.Bittest.ChAErrTrig Method
Syntax AP.S2CDsp.Bittest.ChAErrTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S1DSP.Bittest.ChAErrRdg command. The reading in progress is
aborted.
See Also AP.S2CDsp.Bittest.ChAErrRdg, AP.S2CDsp.Bittest.ChAErrReady
Example See example for AP.S2CDsp.Bittest.ChAErrRdg.
AP.S2CDsp.Bittest.ChBDataRdg Property
AP.S2CDsp.Bittest.ChBDataReady Property
Syntax AP.S2CDsp.Bittest.ChBDataReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Digital Data Analyzer channel B Data meter unsettled
reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.Bittest.
ChBDataRdg or AP.S2CDsp.Bittest.ChBDataTrig commands will zero
the ready count.
If the reading is found to be ready, a call to the AP.S2CDsp.Bittest.
ChBDataRdg command will be guaranteed to return quickly.
See Also AP.S2CDsp.Bittest.ChBDataRdg, AP.S2CDsp.Bittest.ChBDataTrig
Example See example for AP.S2CDsp.Bittest.ChBDataRdg.
AP.S2CDsp.Bittest.ChBDataTrig Method
Syntax AP.S2CDsp.Bittest.ChBDataTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.Bittest.ChBDataRdg command. The reading in progress is
aborted.
See Also AP.S2CDsp.Bittest.ChBDataRdg, AP.S2CDsp.Bittest.
ChBDataReady
Example See example for AP.S2CDsp.Bittest.ChBDataRdg.
AP.S2CDsp.Bittest.ChBErrRdg Property
AP.S2CDsp.Bittest.ChBErrReady Property
Syntax AP.S2CDsp.Bittest.ChBErrReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Digital Data Analyzer channel B Errors meter unsettled
reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.Bittest.
ChBErrRdg or AP.S2CDsp.Bittest.ChBErrTrig commands will zero the
ready count.
If the reading is found to be ready, a call to the AP.S2CDsp.Bittest.
ChBErrRdg command will be guaranteed to return quickly.
See Also AP.S2CDsp.Bittest.ChBErrRdg, AP.S2CDsp.Bittest.ChBErrTrig
Example See example for AP.S2CDsp.Bittest.ChBErrRdg.
AP.S2CDsp.Bittest.ChBErrTrig Method
Syntax AP.S2CDsp.Bittest.ChBErrTTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.Bittest.ChBErrRdg command. The reading in progress is
aborted.
See Also AP.S2CDsp.Bittest.ChBErrTRdg, AP.S2CDsp.Bittest.
ChBErrTReady
Example See example for AP.S2CDsp.Bittest.ChBErrRdg.
AP.S2CDsp.Bittest.DisplayError Property
Syntax AP.S2CDsp.Bittest.DisplayError
Data Type Integer
0 Normal
1 Maximum.
2 Totalize.
Description This command sets the mode for the Digital Data Analyzer channel A and B Error
displays.
Received data is also measured to determine if it matches the data transmitted. Only
the number of bits selected in the Resolution field AP.S2CDio.Resolution of
the Digital I/O panel will be analyzed. This comparison is done with algorithms
which are insensitive to delay between the send and receive sections. The number of
errors in the received data per measurement interval are counted for each channel.
The AP.S2CDsp.Bittest.DisplayError command selects the type of analy-
sis to be performed. In the Normal mode, the number of errors detected during the
last measurement interval are displayed directly in the Ch 1 and Ch 2 Errors fields
of the panel. If Error Display is selected as Maximum, the maximum error count dur-
ing any measurement interval will be held in the display. A running total of all errors
may be accumulated by using the Totalize mode of the Error Display field.
See Also AP.S2CDsp.Bittest.RdgRate
Example See example for AP.S2CDsp.Bittest.ChAErrRdg.
AP.S2CDsp.Bittest.FreezeOnError Property
Syntax AP.S2CDsp.Bittest.FreezeOnError
Data Type Boolean
True Hold first error reading..
False Continue updating data readings.
Description This command sets or clears the Freeze Data on Error field on the Digital Data Ana-
lyzer.
If the AP.S2CDsp.Bittest.FreezeOnError command is set to (True), the
Data fields will continue to display the value which was received when the first er-
ror occurred. If AP.S2CDsp.Bittest.FreezeOnError is set to (False), the
Data fields will continue updating, independent of any errors detected.
See Also AP.S2CDsp.Bittest.RdgRate
AP.S2CDsp.Bittest.RdgRate Property
Syntax AP.S2CDsp.Bittest.RdgRate
Data Type Integer
0 Auto reading rate. The reading rate is automatically
selected based on the measured frequency.
1 4/sec update rate.
2 8/sec update rate.
3 16/sec update rate.
Description This command sets the rate a which the Data (and Errors) readings are updated.
Example See example for AP.S2CDsp.Bittest.ChAErrRdg.
AP.S2CDsp.BitTest.Wfm Property
Syntax AP.S2CDsp.BitTest.Wfm
Data Type Integer
0 Constant
1 Random
2 Walking-1
3 Walking-0
4 Sine
Description This command selects the Digital Data Analyzer Waveform pattern to analyze.
Example See example for AP.S2CDsp.BitTest.ChAErrRdg.
AP.S2CDsp.FastTest.Ch1Ready Property
Syntax AP.S2CDsp.FastTest.Ch1Ready
Data Type Integer
AP.S2CDsp.FastTest.Ch1Source Property
Syntax AP.S2CDsp.FastTest.Ch1Source
Data Type Integer
The following list contains the selections relevant to the AP.S2CDsp.
FastTest.InputFormat command Digital input selection.
0 A
1 B
2 None
Description This command sets the Multitone Audio Analyzer Channnel 1 Input.
Example See example for AP.S2CDsp.FastTest.FFTLength.
AP.S2CDsp.FastTest.Ch1Trig Method
Syntax AP.S2CDsp.FastTest.Ch1Trig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDSP.FastTest.Ch1Rdg command. The reading in progress is aborted.
See Also AP.S2CDsp.FastTest.Ch1Rdg, AP.S2CDsp.FastTest.Ch1Ready
AP.S2CDsp.FastTest.Ch2Rdg Property
AP.S2CDsp.FastTest.Ch2Ready Property
Syntax AP.S2CDsp.FastTest.Ch2Ready
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Multitone Audio Analyzer channel 2 Peak Monitor meter
unsettled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.
FastTest.Ch2Rdg or AP.S2CDsp.FastTest.Ch2Trig commands will
zero the ready count.
If the reading is found to be ready, a call to the AP.S2CDsp.FastTest.
Ch2Rdg command will be guaranteed to return quickly.
See Also AP.S2CDsp.FastTest.Ch2Rdg, AP.S2CDsp.FastTest.Ch2Trig
Example See example for AP.S2CDsp.FastTest.Ch2Rdg.
AP.S2CDsp.FastTest.Ch2Source Property
Syntax AP.S2CDsp.FastTest.Ch2Source
Data Type Integer
The following list contains the selections relevant to the AP.S2CDsp.
FastTest.InputFormat command Digital input selection.
0 A
1 B
2 None
Description This command sets the Multitone Audio Analyzer Channnel 2 Input.
Example See example for AP.S2CDsp.FastTest.FFTLength.
AP.S2CDsp.FastTest.Ch2Trig Method
Syntax AP.S2CDsp.FastTest.Ch2Trig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.FastTest.Ch2Rdg command. The reading in progress is aborted.
See Also AP.S2CDsp.FastTest.Ch2Rdg, AP.S2CDsp.FastTest.Ch2Ready
Example See example for AP.S2CDsp.FastTest.Ch2Rdg.
AP.S2CDsp.FastTest.FFTLength Property
Syntax AP.S2CDsp.FastTest.FFTLength
Data Type Integer
0 Auto: The Auto selection will automatically set the
acquisition buffer and transform length to be exactly twice
the length of any generator waveform loaded into the
Digital Generator buffer. This condition is necessary for
the Noise function of FASTTEST to work.
1 512
2 1024
3 2048
4 4096
5 8192
6 16384
7 32768
Description This command sets the Multitone Audio Analyzer FFT Length.
The FFT Length field value of the FASTTEST program controls the record length
used as input to the FFT process when either F9/Go or AP.Sweep.Start is initi-
ated to acquire and transform, or the F6 or Ap.Sweep.Retransform function
key or Sweep Transform Data without Acquire menu command is used to re-trans-
form any portion of a record previously acquired. Longer transform lengths produce
greater frequency resolution in the resulting FFT, but require longer times to acquire
and transform the signal.
Example Sub Main
AP.File.OpenTest "FasttstB.AT2C"
'Open test
With AP.S2CDsp.FastTest
.InputFormat = 4 'Set input to HiRes A/D @SSR
.Ch1Source = 0 'Set Source to Anlr-A
.Ch2Source = 1 'Set Source to Anlr-B
.Mode = 0 'Set Measurement to Spectrum
.FreqRes("%") = 1 'Set Freq Res to 1%
.FFTLength = 6 'Set FFT lenght to 16384
.Processing = 0 'Set Processing to Synchronous
.TrigSource = 0 'Set Triggering to DGEN
.TrigDelay("sec") = 0 'Set Trig Delay to 0
.PhaseDisplay = 0 'Set Ch 2 Phase Display to _
Independent
AP.Sweep.Start
'Attach sweep file
AP.Sweep.Source1.Table("FASTTST.ADS", 0)
.Mode = 1 'Set Measurement to Response
AP.Sweep.Reprocess
.Mode = 2 'Set Measurement to Distortion
AP.Sweep.Reprocess
.Mode = 3 'Set Measurement to Noise
AP.Sweep.Reprocess
AP.S2CDsp.FastTest.FreqRes Property
AP.S2CDsp.FastTest.InputFormat Property
Syntax AP.S2CDsp.FastTest.InputFormat
Data Type Integer
0 Digital @ ISR:
1 HiRes A/D @65536
2 HiBW A/D @131072
3 HiBW A/D @262144
4 HiRes A/D @SSR
5 HiBW A/D @2xSSR
Description This command sets the Multitone Audio Analyzer Input Format.
Example See example for AP.S2CDsp.FastTest.FFTLength.
AP.S2CDsp.FastTest.Mode Property
Syntax AP.S2CDsp.FastTest.Mode
Data Type Integer
0 Spectrum: This mode provides a normal FFT spectrum
display with no processing except for peak picking. The
Spectrum selection is typically used without a sweep table
(.ADS file), and with a relative large number of Steps at
Source 1 of the Sweep panel to provide good frequency
resolution. Typical Steps values are from 250 to 500. If
the transform length results in more FFT bins between the
Start-Stop frequency span than are being plotted, peak-
picking takes place. With peak-picking, the DSP searches
all FFT bins between the previously plotted point and the
point presently being plotted and sends the highest bin
amplitude in that range as the amplitude of the new point
to be sure that no signals are missed.
1 Response: This mode is always used with a sweep table
(.ADS file) listing the exact frequencies of the sinewaves
in the multitone signal to be used for frequency response
measurements. The DSP returns to the computer for
plotting only the amplitudes of the FFT bins containing
those exact frequencies, resulting in a frequency
response graph.
If the value in the Frequency Resolution field is greater
than zero, the DSP performs an RSS (root-sum-square)
integration of all the bin amplitudes within plus or minus
the Frequency Resolution value around each sweep table
frequency and sends the integrated sum value to the
computer to be plotted. This mode is intended for
frequency response measurements on devices such as
analog tape recorders which introduce frequency
modulation (flutter) to signals. Flutter spreads each tone's
energy across a small region of the spectrum. This
reduces the amplitude of the fundamental tone, since the
total energy in the fundamental and all sidebands remains
constant during frequency modulation. The RSS
summation combines this spread energy back into a
single value, much as the human hearing system
responds to signals with small amounts of FM.
2 Distortion: excludes the amplitudes of the FFT bins known
(from the generator waveform) to contain fundamental
signals. All other bin amplitudes are summed (RSS)
between each adjacent pair of frequencies requested
from the DSP by the computer. It is not necessary to use
a sweep table (.ADS file) listing the fundamental
frequencies of the sinewaves in the multitone signal being
used. Distortion and noise can thus be summed across
spans determined by the Sweep panel Start, Stop,
Log/Lin, and number of Steps, or the spans can be
determined by a sweep table. If it is desired to sum the
AP.S2CDsp.FastTest.PhaseDisplay Property
Syntax AP.S2CDsp.FastTest.PhaseDisplay
Data Type Integer
0 Independent
1 Interchannel
Description This command sets the Multitone Audio Analyzer Phase Display mode selection.
The FFT of FASTTEST computes both magnitude and phase arrays as a function of
frequency. The phase of coherent signals, such as multitone signals, may be plotted
for either or both channels by selecting FASTTEST as the instrument and Ch 1
Phase or Ch 2 Phase as the parameter in the Data browser of the Sweep panel. A
sweep table (.ADS file) listing the fundamental signals would be used in this mode.
When the channel 2 Phase Display is selected as Independent, the Ch 1 and Ch 2
Phase parameters each show the absolute phase of the fundamental tones.
It is also possible to plot the interchannel phase difference of stereo signals with
FASTTEST. Selecting Interchannel causes the DSP to compute the phase difference
between the Ch 1 and Ch 2 Phase signals at each sweep table value and report that
computed value to the computer as the Ch 2 Phase parameter. The Ch 1 Phase param-
eter is unaffected by the Interchannel setting and plots absolute phase of the channel
1 signal.
Example See example for AP.S2CDsp.FastTest.FFTLength.
AP.S2CDsp.FastTest.Processing Property
Syntax AP.S2CDsp.FastTest.Processing
Data Type Integer
0 Synchronous: Normal operation of FASTTEST involves
acquisition of a multitone signal which was generated
from a multitone waveform file by the instrument's Digital
Generator. The multitone waveform files furnished with
the instrument are created so as to be synchronous with
one or another of the analyzer acquisition buffer lengths
available in FASTTEST. Every sinewave in the generated
signal goes through an exact integer number of cycles in
the generator buffer and in the analyzer transform buffer.
No windowing function is required and maximum
theoretical FFT selectivity is achieved with full dynamic
range available in bins adjacent to a bin containing a full-
scale signal.
1 Freq Corrected: A key feature of FASTTEST is its ability
to compare the tone frequencies in an acquired multitone
waveform with the digital reference copy of the
transmitted or pre-recorded waveform presently in the
Digital Generator buffers. If this comparison shows that
the tone frequencies have been shifted up or down due to
the signal originating from a device with a different clock
frequency from the analyzer or due to analog tape player
speed errors, FASTTEST corrects all the tone frequencies
to the reference signal values. This re-creates the original
synchronous relationship so that no window function is
required before the FFT, and maximum theoretical FFT
selectivity is obtained. The maximum frequency difference
which can be corrected is +/-3%. FASTTEST is normally
AP.S2CDsp.FastTest.TrigDelay Property
AP.S2CDsp.FastTest.TrigSource Property
Syntax AP.S2CDsp.FastTest.TrigSource
Data Type Integer
0 DGen: This selection functions only on Dual Domain
units. If the Digital Generator is generating a signal from a
waveform file, a Digital Generator trigger is issued each
time the first sample from the file is generated.
1 Tight: See description below.
2 Normal: See description below.
3 Loose: See description below.
4 External: This selection is operational only with Dual
Domain units. It is the signal connected to pin 3 of the 15-
pin D-sub connector on the rear of the DSP module. If pin
Syntax AP.S2CDsp.FFT.AcquireLength
Data Type Integer
0 Track FFT
1 800
2 1.5k
3 2.5k
4 5k
5 10k
6 19k
7 24k
8 36k
9 72k
10 144k
11 256k
12 512k
13 1M
14 2M
15 4M
Description This command sets the FFT Spectrum Analyzer acquisition buffer record length.
Note that the four longest acquisition lengths are only available with 2700 series and
Cascade Plus hardware.
See Also AP.S2CDsp.FFT.TransformLength
Example See example for AP.S2CDsp.FFT.Averages.
AP.S2CDsp.FFT.Averages Property
Syntax AP.S2CDsp.FFT.Averages
Data Type Integer
0 1
1 2
2 4
3 8
4 16
5 32
6 64
7 128
8 256
9 512
10 1024
11 2048
12 4096
Description This command sets the FFT Spectrum Analyzer number of FFT averages.
FFT has the ability to average a number of successive acquisitions and spectrum
analyses of a signal and display the averaged result. Since noise is random in ampli-
tude and phase, averaging a succession of noise measurements results in a degree of
cancellation and the averaged result will have less variance than the initial acquisi-
tion. Coherent signals, however, are the same at each acquisition and thus are not af-
fected by averaging. Thus, spectral averaging will reduce the maximum peak
excursions of the noise baseline in a typical signal spectrum while not affecting con-
tinuous signals, making it easier to detect and measure low amplitude signals and dis-
tortion products. Averaging over many seconds or minutes of program material such
as music or voice may also be useful in order to determine the long-term average
amplitude versus frequency distribution.
See Also AP.S2CDsp.FFT.AverageType
Example Sub Main
AP.File.OpenTest "FFTTEST1.AT2" 'Open test
With AP.S2CDsp.FFT
.InputFormat = 1 'HiRes A/D @65k input
.Ch1Source = 0 'Analyzer A input
.Ch2Source = 1 'Analyzer B input
.AverageType = 0 'Averaging to Power _
(Spectrum Only)
.Averages = 4 'Number of Averages to 16
.AcquireLength = 5 'Acqusition Length 10k
.TransformLength = 5 'FFT Length 8192
.StartTime("sec") = 0 'Set Start Time to 0 sec
.SubtractDC = 1 'Subtract Average waveform _
level
.WfmDisplay = 0 'Waveform Display to _
Interpolate
.Window = 0 'Window to Blackman-Harris
.TrigDelay("sec") = 0.000000
'Trigger Delay
.TrigSource = 0 'Trigger Source Free Run
.TrigSensitivity("dBFS") = -59.999594
.TrigPolarity = 0 'Trigger Slope Positive
End With
AP.S2CDsp.FFT.AverageType Property
Syntax AP.S2CDsp.FFT.AverageType
Data Type Integer
The following list contains the selections relevant to the AP.S2CDsp.FFT.Win-
dow command Blackman-Harris, Hann, Flat-Top, Equiripple, and None Window se-
lections.
0 Power (spectrum only)
1 Sync, re-align
2 Sync
Description This command sets the type of Averaging the FFT Spectrum Analyzer uses when
producing Time and Frequency domain measurements.
This command enables or disables computation of the average value of all samples
in the acquisition buffer and subtraction that computed value from the value of each
sample before an FFT transform or processing the values according to the Wave Dis-
play field and sending the results to the computer for display. The effect of the Sub-
tract Average Value function is thus very similar having used AC coupling before
acquiring the signal, as long as no signal peaks exceeded digital full scale. Use of
the Subtract Average Value function may be valuable when examining low-level sig-
nals which contain a significant amount of DC offset, particularly in time domain
(oscilloscope) presentations where the DC offset might otherwise cause the signal to
be off-screen at the selected vertical span.
See Also AP.S2CDsp.FFT.Averages
Example See example for AP.S2CDsp.FFT.Averages.
AP.S2CDsp.FFT.Ch1Rdg Property
AP.File.OpenTest "FFTTEST2.AT2"
'Open test
AP.S2CDsp.FFT.Ch1Source = 1'Set Ch 1 Source to _
Anlr-B
Wait 1
AP.S2CDsp.FFT.Ch1Trig 'Trigger a new reading
Do
Ready = AP.S2CDsp.FFT.Ch1Ready
Loop Until Ready > 0 'Wait for new reading
Reading1 = AP.S2CDsp.FFT.Ch1Rdg("FFS")'Get new _
reading
NewLine$ = Chr(13)
a$= "Ch 1 Source "+Left(Str$(Reading1),6)+"FFS"
AP.Prompt.Text = a$ + NewLine$ + b$ + NewLine
AP.Prompt.ShowWithContinue
Beep
Stop
End Sub
AP.S2CDsp.FFT.Ch1Ready Property
Syntax AP.S2CDsp.FFT.Ch1Ready
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the FFT Spectrum Analyzer channel 1 Peak Monitor meter
unsettled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.FFT.
Ch1Rdg or AP.S2CDsp.FFT.Ch1Trig commands will zero the ready count.
If the reading is found to be ready, a call to the AP.S2CDsp.FFT.Ch1Rdg com-
mand will be guaranteed to return quickly.
See Also AP.S2CDsp.FFT.Ch1Rdg, AP.S2CDsp.FFT.Ch1Trig
Example See example for AP.S2CDsp.FFT.Ch1Rdg.
AP.S2CDsp.FFT.Ch1Source Property
Syntax AP.S2CDsp.FFT.Ch1Source
Data Type Integer
The following list contains the selections relevant to the AP.S2CDsp.FFT.
InputFormat command A/D Input selection.
0 Anlr-A
1 Anlr-B
2 Anlr Reading Ampl
3 Anlr Reading Ratio
4 Ch. A Generator
5 Ch. B Generator
6 Jitter Signal
7 None
Description This command sets the FFT Spectrum Analyzer Channnel 1 Input.
Example See example for AP.S2CDsp.FFT.Ch1Rdg.
AP.S2CDsp.FFT.Ch1Trig Method
Syntax AP.S2CDsp.FFT.Ch1Trig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.FFTGen.Ch1Rdg command. The reading in progress is aborted.
See Also AP.S2CDsp.FFT.Ch1Rdg, AP.S2CDsp.FFT.Ch1Ready
Example See example for AP.S2CDsp.FFT.Ch1Rdg.
AP.S2CDsp.FFT.Ch2Rdg Property
AP.S2CDsp.FFT.Ch2Ready Property
Syntax AP.S2CDsp.FFT.Ch2Ready
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the FFT Spectrum Analyzer channel 2 Peak Monitor meter
unsettled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.FFT.
Ch2Rdg or AP.S2CDsp.FFT.Ch2Trig commands will zero the ready count.
If the reading is found to be ready, a call to the AP.S2CDsp.FFT.Ch2Rdg com-
mand will be guaranteed to return quickly.
See Also AP.S2CDsp.FFT.Ch2Rdg, AP.S2CDsp.FFT.Ch2Trig
Example See example for AP.S2CDsp.FFT.Ch2Rdg.
AP.S2CDsp.FFT.Ch2Source Property
Syntax AP.S2CDsp.FFT.Ch2Source
Data Type Integer
The following list contains the selections relevant to the AP.S2CDsp.FFT.
InputFormat command A/D input selection.
0 Anlr-A
1 Anlr-B
2 Anlr Reading Ampl
3 Anlr Reading Ratio
4 Ch. A Generator
5 Ch. B Generator
6 Jitter Signal
7 None
Description This command sets the FFT Spectrum Analyzer Channnel 2 Input.
Example See example for AP.S2CDsp.FFT.Ch2Rdg.
AP.S2CDsp.FFT.Ch2Trig Method
Syntax AP.S2CDsp.FFT.Ch2Trig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.FFT.Ch2Rdg command. The reading in progress is aborted.
See Also AP.S2CDsp.FFT.Ch2Rdg, AP.S2CDsp.FFT.Ch2Ready
Example See example for AP.S2CDsp.FFT.Ch2Rdg.
AP.S2CDsp.FFT.InputFormat Property
Syntax AP.S2CDsp.FFT.InputFormat
Data Type Integer
0 Digital @ ISR:
1 HiRes A/D @65536
2 HiBW A/D @131072
3 HiBW A/D @262144
4 HiRes A/D @SSR
5 HiBW A/D @2xSSR
Description This command sets the FFT Spectrum Analyzer Input Format.
Example See example for AP.S2CDsp.FFT.Averages.
AP.S2CDsp.FFT.Smoothing Property
Syntax AP.S2CDsp.FFT.Smoothing
Data Type Double Range of Values: 0 to 2.64 octaves
Description This command controls the width of the FFT Smoothing algorithm in octave units.
Octave smoothing is a common technique in loudspeaker response measurement,
useful in revealing trends by smoothing out anomalies in the response curve. The
2700 implementation uses a hybrid FFT bin averaging and interpolation technique
to achieve smooth results even at very low bin densities. Smoothing, which only af-
fects frequency-domain displays, effectively passes the raw response data through
multiple constant-Q bandpass filters, one filter centered on each frequency requested
from the Sweep panel.
AP.S2CDsp.FFT.StartTime Property
AP.S2CDsp.FFT.SubtractDC Property
Syntax AP.S2CDsp.FFT.SubtractDC
Data Type Integer
0 DC Coupled
1 Subtract Average
2 Subtract 1/2pk-pk
Description This command sets the FFT Spectrum Analyzer DC offset processing mode.
Example See example for AP.S2CDsp.FFT.Averages.
AP.S2CDsp.FFT.TransformLength Property
Syntax AP.S2CDsp.FFT.TransformLength
Data Type Integer
0 256
1 512
2 1024
3 2048
4 4096
5 8192
6 16384
7 32768
Description This command sets the FFT Spectrum Analyzer FFT length.
Example See example for AP.S2CDsp.FFT.Averages.
AP.S2CDsp.FFT.TrigDelay Property
When the trigger event occurs, FFT effectively creates a marker at that location
(time zero) and another marker at the pre-trigger time before time zero and contin-
ues acquiring until every location up to the pre-trigger marker is filled. Any portion
from the pre-trigger time through time zero to the end of the record may then be dis-
played in oscilloscope fashion or transformed and viewed as a spectrum analysis.
Example See example for AP.S2CDsp.FFT.Averages.
AP.S2CDsp.FFT.TrigLevel Property
AP.S2CDsp.FFT.TrigPolarity Property
Syntax AP.S2CDsp.FFT.TrigPolarity
Data Type Integer
0 Positive: time zero will be the first positive-going zero
crossing of the trigger signal selected in the Trigger
Source field.
1 Negative: time zero will be the first negative-going zero
crossing of the selected trigger signal.
Description This command sets the FFT Spectrum Analyzer trigger polarity.
Example See example for AP.S2CDsp.FFT.Averages.
AP.S2CDsp.FFT.TrigSensitivity Property
Description This command sets the FFT Spectrum Analyzer Trigger Sensitivity. This control de-
termines the signal level that must be obtained before a zero crossing trigger event
can occur.
Example See example for AP.S2CDsp.FFT.Averages.
AP.S2CDsp.FFT.TrigSource Property
Syntax AP.S2CDsp.FFT.TrigSource
Data Type Integer
0 Free Run: Signal acquisition begins immediately after F9
or Go is initiated, regardless of signal amplitude. This is
the typical operating mode with steady-state test signals.
1 Ch. 1 Auto
2 Ch. 1 Fixed
3 Ch. 2 Auto
4 Ch. 2 Fixed
5 External: The External selection refers to pin 3 of the 15-
pin D-sub connector on the rear of the DSP module. This
source is operational only with the SYS-2300 series Dual
Domain units. If pin 3 is high (or open circuit, in which
case it is pulled high by an internal pull-up resistor),
triggering occurs at the next digital sample. Pulling pin 3
low from an external device holds off triggering, with
acquisition being triggered on the next sample after pin 3
is pulled high. This External selection is unaffected by the
Slope buttons.
6 Digital Gen: The Digital Generator selection functions only
on Dual Domain units (SYS-2300 series). If the Digital
Generator is generating any of the waveforms selectable
in the Waveform field, a Digital Generator trigger occurs at
each zero crossing of the waveform, positive-going or
negative-going as selected by the Slope buttons. If the
Digital Generator is generating a signal from a waveform
file, a Digital Generator trigger occurs as the first sample
is read from the waveform file.
7 Analog Gen: The Analog Generator Sync selection is the
same signal as at the Generator Aux Signals Sync Output
BNC on the front panel of the instrument. This signal is a
squarewave at the Analog Generator frequency in
sinewave and squarewave waveforms, the envelope of
the burst signal in all Burst waveforms, a squarewave at
the lower IMD frequency in SMPTE IMD waveform, a
squarewave at 1/2 the frequency spacing in CCIF IMD
waveform, the squarewave IMD signal in DIM IMD
waveform, and a pulse at the pseudo-random repetition
rate in Pseudo noise modes. There is no signal in
Random noise modes.
8 AC Mains: the power line frequency.
AP.S2CDsp.FFT.WfmDisplay Property
Syntax AP.S2CDsp.FFT.WfmDisplay
Data Type Integer
0 Interpolate
1 Display Samples
2 Peak Values
3 Absolute Values
Description This command sets the FFT Spectrum Analyzer generator waveform display mode.
When Interpolate is selected, the DSP module will perform an interpolation calcula-
tion based on the assumption that the signal was band-limited by a low-pass filter be-
fore sampling. The Interpolate selection produces a much more accurate display of
the signal waveform when the signal frequency is high (such as sample rate/100 or
higher).
When Display Samples is selected, no processing takes place in the DSP module. At
each time value plotted on the X-axis, the DSP simply sends the amplitude of the
nearest-in-time acquired sample to the computer for plotting. When the signal fre-
quency is low compared to the sample rate, this may produce an acceptable represen-
tation of the original signal waveform. At high signal frequencies, the waveform
may be entirely unrecognizable in the Display Samples mode. For example, a 16
kHz sinewave acquired at the 48 kHz sample rate will have each cycle of waveform
represented by only three amplitude samples and the result will look very little like a
sinewave. The Display Samples mode may be useful when examining the true
quantization-limited waveforms of very low amplitude digital domain signals.
When Peak Values is selected, the DSP searches all sample amplitudes in the acquisi-
tion buffer between each pair of X-axis time values plotted and returns to the com-
puter the largest positive or negative value in that span, preserving the sign. The
intended use of the Peak Values mode is when graphing a relatively long time span
on the X-axis, where the combination of Start-to-Stop time span and Steps value on
the Sweep panel results in skipping across many actual acquired samples between
plotted points. For example, assume a signal is acquired at the 48 kHz sample rate
(20.8 microseconds between samples). If the waveform of that signal is being
viewed from 0 to 200 milliseconds with 400 steps, the time span between plotted
points on the graph X-axis is 0.5 milliseconds (500 microseconds). There are approx-
AP.S2CDsp.FFT.Window Property
Syntax AP.S2CDsp.FFT.Window
Data Type Integer
0 Blackman-Harris
1 Hann
2 Flat-Top
3 Equiripple
4 None
5 None, move to bin center
6 Hamming
7 Gaussian
8 Rife-Vincent 4
9 Rife-Vincent 5
Description This command sets the FFT Spectrum Analyzer Window selection. See Appendix C
for FFT Window Discriptions.
See Also AP.S2CDsp.FFT.AverageType
Example See example for AP.S2CDsp.FFT.Averages.
User Notes
AP.S2CDsp.Harmonic.Ch1FreqReady Property
Syntax AP.S2CDsp.Harmonic.Ch1FreqReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Harmonic Distortion Analyzer channel 1 Frequency set-
tled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.Har-
monic.Ch1FreqRdg or AP.S2CDsp.Harmonic.Ch1FreqTrig commands
will zero the ready count.
If the reading is found to be ready, a call to the AP.S2CDsp.Harmonic.
Ch1FreqRdg command will be guaranteed to return quickly.
See Also AP.S2CDsp.Harmonic.Ch1FreqRdg, AP.S2CDsp.Harmonic.
Ch1FreqSettling, AP.S2CDsp.Harmonic.Ch1FreqTrig
Example See example for AP.S2CDsp.Harmonic.Ch1FreqRdg.
AP.S2CDsp.Harmonic.Ch1FreqSettling Method
AP.S2CDsp.Harmonic.Ch1FreqTrig Method
Syntax AP.S2CDsp.Harmonic.Ch1FreqTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.Harmonic.Ch1FreqRdg command. The reading in progress is
aborted.
See Also AP.S2CDsp.Harmonic.Ch1FreqRdg, AP.S2CDsp.Harmonic.
Ch1FreqReady, AP.S2CDsp.Harmonic.Ch1FreqSettling
Example See example for AP.S2CDsp.Harmonic.Ch1FreqRdg.
AP.S2CDsp.Harmonic.Ch1FundRdg Property
AP.S2CDsp.Harmonic.Ch1FundReady Property
Syntax AP.S2CDsp.Harmonic.Ch1FundReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Harmonic Distortion Analyzer channel 1 Fundamental
Amplitude settled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.Har-
monic.Ch1FundRdg or AP.S2CDsp.Harmonic.Ch1FundTrig commands
will zero the ready count.
If the reading is found to be ready, a call to the AP.S2CDsp.Harmonic.
Ch1FundRdg command will be guaranteed to return quickly.
See Also AP.S2CDsp.Harmonic.Ch1FundRdg, AP.S2CDsp.Harmonic.
Ch1FundSettling, AP.S2CDsp.Harmonic.Ch1FundTrig
Example See example for AP.S2CDsp.Harmonic.Ch1FreqRdg.
AP.S2CDsp.Harmonic.Ch1FundSettling Method
AP.S2CDsp.Harmonic.Ch1FundTrig Method
Syntax AP.S2CDsp.Harmonic.Ch1FundTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.Harmonic.Ch1FundRdg command. The reading in progress is
aborted.
See Also AP.S2CDsp.Harmonic.Ch1FundRdg, AP.S2CDsp.Harmonic.
Ch1FundReady, AP.S2CDsp.Harmonic.Ch1FundSettling
Example See example for AP.S2CDsp.Harmonic.Ch1FreqRdg.
AP.S2CDsp.Harmonic.Ch1Source Property
Syntax AP.S2CDsp.Harmonic.Ch1Source
Data Type Integer
The following list contains the selections relevant to the AP.S2CDsp.Harmonic.
InputFormat command A/D input selections.
0 Anlr-A
1 Anlr-B
2 Anlr Rdg Ampl
AP.S2CDsp.Harmonic.Ch1Sum1Harmonics Property
Syntax AP.S2CDsp.Harmonic.Ch1Sum1Harmonics
Data Type Integer
Single decimal value or the sum of several decimal values representing multiple har-
monics or a constant value as defined below.
2 Harmonic 2 ON
4 Harmonic 3 ON
8 Harmonic 4 ON
16 Harmonic 5 ON
32 Harmonic 6 ON
64 Harmonic 7 ON
128 Harmonic 8 ON
256 Harmonic 9 ON
512 Harmonic 10 ON
1024 Harmonic 11 ON
2048 Harmonic 12 ON
4096 Harmonic 13 ON
8192 Harmonic 14 ON
16384 Harmonic 15 ON
Constants Description
apbAll Select All harmonics.
apbEven Select all Even harmonics.
apbNone Select None of the harmonics.
apbOdd Select all Odd harmonics.
Description This command sets individual or as a group harmonics for the Harmonic Distortion
Analyzer RSS summation #1 for channel 1.
Example See example for AP.S2CDsp.Harmonic.Ch1Sum1Rdg .
AP.S2CDsp.Harmonic.Ch1Sum1Rdg Property
AP.S2CDsp.Harmonic.Ch1Sum1Ready Property
Syntax AP.S2CDsp.Harmonic.Ch1Sum1Ready
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Harmonic Distortion Analyzer channel 1 Sum #1 settled
reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
AP.S2CDsp.Harmonic.Ch1Sum1RelUnits Property
Syntax AP.S2CDsp.Harmonic.Ch1Sum1RelUnits
Data Type Boolean
True Relative Units.
False Absolute Units.
Description This command selects the units that are avalible for the AP.S2CDsp.Harmonic.
Ch1Sum1Rdg command
Example See example for AP.S2CDsp.Harmonic.Ch1Sum1Rdg.
AP.S2CDsp.Harmonic.Ch1Sum1Settling Method
AP.S2CDsp.Harmonic.Ch1Sum1Trig Method
Syntax AP.S2CDsp.Harmonic.Ch1Sum1Trig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.Harmonic.Ch1Sum1Rdg command. The reading in progress is
aborted.
See Also AP.S2CDsp.Harmonic.Ch1Sum1Rdg, AP.S2CDsp.Harmonic.
Ch1Sum1Ready, AP.S2CDsp.Harmonic.Ch1Sum1Settling
Example See example for AP.S2CDsp.Harmonic.Ch1Sum1Rdg.
AP.S2CDsp.Harmonic.Ch1Sum2Harmonics Property
Syntax AP.S2CDsp.Harmonic.Ch1Sum2Harmonics
Data Type Integer
Single decimal value or the sum of several decimal values representing multiple har-
monics or a constant value as defined below.
2 Harmonic 2 ON
4 Harmonic 3 ON
8 Harmonic 4 ON
16 Harmonic 5 ON
32 Harmonic 6 ON
64 Harmonic 7 ON
128 Harmonic 8 ON
256 Harmonic 9 ON
512 Harmonic 10 ON
1024 Harmonic 11 ON
2048 Harmonic 12 ON
4096 Harmonic 13 ON
8192 Harmonic 14 ON
16384 Harmonic 15 ON
Constants Description
apbAll Select All harmonics.
apbEven Select all Even harmonics.
apbNone Select None of the harmonics.
apbOdd Select all Odd harmonics.
Description This command sets individual or as a group harmonics for the Harmonic Distortion
Analyzer RSS summation #2 for channel 1.
Example See example for AP.S2CDsp.Harmonic.Ch1Sum1Rdg.
AP.S2CDsp.Harmonic.Ch1Sum2Rdg Property
AP.S2CDsp.Harmonic.Ch1Sum2Ready Property
Syntax AP.S2CDsp.Harmonic.Ch1Sum2Ready
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Harmonic Distortion Analyzer channel 1 Sum #2 settled
reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.Har-
monic.Ch1Sum2Rdg or AP.S2CDsp.Harmonic.Ch1Sum2Trig commands
will zero the ready count.
If the reading is found to be ready, a call to the AP.S2CDsp.Harmonic.
Ch1Sum2Rdg command will be guaranteed to return quickly.
See Also AP.S2CDsp.Harmonic.Ch1Sum2Rdg, AP.S2CDsp.Harmonic.
Ch1Sum2Settling, AP.S2CDsp.Harmonic.Ch1Sum2Trig
Example See example for AP.S2CDsp.Harmonic.Ch1Sum1Rdg.
AP.S2CDsp.Harmonic.Ch1Sum2RelUnits Property
Syntax AP.S2CDsp.Harmonic.Ch1Sum2RelUnits
Data Type Boolean
True Relative Units.
False Absolute Units.
Description This command selects the units that are avalible for the AP.S2CDsp.Harmonic.
Ch1Sum2Rdg command
Example See example for AP.S2CDsp.Harmonic.Ch1Sum1Rdg.
AP.S2CDsp.Harmonic.Ch1Sum2Settling Method
AP.S2CDsp.Harmonic.Ch1Sum2Trig Method
Syntax AP.S2CDsp.Harmonic.Ch1Sum2Trig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.Harmonic.Ch1Sum2Rdg command. The reading in progress is
aborted.
See Also AP.S2CDsp.Harmonic.Ch1Sum2Rdg, AP.S2CDsp.Harmonic.
Ch1Sum2Ready, AP.S2CDsp.Harmonic.Ch1Sum2Settling
Example See example for AP.S2CDsp.Harmonic.Ch1Sum1Rdg.
AP.S2CDsp.Harmonic.Ch2FreqRdg Property
AP.S2CDsp.Harmonic.Ch2FreqReady Property
Syntax AP.S2CDsp.Harmonic.Ch2FreqReady
Data Type Integer
0 Reading not ready
>0 Reading ready
Description This command returns the Harmonic Distortion Analyzer channel 2 Frequency set-
tled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.Har-
monic.Ch2FreqRdg or AP.S2CDsp.Harmonic.Ch2FreqTrig commands
will zero the ready count.
If the reading is found to be ready, a call to the AP.S2CDsp.Harmonic.
Ch2FreqRdg command will be guaranteed to return quickly.
See Also AP.S2CDsp.Harmonic.Ch2FreqRdg, AP.S2CDsp.Harmonic.
Ch2FreqSettling, AP.S2CDsp.Harmonic.Ch2FreqTrig
Example See example for AP.S2CDsp.Harmonic.Ch2FreqRdg.
AP.S2CDsp.Harmonic.Ch2FreqSettling Method
AP.S2CDsp.Harmonic.Ch2FreqTrig Method
Syntax AP.S2CDsp.Harmonic.Ch2FreqTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.Harmonic.Ch1FreqRdg command. The reading in progress is
aborted.
See Also AP.S2CDsp.Harmonic.Ch2FreqRdg, AP.S2CDsp.Harmonic.
Ch2FreqReady, AP.S2CDsp.Harmonic.Ch2FreqSettling
Example See example for AP.S2CDsp.Harmonic.Ch2FreqRdg.
AP.S2CDsp.Harmonic.Ch2FundRdg Property
AP.S2CDsp.Harmonic.Ch2FundReady Property
Syntax AP.S2CDsp.Harmonic.Ch2FundReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Harmonic Distortion Analyzer channel 2 Fundamental
Amplitude settled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.Har-
monic.Ch2FundRdg or AP.S2CDsp.Harmonic.Ch2FundTrig commands
will zero the ready count.
If the reading is found to be ready, a call to the AP.S2CDsp.Harmonic.
Ch2FundRdg command will be guaranteed to return quickly.
See Also AP.S2CDsp.Harmonic.Ch2FundRdg, AP.S2CDsp.Harmonic.
Ch2FundSettling, AP.S2CDsp.Harmonic.Ch2FundTrig
AP.S2CDsp.Harmonic.Ch2FundSettling Method
AP.S2CDsp.Harmonic.Ch2FundTrig Method
Syntax AP.S2CDsp.Harmonic.Ch2FundTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.Harmonic.Ch2FundRdg command. The reading in progress is
aborted.
See Also AP.S2CDsp.Harmonic.Ch2FundRdg, AP.S2CDsp.Harmonic.
Ch2FundReady, AP.S2CDsp.Harmonic.Ch2FundSettling
Example See example for AP.S2CDsp.Harmonic.Ch2FreqRdg.
AP.S2CDsp.Harmonic.Ch2Source Property
Syntax AP.S2CDsp.Harmonic.Ch2Source
Data Type Integer
The following list contains the selections relevant to the AP.S2CDsp.Harmonic.
InputFormat command A/D input selections.
0 Anlr-A
1 Anlr-B
2 Anlr Rdg Ampl
AP.S2CDsp.Harmonic.Ch2Sum1Harmonics Property
Syntax AP.S2CDsp.Harmonic.Ch2Sum1Harmonics
Data Type Integer
Single decimal value or the sum of several decimal values representing multiple har-
monics or a constant value as defined below.
2 Harmonic 2 ON
4 Harmonic 3 ON
8 Harmonic 4 ON
16 Harmonic 5 ON
32 Harmonic 6 ON
64 Harmonic 7 ON
128 Harmonic 8 ON
256 Harmonic 9 ON
512 Harmonic 10 ON
1024 Harmonic 11 ON
2048 Harmonic 12 ON
4096 Harmonic 13 ON
8192 Harmonic 14 ON
16384 Harmonic 15 ON
Constants Description
apbAll Select All harmonics.
apbEven Select all Even harmonics.
apbNone Select None of the harmonics.
apbOdd Select all Odd harmonics.
Description This command sets individual or as a group harmonics for the Harmonic Distortion
Analyzer RSS summation #1 for channel 2.
Example See example for AP.S2CDsp.Harmonic.Ch2Sum1Rdg.
AP.S2CDsp.Harmonic.Ch2Sum1Rdg Property
AP.S2CDsp.Harmonic.Ch2Sum1Ready Property
Syntax AP.S2CDsp.Harmonic.Ch2Sum1Ready
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Harmonic Distortion Analyzer channel 2 Sum #1 settled
reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
AP.S2CDsp.Harmonic.Ch2Sum1RelUnits Property
Syntax AP.S2CDsp.Harmonic.Ch2Sum1RelUnits
Data Type Boolean
True Relative Units.
False Absolute Units.
Description This command selects the units that are avalible for the AP.S2CDsp.Harmonic.
Ch2Sum1Rdg command
Example See example for AP.S2CDsp.Harmonic.Ch2Sum1Rdg.
AP.S2CDsp.Harmonic.Ch2Sum1Settling Method
AP.S2CDsp.Harmonic.Ch2Sum1Trig Method
Syntax AP.S2CDsp.Harmonic.Ch2Sum1Trig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.Harmonic.Ch2Sum1Rdg command. The reading in progress is
aborted.
See Also AP.S2CDsp.Harmonic.Ch2Sum1Rdg, AP.S2CDsp.Harmonic.
Ch2Sum1Ready, AP.S2CDsp.Harmonic.Ch2Sum1Settling
Example See example for AP.S2CDsp.Harmonic.Ch2Sum1Rdg.
AP.S2CDsp.Harmonic.Ch2Sum2Harmonics Property
Syntax AP.S2CDsp.Harmonic.Ch2Sum2Harmonics
Data Type Integer
Single decimal value or the sum of several decimal values representing multiple har-
monics or a constant value as defined below.
2 Harmonic 2 ON
4 Harmonic 3 ON
8 Harmonic 4 ON
16 Harmonic 5 ON
32 Harmonic 6 ON
64 Harmonic 7 ON
128 Harmonic 8 ON
256 Harmonic 9 ON
512 Harmonic 10 ON
1024 Harmonic 11 ON
2048 Harmonic 12 ON
4096 Harmonic 13 ON
8192 Harmonic 14 ON
16384 Harmonic 15 ON
Constants Description
apbAll Select All harmonics.
apbEven Select all Even harmonics.
apbNone Select None of the harmonics.
apbOdd Select all Odd harmonics.
Description This command sets individual or as a group harmonics for the Harmonic Distortion
Analyzer RSS summation #2 for channel 2.
Example See example for AP.S2CDsp.Harmonic.Ch2Sum1Rdg.
AP.S2CDsp.Harmonic.Ch2Sum2Rdg Property
AP.S2CDsp.Harmonic.Ch2Sum2Ready Property
Syntax AP.S2CDsp.Harmonic.Ch2Sum2Ready
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Harmonic Distortion Analyzer channel 1 Sum #2 settled
reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.Har-
monic.Ch2Sum2Rdg or AP.S2CDsp.Harmonic.Ch2Sum2Trig commands
will zero the ready count.
If the reading is found to be ready, a call to the AP.S2CDsp.Harmonic.
Ch2Sum2Rdg command will be guaranteed to return quickly.
See Also AP.S2CDsp.Harmonic.Ch2Sum2Rdg, AP.S2CDsp.Harmonic.
Ch2Sum2Settling, AP.S2CDsp.Harmonic.Ch2Sum2Trig
Example See example for AP.S2CDsp.Harmonic.Ch2Sum1Rdg.
AP.S2CDsp.Harmonic.Ch2Sum2RelUnits Property
Syntax AP.S2CDsp.Harmonic.Ch2Sum2RelUnits
Data Type Boolean
True Relative Units
False Absolute Units
Description This command selects the units that are avalible for the AP.S2CDsp.Harmonic.
Ch2Sum2Rdg command
Example See example for AP.S2CDsp.Harmonic.Ch2Sum1Rdg.
AP.S2CDsp.Harmonic.Ch2Sum2Settling Method
AP.S2CDsp.Harmonic.Ch2Sum2Trig Method
Syntax AP.S2CDsp.Harmonic.Ch2Sum2Trig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.Harmonic.Ch2Sum2Rdg command. The reading in progress is
aborted.
See Also AP.S2CDsp.Harmonic.Ch2Sum2Rdg, AP.S2CDsp.Harmonic.
Ch2Sum2Ready, AP.S2CDsp.Harmonic.Ch2Sum2Settling
Example See example for AP.S2CDsp.Harmonic.Ch2Sum1Rdg.
AP.S2CDsp.Harmonic.Freq Property
AP.Sweep.Start
AP.S2CDsp.Harmonic.Selectivity = 1
‘Hi-Accuracy _
measurement mode
AP.Sweep.Append = True
AP.Sweep.Start
AP.Graph.Comment = “Hi-Speed and Hi-Accuracy _
measurement bandwidth."
End Sub
AP.S2CDsp.Harmonic.InputFormat Property
Syntax AP.S2CDsp.Harmonic.InputFormat
Data Type Integer
0 Digital @ ISR
1 HiRes A/D @65536
2 HiBW A/D @131072
3 HiBW A/D @262144
4 HiRes A/D @SSR
5 HiBW A/D @2xSSR
Description This command sets the Harmonic Distortion Analyzer Input Format.
Example See example for AP.S2CDsp.Harmonic.Ch1FreqRdg.
AP.S2CDsp.Harmonic.Selectivity Property
Syntax AP.S2CDsp.Harmonic.Selectivity
Data Type Integer
0 Hi-Speed: In this mode measurement selectivity is
reduced to improve measurement speed. Rapid readings
of changing conditions are best done in this mode.
1 Hi-Accuracy: In this mode measurement selectivity is
increased to reduce the noise contribution to the
measurement. Frequency and amplitude accuracy is
improved.
Description This command sets the Harmonic Distortion Analyzer measurement mode.
Example See example for AP.S2CDsp.Harmonic.Freq.
AP.S2CDsp.Harmonic.Tuning Property
Syntax AP.S2CDsp.Harmonic.Tuning
Data Type Integer
0 Counter Tuned: The frequency value measured by the
Harmonic Distortion Analyzer Frequency counter is the
Syntax AP.S2CDsp.Intervu.AcquisitionPosition
Data Type Integer
0 Post-Trigger
1 Pre-Trigger.
Description This command configures the Digital Interface Analyzer Data Acquisition to occur
before or after the trigger.
See Also AP.S2CDsp.Intervu.TrigSource
Example See example for AP.S2CDsp.Intervu.TrigErrorParity.
AP.S2CDsp.Intervu.AmplVsTime Property
Syntax AP.S2CDsp.Intervu.AmplVsTime
Data Type Integer
0 Interpolate: The DSP module will perform an interpolation
calculation based on the fact that the signal was band-
limited by an internal 30 MHz low-pass filter before
sampling.
1 Display Samples: No processing takes place in the DSP
module. At each time value plotted on the X-axis, the
DSP simply sends the amplitude of the nearest-in-time
acquired sample of the digital interface waveform to the
computer for plotting. When displaying only a few pulses
of the digital interface waveform, this is typically the best
mode to use.
2 Peak Values: The DSP searches all sample amplitudes in
the acquisition buffer between each pair of horizontal axis
time values plotted and sends to the computer for plotting
the largest positive or negative value in that span,
preserving the plus or minus sign. The intended use of
the Peak Values mode is when graphing pulse width
histograms or a relatively long time span on the X-axis,
where the combination of Start-to-Stop time span and
Steps value on the Sweep panel results in skipping
across many actual acquired samples between plotted
AP.S2CDsp.Intervu.AudioMonitor Property
Syntax AP.S2CDsp.Intervu.AudioMonitor
Data Type Integer
0 Audio Monitor: Monitor the imbedded digital audio signal.
1 Jitter Signal: Monitor the demodulated jitter signal.
Description This command determins the audio signal that is sent to the headphone output from
the Digital Interface Analyzer.
See Also AP.Speaker.Mode, AP.Speaker.Source
Example See example for AP.S2CDsp.Intervu.AmplVsTime.
AP.S2CDsp.Intervu.Averages Property
Syntax AP.S2CDsp.Intervu.Averages
Data Type Integer
0 1
1 2
2 4
3 8
4 16
5 32
6 64
7 128
Description This command sets the Digital Interface Analyzer number of acquisition-and-pro-
cessing cycles to average.
Example Sub Main
AP.Application.NewTest
AP.Application.PanelClose apbPanelAnalogGenSmall
AP.Application.PanelClose apbPanelAnlrSmall
AP.DGen.Output = True
AP.S2CDsp.Program = 3 'Digital Interface Analyzer
AP.S2CDsp.Intervu.Averages = 4 '16 Averages
AP.S2CDsp.Intervu.Window = 4 'No Window
AP.Sweep.Data1.Id = 6055
AP.Sweep.Source1.Id = 5613
AP.S2CDio.OutJitterType = 1 'Sine Jitter
AP.S2CDio.OutJitterAmpl("sec") = 100e-9
AP.S2CDio.InConnector = 3
AP.Sweep.Start
AP.Graph.OptimizeLeft
End Sub
AP.S2CDsp.Intervu.JitterDetection Property
Syntax AP.S2CDsp.Intervu.JitterDetection
Data Type Integer
0 Stable Bits: This selection causes AP2700 to derive the
stable reference clock at 1/4 the actual cell (bit) rate,
synchronized to the beginning transition of the preamble.
The serial signal consists of 32 cells (bits) per subframe
and two subframes (left and right channels) per frame.
The frame rate is equal to the sample rate of the
embedded audio. Thus, there are 64 cells (bits) in a
complete frame and the cell rate is 1/64 the audio sample
rate. The first four cells of each subframe are the
preamble. The preamble always starts with a three UI (1
1/2 cell) wide pulse followed by sequences of one UI, two
AP.S2CDsp.Intervu.TrigErrorCoding Property
Syntax AP.S2CDsp.Intervu.TrigErrorCoding
Data Type Boolean
True Enable Data Acqusition trigger generation on a Coding
error.
False Disable Data Acqusition trigger generation on a Coding
error.
Description This command enables or disables generation of a Data Acquisition trigger for a
Coding Error.
Coding indicates a deviation from proper biphase coding in the input serial stream
(ignoring preambles). Proper biphase signals can never remain at a logic high or
logic low level for more than two consecutive Unit Intervals (UI) except in the pre-
amble. The preamble deliberately deviates from biphase coding in order to provide a
unique frame synchronization signal, so preambles are excluded from the function
of the Coding indicators.
Example See example for AP.S2CDsp.Intervu.TrigErrorParity.
AP.S2CDsp.Intervu.TrigErrorConfidence Property
Syntax AP.S2CDsp.Intervu.TrigErrorConfidence
AP.S2CDsp.Intervu.TrigErrorLock Property
Syntax AP.S2CDsp.Intervu.TrigErrorLock
Data Type Boolean
True Enable Data Acqusition trigger generation on a Lock error.
False Disable Data Acqusition trigger generation on a Lock
error.
Description This command enables or disables generation of a Data Acquisition trigger for a
Lock Error.
The Lock error occurs when the digital input phase-locked loop is unable to lock to
the incoming signal.
Example See example for AP.S2CDsp.Intervu.TrigErrorParity.
AP.S2CDsp.Intervu.TrigErrorParity Property
Syntax AP.S2CDsp.Intervu.TrigErrorParity
Data Type Boolean
True Enable Data Acqusition trigger generation on a Parity
error.
False Disable Data Acqusition trigger generation on a Parity
error.
Description This command enables or disables generation of a Data Acquisition trigger for a Par-
ity Error.
The Parity error indicates a parity error in either subframe. Correct parity is deter-
mined by comparing the P (parity) bit with the sum of the remaining 31 bits in each
subframe. Any single bit error or odd number of bit errors introduced in transmis-
sion within a subframe will cause a Parity error indication, but even numbers of bit
errors cannot be detected by this technique.
AP.S2CDio.InConnector = 3
AP.Sweep.Data1.Id = 6053
AP.Sweep.Source1.Id = 5612
AP.Sweep.Source1.Start("sec") = -5.0e-006
AP.Sweep.Source1.Stop("sec") = 5.0e-006
AP.Application.SetWatchDogTimer1(5.0,False)
'Fire timer to create Parity Error in 5 seconds.
AP.Sweep.StartNoWait
AP.Graph.Comment = "Wait for Parity Error to occur."
Do
Loop While AP.S2CDio.FlagParityRdg = False
'Wait here for Parity Error to be detected on the _
Digital Input/Output panel.
End Sub
Sub APEvent_OnWatchDogTimeout(ByVal Id As Long)
If Id = 1 Then
AP.S2CDio.OutParityError = True
End If
End Sub
AP.S2CDsp.Intervu.TrigPolarity Property
Syntax AP.S2CDsp.Intervu.TrigPolarity
Data Type Integer
0 Positive: The data acquistition will begin on the first
positive-going zero crossing of the signal selected in the
Trigger Source field.
1 Negative: The data acquistition will begin on the first
negative-going zero crossing of the selected signal
selected in the Trigger Source field.
Description This command sets the Digital Interface Analyzer Trigger Polarity for the for the
Trigger Source field Jitter Generator, External, Common Mode Signal, Interfering
Noise, Digital Generator, and Input Zero Crossing selections.
See Also AP.S2CDsp.Intervu.TrigSource
Example See example for AP.S2CDsp.Intervu.TrigErrorParity.
AP.S2CDsp.Intervu.TrigSource Property
Syntax AP.S2CDsp.Intervu.TrigSource
Data Type Integer
0 Ch. A Receive Preamble: This selection causes the signal
to be acquired at the first Channel A (left) Preamble which
occurs after Go is clicked or the F9 function key is
pressed. The Channel A Preamble is known as the X
Preamble in the AES/EBU standard and the M Preamble
in the Consumer standard. The first information acquired
will be the last four Unit Intervals of the selected
preamble, followed by the LSB of the audio signal if full
24-bit resolution audio is transmitted, or the beginning of
the 4-bit Auxiliary data if audio is restricted to 20 bits or
less.
1 Ch. A Transmit Preamble: This selection causes the
signal to be acquired beginning at the start of the first
Channel A Preamble which is transmitted after the AP.
Sweep.Start command is executed. The first
information acquired includes the entire preamble,
followed by audio or Auxiliary data. This triggering
selection permits measurement of time delay through a
digital device or system under test.
2 Ch. B Receive Preamble: This selection causes the signal
to be acquired at the first Channel B (right) Preamble
which occurs after Go is clicked or the F9 function key is
pressed. The Channel B Preamble is known as the Y
Preamble (AES/EBU) or W Preamble (consumer). The
first information acquired will be the last four Unit Intervals
of the selected preamble, followed by the LSB of the
audio signal if full 24-bit resolution audio is transmitted, or
AP.S2CDsp.Intervu.Window Property
Syntax AP.S2CDsp.Intervu.Window
Data Type Integer
0 Blackman-Harris
1 Hann
2 Flat-Top
3 Equiripple
4 None
Description This command sets the Digital Interface Analyzer Window selection. See Appendix
C for FFT Window Discriptions.
Example See example for AP.S2CDsp.Intervu.AmplVsTime.
Syntax AP.S2CDsp.MLS.Averages
Data Type Integer Number of Averages
0 1
1 2
2 4
3 8
4 16
5 32
6 64
7 128
8 256
9 512
10 1024
11 2048
12 4096
Description This command sets the number of acquisitions for the averaging function of the
Quasi-Anechoic Acoustical Tester (MLS).
When measuring a coherent signal in the presence of uncorrelated noise, synchro-
nous averaging of many measurements will reduce the noise reading and allow the
coherent signal to be recovered more effectively. MLS averaging is done synchro-
nously in the time domain.
Example Sub Main
AP.S2CDsp.Mls.Averages = 9 'set MLS Av. to 512
End Sub
AP.S2CDsp.MLS.Ch1Rdg Property
Description This command returns a unsettled reading for the Quasi-Anechoic Acoustical Tester
channel 1 Peak Monitor meter and zeros the ready count.
See Also AP.S2CDsp.MLS.Ch1Ready, AP.S2CDsp.MLS.Ch1Trig
Example Sub Main
AP.Application.NewTest
AP.Gen.Wfm 7, 0
AP.Gen.Output = True
AP.Anlr.ChAInput = 2
AP.Anlr.ChBInput = 2
With AP.S2Dsp
.Program = 5
.Mls.InputFormat = 1 'HiRes A/D @65k input
.Mls.Ch1Source = 0 'Analyzer A input
.Mls.Ch2Source = 1 'Analyzer B input
Wait 0.5
.Mls.Ch1Trig 'Trigger Ch 1 reading
.Mls.Ch2Trig 'Trigger Ch 2 reading
Do
Ready1 = .Mls.Ch1Ready 'Check status
Ready2 = .Mls.Ch2Ready 'Ckeck status
Loop Until Ready1 > 0 And Ready2 > 0
Reading1 = .Mls.Ch1Rdg("FFS")
'Get reading
Reading2 = .Mls.Ch2Rdg("FFS")
'Get reading
End With
NewLine$ = Chr(13)
a$= "Ch1 Peak Mon "+Left(Str$(Reading1),6)+" FFS"
b$= "Ch2 Peak Mon "+Left(Str$(Reading2),6)+" FFS"
AP.Prompt.Text = a$ + NewLine$ + b$ + NewLine
AP.Prompt.ShowWithContinue
Stop
End Sub
AP.S2CDsp.MLS.Ch1Ready Property
Syntax AP.S2CDsp.MLS.Ch1Ready
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Quasi-Anechoic Acoustical Tester channel 1 Peak Moni-
tor meter unsettled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
AP.S2CDsp.MLS.Ch1Source Property
Syntax AP.S2CDsp.MLS.Ch1Source
Data Type Integer
The following list contains the selections relevant to the AP.S2CDsp.MLS.
InputFormat command A/D input selection.
0 Anlr-A
1 Anlr-B
2 Anlr Reading Ampl
3 Anlr Reading Ratio
4 Ch. A Generator
5 Ch. B Generator
6 Jitter Signal (UI)
7 None
8 Jitter Signal (sec)
Description This command sets the Quasi-Anechoic Acoustical Tester Channnel 1 Input.
Example See example for AP.S2CDsp.MLS.Ch1Rdg.
AP.S2CDsp.MLS.Ch1Trig Method
Syntax AP.S2CDsp.MLS.Ch1Trig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.MLS.Ch1Rdg command. The reading in progress is aborted.
See Also AP.S2CDsp.MLS.Ch1Rdg, AP.S2CDsp.MLS.Ch1Ready
Example See example for AP.S2CDsp.MLS.Ch1Rdg.
AP.S2CDsp.MLS.Ch2Rdg Property
AP.S2CDsp.MLS.Ch2Ready Property
Syntax AP.S2CDsp.MLS.Ch2Ready
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Quasi-Anechoic Acoustical Tester channel 2 Peak Moni-
tor meter unsettled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.S2CDsp.MLS.
Ch2Rdg or AP.S2CDsp.MLS.Ch2Trig commands will zero the ready count.
If the reading is found to be ready, a call to the AP.S2CDsp.MLS.Ch2Rdg com-
mand will be guaranteed to return quickly.
See Also AP.S2CDsp.MLS.Ch2Rdg, AP.S2CDsp.MLS.Ch2Trig
Example See example for AP.S2CDsp.MLS.Ch1Rdg.
AP.S2CDsp.MLS.Ch2Source Property
Syntax AP.S2CDsp.MLS.Ch2Source
Data Type Integer
The following list contains the selections relevant to the AP.S2CDsp.MLS.
InputFormat command A/D input selection.
0 Anlr-A
1 Anlr-B
2 Anlr Reading Ampl
3 Anlr Reading Ratio
4 Ch. A Generator
5 Ch. B Generator
6 Jitter Signal (UI)
7 None
8 Jitter Signal (sec)
0 A
1 B
2 None
Description This command sets the Quasi-Anechoic Acoustical Tester Channnel 2 Input.
Example See example for AP.S2CDsp.MLS.Ch1Rdg.
AP.S2CDsp.MLS.Ch2Trig Method
Syntax AP.S2CDsp.MLS.Ch2Trig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.S2CDsp.MLS.Ch2Rdg command. The reading in progress is aborted.
See Also AP.S2CDsp.MLS.Ch2Rdg, AP.S2CDsp.MLS.Ch2Ready
Example See example for AP.S2CDsp.MLS.Ch1Rdg.
AP.S2CDsp.MLS.InputFormat Property
Syntax AP.S2CDsp.MLS.InputFormat
Data Type Integer
0 Digital @ ISR:
1 HiRes A/D @65536
2 HiBW A/D @131072
3 HiBW A/D @262144
4 HiRes A/D @SSR
5 HiBW A/D @2xSSR
Description This command sets the Quasi-Anechoic Acoustical Tester Input Format.
Example See example for AP.S2CDsp.MLS.Ch1Rdg.
AP.S2CDsp.Mls.Smoothing Property
Syntax AP.S2CDsp.Mls.Smoothing
Data Type Double Range of Values: 0 to 2.64 octaves
Description This command controls the width of the MLS Smoothing algorithm in octave units.
Octave smoothing is a common technique in loudspeaker response measurement,
useful in revealing trends by smoothing out anomalies in the response curve. The
AP2700 implementation uses a hybrid FFT bin averaging and interpolation tech-
nique to achieve smooth results even at very low bin densities. Smoothing, which
only affects frequency-domain displays, effectively passes the raw response data
through multiple constant-Q bandpass filters, one filter centered on each frequency
requested from the Sweep panel.
Example Sub Main
AP.S2CDsp.Mls.Smoothing = .3333
AP.S2CDsp.MLS.TimeDelay Property
AP.Sweep.Stereo = False
AP.Sweep.Source1.Id = 5581 'Amplitude
AP.Sweep.Data1.Top("dBV") = 26.020600
AP.Sweep.Source1.LogLin = 0
AP.Sweep.Data2.Id = 6046 'Phase
AP.Sweep.Stereo = True
AP.S2CDsp.Mls.TimeDelay("sec") = 38.74e-6
AP.S2CDsp.Mls.WindowStart = 0 'None
AP.S2CDsp.Mls.WindowStop = 0 'None
AP.Sweep.Retransform 'Retransform FFT
AP.Graph.OptimizeIndividually 'Optimize display
AP.S2CDsp.MLS.TimeDisplay Property
Syntax AP.S2CDsp.MLS.TimeDisplay
Data Type Integer
0 Impulse Response: This selection will show the results of
the MLS correlation which is the actual impulse response
of the device under test.
1 Energy-Time: This selection will display what is commonly
called an energy-time curve. The energy-time curve
computation process involves transforming the impulse
response to the frequency domain, doing further
processing in the frequency domain, and transforming the
result back to the time domain. A frequency window may
be used for the conversion from frequency domain back
to time domain. The frequency window is selected in the
Energy-Time Window field.
Description This command sets the Quasi-Anechoic Acoustical Tester Time Domain Display
type.
Example See example for AP.S2CDsp.Mls.TimeDelay.
AP.S2CDsp.MLS.TrigSource Property
Syntax AP.S2CDsp.MLS.TrigSource
Data Type Integer
0 Analog Generator
1 Digital Generator
Description This command sets the Quasi-Anechoic Acoustical Tester Trigger Source.
Example See example for AP.S2CDsp.Mls.TimeDelay.
AP.S2CDsp.MLS.WfmDisplay Property
Syntax AP.S2CDsp.MLS.WfmDisplay
Data Type Integer
0 Interpolate
1 Display Samples
2 Peak Values
Description This command sets the Quasi-Anechoic Acoustical Tester waveform display mode.
When Interpolate is selected, the DSP will compute the data value, interpolated from
the nearby measured values. This smoothes out the stair-step appearance of fre-
quency response curves at low frequencies with a Log horizontal axis, where the bin
width (usually 2.93 Hz at the 48 kHz sample rate) occupies a significant portion of
the screen.
When Display Samples is selected, the DSP will return the closest actual measured
value without altering the data. Normal is the recommended display mode for fre-
quency response data with a Linear horizontal axis or with a Log axis above 100 to
300 Hz. In these cases, the jagged lines caused by the FFT bin width are not usually
noticeable.
When Peak Values is selected, The Peak mode will return the largest value between
the last requested sweep point and the current one. Peak is recommended for time do-
main MLS displays (Impulse Response and Energy-Time). Peak mode would not
normally be used for frequency response displays with MLS.AZ1, since high values
are of no more interest than low values when plotting frequency response.
Example See example for AP.S2CDsp.Mls.TimeDelay.
AP.S2CDsp.MLS.WindowETime Property
Syntax AP.S2CDsp.MLS.WindowETime
Data Type Integer
0 No Window: This selection will perform the required
transformations with all frequency components of the
signal included in the computations.
1 Half Hann: This selection reduces the contribution of high
frequencies. The low frequency information remains
unchanged. When operating at the 48 kHz sample rate
this window filters out energy above 12 kHz.
2 Hann: This selection reduces both high and low frequency
energy, concentrating on arrivals at the center of the
frequency range. Since the processing occurs on a linear
frequency scale, this will focus analysis on signals around
one quarter of the sample rate. At 48 kHz this will result in
AP.S2CDsp.MLS.WindowStart Property
Syntax AP.S2CDsp.MLS.WindowStart
Data Type Integer
0 None:
1 <5%
2 <10%
3 <20%
4 <30%
Description This command sets the Quasi-Anechoic Acoustical Tester Start Time Window selec-
tion.
When a section of the impulse response (direct arrival signal before reflections, for
example) is isolated and transformed into the frequency domain, the impulse ampli-
tude at the beginning and ending of that section will generally not be exactly the
same and thus will not splice smoothly. The sharp edges introduced into the impulse
response by splicing unequal amplitudes will produce ripples in the resulting fre-
quency response plot. Windowing the time domain data by attenuating the ampli-
tude at the beginning and end of the section to be transformed will reduce this
rippling, but also reduces the steepness of transitions in the frequency response
plots. The Time Start Window and Time Stop Window fields select the window ap-
plied to the impulse response (time domain) when transforming it to the frequency
domain.
The time window is made up of two half-windows. The first half is selected in the
Time Start Window field and is used to process the first portion of data, beginning at
the Source 1 Start time on the Sweep panel. The second half-window is selected in
the Time Stop Window field and processes the later portion of data, ending at the se-
lected Stop time on the Sweep panel. Separate selection of the Source 1 Start and
Stop half-windows permits creation of asymmetrical windows, which provide the op-
timum match to the asymmetrical shape of the typical impulse response. To change
selections, click on the down arrow at the right of the field and click on the desired
selection in the list which is displayed. The available selections at both the Time
Start Window and Time Stop Window fields are a family of half-cycle raised cosine
functions labeled NONE, <5%, <10%, <20% and <30%. The numeric value refers
to the amount of the data record (time span multiplied by sample period) taken up
by the window's transition from zero to full amplitude. The Time Start Window
half-window starts with an amplitude of zero at the Sweep panel Start time and
AP.S2CDsp.MLS.WindowStop Property
Syntax AP.S2CDsp.MLS.WindowStop
Data Type Integer
0 None:
1 <5%
2 <10%
3 <20%
4 <30%
Description This command sets the Quasi-Anechoic Acoustical Tester Stop Time Window selec-
tion.
See Also AP.S2CDsp.MLS.WindowStart
Example See example for AP.S2CDsp.Mls.TimeDelay.
Syntax AP.S2CDsp.Program
Data Type Integer
0 None: No Digital Analyzer selected.
1 DSP Audio Analyzer (ANALYZER): This selection is
usable for analog or digital domain input signals. It
measures frequency, amplitude, and one of a number of
more sophisticated parameters (2-channel amplitude
ratio, selective amplitude, crosstalk, THD+N, IMD, and
phase) on both stereo channels simultaneously. For
analog domain signals, this DSP-implemented analyzer
provides certain advantages over the hardware Analog
Analyzer. These include faster testing speed, sharper
selectivity of its bandpass filter, a number of standard
weighting filters, and a very steep cutoff 400 Hz highpass
filter for quantization noise and distortion measurements.
2 FFT spectrum analyzer (FFT): This selection is usable for
analog or digital domain input signals. It provides
general-purpose time domain (oscilloscope) display of
waveforms or frequency domain (spectrum analyzer)
display of signals, including the received jitter signal.
Features include double precision transforms for better
than 140 dB dynamic range, pre-trigger, a variety of
selectable transform lengths up through 32k, acquisition
memory up to 256k, the ability to position the start of the
transformed section anywhere in the acquired record,
both synchronous (time domain) and FFT spectrum
(power-law) averaging, four windowing functions, a
frequency correction technique which adjusts single
sinewave signals to bin center so that no window is
necessary, and several types of waveform processing for
display.
3 Digital interface analyzer (INTERVU): This selection
analyzes the AES/EBU or consumer digital interface input
signal of digital interface models via a 80 MHz sample
rate A/D converter. It displays eye patterns, waveform
display or spectrum analysis of the digital interface signal,
waveform display or spectrum analysis of the recovered
AP.Application.PanelClose(apbPanelAnalogGenSmall)
AP.Application.PanelClose(apbPanelAnlrSmall)
AP.S2CDsp.Anlr.AcquireLength = 0
'Track Transform length
AP.Sweep.Source1.Start("Hz") = 100000
AP.Sweep.Data1.Id = 6024
AP.Sweep.Data1.Top("dBV") = 26.020600
AP.Sweep.Source1.Id = 5515
AP.Sweep.Start
AP.Graph.OptimizeLeft
End Sub
AP.S2CDsp.RefCh1dBr Property
"+Left(Str$(V_reading1),6)+"V/FS"
AP.Prompt.Text = a$ + NewLine$ + b$ + NewLine$ + _
$ + NewLine$ + d$
AP.Prompt.ShowWithContinue
Beep
Stop
End Sub
AP.S2CDsp.RefCh2dBr Property
AP.S2CDsp.RefFreq Property
AP.S2CDsp.RefVFS Property
Description This command sets the V/FS value is the analog-to-digital scaling value. When test-
ing an external Analog to Digital converter (A/D), the value of analog input voltage
which produces digital full scale output may be typed into this field. The Level Mon-
itor or Reading meter units may then be selected as V, Vp, Vpp, dBu, dBV, dBr1, or
dBr2 to express the measured digital amplitude in terms of the analog input value to
the converter.
Example See example for AP.S2CDsp.RefCh1dBr.
Syntax AP.PSIA.MasterClkDir
Data Type Integer Transmit-side master clock Receive-side master
clock
0 Input Input
1 Output Input
2 Input Output
Description This command selects the master clock direction for transmit and receive sides si-
multaneously. Each master clock port can be configured as an input or as an output,
although not all combinations are available. See the table above. In input (slave)
mode, the master clock is provided by an external source. In output (master) mode,
the master clock is provided by the PSIA.
See Also
AP.PSIA.Rx.MasterClk.Factor, AP.PSIA.Rx.BitClkDir, AP.PSIA.
Rx.FrameClkDir
Example Sub Main
AP.S2CDio.OutConnector = 3
' PSIA output
AP.PSIA.MasterClkDir = 1 ' Tx out, Rx in
AP.PSIA.OutputsOn = True ' Outputs on
AP.PSIA.VoltageSetting = PSIA_3_3_TTL
' 3.3 V TTL
AP.PSIA.Tx.MasterClk.Factor = 256
' master clk = 256 * Fs
AP.PSIA.Tx.NFsClk.Factor = 128
' N*Fs clk = 128 * Fs
AP.PSIA.Tx.NFsClk.InvWfm = False
' non-inverted
AP.PSIA.Rx.MasterClk.Factor = 128
' N*Fs clk = 128 * Fs
AP.PSIA.Rx.NFsClk.Factor = 128
' master clk = 128 * Fs
AP.PSIA.Rx.NFsClk.InvWfm = True
' inverted
End Sub
AP.PSIA.OutputsOn Property
Syntax AP.PSIA.OutputsOn
Data Type Boolean
True ON
False OFF
Description This command turns the PSIA outputs on or off. When the outputs are off, they are
tri-stated. When the outputs are on, they are driven according to the voltage setting.
See Also AP.PSIA.VoltageSetting
Example See example for AP.PSIA.MasterClkDir.
AP.PSIA.Rx.BitClk.Dir Property
AP.PSIA.Tx.BitClk.Dir
Syntax AP.PSIA.Rx.BitClk.Dir
AP.PSIA.Tx.BitClk.Dir
Data Type Integer
0 Output
1 Input
Description This command selects the bit clock direction. Each bit clock port can be configured
as an output or as an input. In output (master) mode, the bit clock is provided by the
PSIA. In input (slave) mode, the bit clock is provided by an external source.
See Also AP.PSIA.Rx.BitClk.Factor, AP.PSIA.Rx.FrameClk.Dir, AP.PSIA.
Rx.MasterClkDir
Example Sub Main
AP.PSIA.Tx.BitClk.Dir = 0 ' output
AP.PSIA.Tx.BitClk.Factor = 32 ' 32-bit words
AP.PSIA.Rx.BitClk.Dir = 1 ' input
AP.PSIA.Rx.BitClk.Factor = 32 ' 32-bit words
End Sub
AP.PSIA.Rx.BitClk.Factor Property
AP.PSIA.Tx.BitClk.Factor
Syntax AP.PSIA.Rx.BitClk.Factor
AP.PSIA.Tx.BitClk.Factor
Data Type Integer 8-32 (limited also by digital resolution settings)
Description This command specifies the ratio (factor) between the bit clock and the channel
clock. It is equal to the number of bits per channel. It cannot be set lower than the
number of bits specified in the digital output resolution field (for Tx) or the digital
input resolution field (for Rx). The maximum number of bits per channel is 32.
AP.PSIA.Rx.ChannelClk.BitWidePulse Property
AP.PSIA.Tx.ChannelClk.BitWidePulse
Syntax AP.PSIA.Rx.ChannelClk.BitWidePulse
AP.PSIA.Tx.ChannelClk.BitWidePulse
Data Type Boolean
True Bit Wide Pulse (one period of the bit clock)
False Approximately 50% duty cycle
Description This command selects the pulse width of the channel clock output. Assuming that
the channel clock output is not inverted, the following are true:
AP.PSIA.Rx.ChannelClk.EdgeSync Property
AP.PSIA.Tx.ChannelClk.EdgeSync
Syntax AP.PSIA.Rx.ChannelClk.EdgeSync
AP.PSIA.Tx.ChannelClk.EdgeSync
Data Type Integer
0 Rising edge
1 Falling edge
Description For the transmitter side (Tx), this command selects whether the channel clock output
is asserted at the rising or falling edge of the bit clock. For the receiver side (Rx),
this command selects whether the channel clock input is latched at the rising or fall-
ing edge of the bit clock.
See Also AP.PSIA.Rx.ChannelClk.BitWidePulse, AP.PSIA.Rx.ChannelClk.
Dir, AP.PSIA.Rx.ChannelClk.InvWfm.
Example See example for AP.PSIA.Rx.ChannelClk.BitWidePulse.
AP.PSIA.Rx.ChannelClk.Factor Property
AP.PSIA.Tx.ChannelClk.Factor
Syntax AP.PSIA.Rx.ChannelClk.Factor
AP.PSIA.Tx.ChannelClk.Factor
Data Type Long 1–256
Description This command specifies the ratio (factor) between the channel clock and the frame
clock. It is equal to the number of channels per frame. The minimum number of
channels is 1. The maximum number of channels is 256; limitations on the master
clock rate may further restrict this.
See Also AP.PSIA.Rx.ChannelClk.BitWidePulse, AP.PSIA.Rx.ChannelClk.
EdgeSync, AP.PSIA.Rx.ChannelClk.InvWfm.
Example See example for AP.PSIA.Rx.ChannelClk.BitWidePulse, AP.PSIA.
Rx.ChannelClk.InvWfm.
AP.PSIA.Rx.ChannelClk.InvWfm Property
AP.PSIA.Tx.ChannelClk.InvWfm
Syntax AP.PSIA.Rx.ChannelClk.InvWfm
AP.PSIA.Tx.ChannelClk.InvWfm
Data Type Boolean
True Inverted channel clock
AP.PSIA.Rx.Data.ChannelA Property
AP.PSIA.Tx.Data.ChannelA
Syntax AP.PSIA.Rx.Data.ChannelA
AP.PSIA.Tx.Data.ChannelA
Data Type Integer 0 to n-1, where n is the number of channels specified by
the associated ChannelClk.Factor command.
Description For the transmitter side (Tx), this command causes generator Channel A data to ap-
pear on the selected subframe. For the receiver side (Rx), this command causes data
from the selected subframe to be applied to Channel A of the analyzer.
Note that the channel assignments are zero-based, that is, the channels are numbered
from zero to one less than the number of available channels.
See Also AP.PSIA.Rx.Data.ChannelB
Example See example for AP.PSIA.Rx.Data.EdgeSync.
AP.PSIA.Rx.Data.ChannelB Property
AP.PSIA.Tx.Data.ChannelB
Syntax AP.PSIA.Rx.Data.ChannelB
AP.PSIA.Tx.Data.ChannelB
Data Type Integer A+1 to n-1, where A is the value of .Data.ChannelA and n
is the number of channels specified by the associated
ChannelClk.Factor command.
Description For the transmitter side (Tx), this command causes generator Channel B data to ap-
pear on the selected subframe. For the receiver side (Rx), this command causes data
from the selected subframe to be applied to Channel B of the analyzer.
Note that the channel assignments are zero-based, that is, the channels are numbered
from zero to one less than the number of available channels.
See Also AP.PSIA.Rx.Data.ChannelA
AP.PSIA.Rx.Data.EdgeSync Property
AP.PSIA.Tx.Data.EdgeSync
Syntax AP.PSIA.Rx.Data.EdgeSync
AP.PSIA.Tx.Data.EdgeSync
Data Type Integer
0 Rising edge
1 Falling edge
Description For the transmitter side (Tx), this command selects whether the data output is as-
serted at the rising or falling edge of the bit clock. For the receiver side (Rx), this
command selects whether the data input is latched at the rising or falling edge of the
bit clock.
See Also AP.PSIA.Rx.ChannelClk.EdgeSync, AP.PSIA.Rx.FrameClk.
EdgeSync
Example Sub Main
AP.PSIA.Tx.ChannelClk.Factor = 4
' 4 channels...
AP.PSIA.Tx.BitClk.Factor = 32
' ...of 32-bit data
AP.PSIA.Tx.Data.EdgeSync = 0
' assert on rising edge
AP.PSIA.Tx.Data.ChannelA = 1
' assign ChA data to channel 1
AP.PSIA.Tx.Data.ChannelB = 3
' assign ChB data to channel 3
AP.PSIA.Tx.Data.MsbFirst = True
' send audio word MSB first
AP.PSIA.Tx.Data.PrePadType = 2
' pre-pad with sign
AP.PSIA.Tx.Data.PostPadType = 0
' post-pad with zeros
' Note: the following two lines are equivalent
AP.PSIA.Tx.Data.Justify(apbRight)
' right justify audio word
AP.PSIA.Tx.Data.PadBits = AP.PSIA.Tx.BitClk.Factor -
AP.S2CDio.OutResolution
AP.PSIA.Rx.ChannelClk.Factor = 4
' 4 channels...
AP.PSIA.Rx.BitClk.Factor = 32
' ...of 32-bit data
AP.PSIA.Rx.Data.EdgeSync = 1
' latch on falling edge
AP.PSIA.Rx.Data.ChannelA = 1
' channel 1 data -> ChA of analyzer
AP.PSIA.Rx.Data.ChannelB = 3
' channel 1 data -> ChB of analyzer
AP.PSIA.Rx.Data.MsbFirst = True
' accept audio word MSB first
' Note: the following two lines are
equivalent
AP.PSIA.Rx.Data.Justify(apbRight)
' accept right-justified audio word
AP.PSIA.Rx.Data.PadBits =
AP.PSIA.Rx.BitClk.Factor -
AP.S2CDio.InResolution
End Sub
AP.PSIA.Rx.Data.Justify Method
AP.PSIA.Tx.Data.Justify
AP.PSIA.Rx.Data.MSBFirst Property
AP.PSIA.Tx.Data.MSBFirst
Syntax AP.PSIA.Rx.Data.MSBFirst
AP.PSIA.Tx.Data.MSBFirst
Data Type Boolean
True MSB first
False LSB first
Description For the transmitter side (Tx), this command specifies whether audio data is sent
Most Significant Bit (MSB) first or Least Significant Bit (LSB) first. For the re-
ceiver side (Rx), this command specifies whether audio data is accepted MSB first
or LSB first.
See Also AP.PSIA.Rx.Data.Justify
AP.PSIA.Rx.Data.PadBits Property
AP.PSIA.Tx.Data.PadBits
Syntax AP.PSIA.Rx.Data.PadBits
AP.PSIA.Tx.Data.PadBits
Data Type Long 0–24 (limited also by the number of bits per channel and
the digital resolution)
Description For the transmitter side (Tx), this command sets the number of leading (leftmost)
pad bits. If the sum of the number of pad bits and the number of bits in the audio
word is less than the number of bits per channel, the subframe will also be padded
with trailing bits. For the receiver side (Rx), this command sets the offset in bits of
the audio data in the subframe, that is, the number of bits that will be skipped before
audio data is clocked in.
See Also AP.PSIA.Tx.Data.PostPadType, AP.PSIA.Tx.Data.PrePadType,
AP.PSIA.Rx.BitClk.Factor, AP.S2CDio.InResolution, AP.
S2CDio.OutResolution
Example See example for AP.PSIA.Rx.Data.EdgeSync.
AP.PSIA.Rx.FrameClk.BitWidePulse Property
AP.PSIA.Tx.FrameClk.BitWidePulse
Syntax AP.PSIA.Rx.FrameClk.BitWidePulse
AP.PSIA.Tx.FrameClk.BitWidePulse
Data Type Boolean
True Bit-wide pulse (one period of the bit clock)
False Approximately 50% duty cycle
Description This command selects the pulse width of the frame clock output. Assuming that the
frame clock output is not inverted, and not set to shift 1 bit left, the following are
true:
§ When FrameClk.BitWidePulse is True, the frame clock is high for the first
bit of each frame, and low for the rest of the frame.
Note: This command is not available when the associated frame clock direction is
set to IN.
See Also AP.PSIA.Rx.FrameClk.Dir, AP.PSIA.Rx.FrameClk.Rate,
AP.PSIA.Rx.FrameClk.EdgeSync, AP.PSIA.Rx.FrameClk.
InvWfm, AP.PSIA.Rx.FrameClk.ShiftOneBitLeft
Example Sub Main
AP.PSIA.Tx.FrameClk.Dir = 0
' output
AP.PSIA.Tx.FrameClk.EdgeSync = 0
' assert on bitclk rise
AP.PSIA.Tx.FrameClk.InvWfm = True
' invert
AP.PSIA.Tx.FrameClk.ShiftOneBitLeft = True
' shift one bit left
AP.PSIA.Tx.FrameClk.BitWidePulse = False
' 50% duty cycle
AP.PSIA.Tx.FrameClk.Rate("Hz") = 44100
' CD sample rate
AP.PSIA.Rx.FrameClk.Dir = 1
' input
AP.PSIA.Rx.FrameClk.EdgeSync = 1
' latch on bitclk fall
AP.PSIA.Rx.FrameClk.InvWfm = True
' inverted
AP.PSIA.Rx.FrameClk.ShiftOneBitLeft = True
' shifted one bit left
AP.PSIA.Rx.FrameClk.Rate("Hz") = 44100
' CD sample rate
End Sub
AP.PSIA.Rx.FrameClk.Dir Property
AP.PSIA.Tx.FrameClk.Dir
Syntax AP.PSIA.Rx.FrameClk.Dir
AP.PSIA.Tx.FrameClk.Dir
Data Type Integer
0 Output
1 Input
Description This command selects the frame clock direction. Each frame clock port can be con-
figured as an output or as an input. In output (master) mode, the frame clock is pro-
vided by the PSIA. In input (slave) mode, the frame clock is provided by an external
source.
See Also AP.PSIA.Rx.FrameClk.BitWidePulse, AP.PSIA.Rx.FrameClk.
EdgeSync, AP.PSIA.Rx.FrameClk.InvWfm, AP.PSIA.Rx.FrameClk.
Rate, AP.PSIA.Rx.FrameClk.ShiftOneBitLeft
Example See example for AP.PSIA.Rx.FrameClk.BitWidePulse.
AP.PSIA.Rx.FrameClk.EdgeSync Property
AP.PSIA.Tx.FrameClk.EdgeSync
Syntax AP.PSIA.Rx.FrameClk.EdgeSync
AP.PSIA.Tx.FrameClk.EdgeSync
Data Type Integer
0 Rising edge
1 Falling edge
Description When the direction of the associated frame clock is set to OUT, this command se-
lects whether the frame clock output is asserted at the rising or falling edge of the bit
clock. When the direction of the associated frame clock is set to IN, this command
selects whether the frame clock input is latched at the rising or falling edge of the bit
clock.
See Also AP.PSIA.Rx.FrameClk.BitWidePulse, AP.PSIA.Rx.FrameClk.Dir,
AP.PSIA.Rx.FrameClk.InvWfm, AP.PSIA.Rx.FrameClk.Rate, AP.
PSIA.Rx.FrameClk.ShiftOneBitLeft
Example See example for AP.PSIA.Rx.FrameClk.BitWidePulse.
AP.PSIA.Rx.FrameClk.InvWfm Property
AP.PSIA.Tx.FrameClk.InvWfm
Syntax AP.PSIA.Rx.FrameClk.InvWfm
AP.PSIA.Tx.FrameClk.InvWfm
Data Type Boolean
True Inverted frame clock
False Non-inverted frame clock
Description This command sets the polarity of the frame clock. When set to False (non-in-
verted), the frame clock is high at the start of the frame, and low for the rest of the
frame. When set to True (inverted), the frame clock is low at the start of the frame,
and high for the rest of the frame.
See Also AP.PSIA.Rx.FrameClk.BitWidePulse, AP.PSIA.Rx.FrameClk.Dir,
AP.PSIA.Rx.FrameClk.EdgeSync, AP.PSIA.Rx.FrameClk.Rate, AP.
PSIA.Rx.FrameClk.ShiftOneBitLeft
Example See example for AP.PSIA.Rx.FrameClk.BitWidePulse.
AP.PSIA.Rx.FrameClk.Rate Property
AP.PSIA.Tx.FrameClk.Rate
AP.PSIA.Rx.FrameClk.ShiftOneBitLeft Property
AP.PSIA.Tx.FrameClk.ShiftOneBitLeft
Syntax AP.PSIA.Rx.FrameClk.ShiftOneBitLeft
AP.PSIA.Tx.FrameClk.ShiftOneBitLeft
Data Type Boolean
True Frame clock valid one bit time before start of frame
False Frame clock valid at start of frame
Description This command allows the frame clock to be asserted (when associated frame clock
direction is OUT) or latched (when associated frame clock direction is IN) one bit
2
time before the actual start of the frame. Typically, this is used in the I S bus stan-
dard. When FrameClk.ShiftOneBitLeft is False, the frame clock is asserted or
latched at the start of the frame. When FrameClk.ShiftOneBitLeft is True, the
frame clock is asserted or latched one bit time before the start of the frame.
See Also AP.PSIA.Rx.FrameClk.BitWidePulse, AP.PSIA.Rx.FrameClk.Dir,
AP.PSIA.Rx.FrameClk.EdgeSync, AP.PSIA.Rx.FrameClk.InvWfm,
AP.PSIA.Rx.FrameClk.Rate
Example See example for AP.PSIA.Rx.FrameClk.BitWidePulse.
AP.PSIA.Rx.I2S Method
AP.PSIA.Tx.I2S
Syntax AP.PSIA.Rx.I2S
AP.PSIA.Tx.I2S
Description This command configures the transmitter or receiver settings to be compatible with
2
the Philips I S (Inter-IC Sound) bus.
See Also AP.PSIA.Rx.FrameClk.ShiftOneBitLeft
Example Sub Main
AP.PSIA.Tx.I2S ' I2S output format
AP.PSIA.Rx.MasterClk.Factor Property
AP.PSIA.Tx.MasterClk.Factor
Syntax AP.PSIA.Rx.MasterClk.Factor
AP.PSIA.Tx.MasterClk.Factor
Data Type Long 1 or more
Description This command specifies the ratio (factor) between the master clock and the frame
clock. Depending on other clock settings, certain factors may not be achievable.
Note: this command is not available when the associated master clock direction is
set to OUT.
See Also AP.PSIA.MasterClkDir
Example See example for AP.PSIA.MasterClkDir, AP.PSIA.Rx.NFsClk.Fac-
tor.
AP.PSIA.Rx.NFsClk.Factor Property
AP.PSIA.Tx.NFsClk.Factor
Syntax AP.PSIA.Rx.NFsClk.Factor
AP.PSIA.Tx.NFsClk.Factor
Data Type Long 1 or more
Description This command specifies the ratio (factor) between the N*Fs clock and the frame
clock. Depending on other clock settings, certain factors may not be achievable.
See Also AP.PSIA.Rx.NFsClk.InvWfm
Example See example for AP.PSIA.MasterClkDir.
AP.PSIA.Rx.NFsClk.InvWfm Property
AP.PSIA.Tx.NFsClk.InvWfm
Syntax AP.PSIA.Rx.NFsClk.InvWfm
AP.PSIA.Tx.NFsClk.InvWfm
Data Type Boolean
True Inverted N*Fs clock
False Non-inverted N*Fs clock
Description This command sets the polarity of the N*Fs clock. When set to False (non-in-
verted), the N*Fs clock is high at the start of the frame, and low for the rest of the
frame. When set to True (inverted), the N*Fs clock is low at the start of the frame,
and high for the rest of the frame.
See Also AP.PSIA.Rx.NFsClk.Factor
Example See example for AP.PSIA.MasterClkDir.
AP.PSIA.Tx.BitClk.Dir Property
See AP.PSIA.Rx.BitClk.Dir
AP.PSIA.Tx.BitClk.Factor Property
See AP.PSIA.Rx.BitClk.Factor
AP.PSIA.Tx.ChannelClk.BitWidePulse Property
See AP.PSIA.Rx.ChannelClk.BitWidePulse
AP.PSIA.Tx.ChannelClk.EdgeSync Property
See AP.PSIA.Rx.ChannelClk.EdgeSync
AP.PSIA.Tx.ChannelClk.Factor Property
See AP.PSIA.Rx.ChannelClk.Factor
AP.PSIA.Tx.ChannelClk.InvWfm Property
See AP.PSIA.Rx.ChannelClk.InvWfm
AP.PSIA.Tx.Data.ChannelA Property
See AP.PSIA.Rx.Data.ChannelA
AP.PSIA.Tx.Data.ChannelB Property
See AP.PSIA.Rx.Data.ChannelB
AP.PSIA.Tx.Data.EdgeSync Property
See AP.PSIA.Rx.Data.EdgeSync
AP.PSIA.Tx.Data.Justify Method
See AP.PSIA.Rx.Data.Justify
AP.PSIA.Tx.Data.MSBFirst Property
See AP.PSIA.Rx.Data.MSBFirst
AP.PSIA.Tx.Data.PadBits Property
See AP.PSIA.Rx.Data.PadBits
AP.PSIA.Tx.Data.PostPadType Property
Syntax AP.PSIA.Tx.Data.PostPadType
Data Type Integer
0 Low: Set post (trailing) padding bits to logical low
1 High: Set post (trailing) padding bits to logical high
2 First bit: Set post (trailing) padding bits to the state of the
last bit of the audio word
Description This command selects the value of the pad bits that trail the audio word. All pad bits
have the same value: logical low, logical high, or the same state as the last bit in the
audio word. In a two's complement coding scheme, the MSB is the sign bit.
Therefore if the audio word is ordered LSB first, and AP.PSIA.Tx.Data.
PostPadType = 2, then the audio word will be sign extended by the trailing pad
bits.
See Also AP.PSIA.Tx.Data.PrePadType, AP.PSIA.Rx.Data.PadBits
Example See example for AP.PSIA.Rx.Data.EdgeSync.
AP.PSIA.Tx.Data.PrePadType Property
Syntax AP.PSIA.Tx.Data.PrePadType
Data Type Integer
0 Low: Set pre (leading) padding bits to logical low
1 High: Set pre (leading) padding bits to logical high
2 First bit: Set pre (leading) padding bits to the state of the
first bit of the audio word
Description This command selects the value of the pad bits that lead the audio word. All pad bits
have the same value: logical low, logical high, or the same state as the first bit in the
audio word. In a two's complement coding scheme, the MSB is the sign bit.
Therefore if the audio word is ordered MSB first, and AP.PSIA.Tx.Data.
PrePadType = 2, then the audio word will be sign extended by the leading pad
bits.
See Also AP.PSIA.Tx.Data.PostPadType, AP.PSIA.Rx.Data.PadBits
Example See example for AP.PSIA.Rx.Data.EdgeSync.
AP.PSIA.Tx.FrameClk.BitWidePulse Property
See AP.PSIA.Rx.FrameClk.BitWidePulse
AP.PSIA.Tx.FrameClk.Dir Property
See AP.PSIA.Rx.FrameClk.Dir
AP.PSIA.Tx.FrameClk.EdgeSync Property
See AP.PSIA.Rx.FrameClk.EdgeSync
AP.PSIA.Tx.FrameClk.InvWfm Property
See AP.PSIA.Rx.FrameClk.InvWfm
AP.PSIA.Tx.FrameClk.Rate Property
See AP.PSIA.Rx.FrameClk.Rate
AP.PSIA.Tx.FrameClk.ShiftOneBitLeft Property
See AP.PSIA.Rx.FrameClk.ShiftOneBitLeft
AP.PSIA.Tx.I2S Method
See AP.PSIA.Rx.I2S
AP.PSIA.Tx.LoopBack Method
Syntax AP.PSIA.Tx.LoopBack
Description This command configures the receiver according to the current transmitter settings,
to provide a way to check data integrity through the PSIA. The following external
connections are required to complete the loopback configuration (BNC-BNC cables
are supplied for this purpose):
Transmitter bit clock ® receiver bit clock
Transmitter frame clock ® receiver frame clock
Transmitter data ® receiver data
See Also AP.PSIA.Tx.Data.PostPadType, AP.PSIA.Rx.Data.PadBits
Example See example for AP.PSIA.Rx.I2S.
AP.PSIA.Tx.MasterClk.Factor Property
See AP.PSIA.Rx.MasterClk.Factor
AP.PSIA.Tx.NFsClk.Factor Property
See AP.PSIA.Rx.NFsClk.Factor
AP.PSIA.Tx.NFsClk.InvWfm Property
See AP.PSIA.Rx.NFsClk.InvWfm
AP.PSIA.VoltageSetting Property
Syntax AP.PSIA.VoltageSetting
Data Type Constant
PSIA_1_8_CMOS 1.8 V CMOS
PSIA_2_4_CMOS 2.4 V CMOS
PSIA_3_3_CMOS 3.3 V CMOS
PSIA_3_3_TTL 3.3 V TTL
PSIA_5_TTL 5.0 V TTL
Description This command sets the input and output voltages according to the logic family and
voltage supplied.
Note: the outputs must be on for signal to appear at the PSIA outputs.
See Also AP.PSIA.OutputsOn
Example See example for AP.PSIA.MasterClkDir.
Syntax AP.Speaker.Mode
Data Type Integer
0 Mono: A single signal is fed to both left and right
headphones and to the internal loudspeaker.
1 Stereo: Different signals are fed to the left and right
headphones (in most cases). Both these signals are
summed into the internal monaural loudspeaker located in
the bottom of the instrument.
Description This command selects the output configuration for the speaker output jack.
See Also AP.Speaker.Source
Example Sub Main
AP.Application.NewTest
AP.Gen.Wfm 1, 2
AP.Gen.ChBFreq("Hz") = 2000.000000
Start:
Begin Dialog UserDialog 280,133
PushButton 20,14,240,28,"Monitor Analog Generator _
Channel A",.PushButton1
PushButton 20,49,240,28,"Monitor Analog Generator _
Channel B",.PushButton2
PushButton 20,91,240,28,"EXIT (Speaker _
OFF)",.PushButton3
End Dialog
Dim dlg As UserDialog
AP.Speaker.Mode = 0
AP.Speaker.Source = 0 'Speaker OFF
End
End Select
GoTo Start:
End Sub
AP.Speaker.Source Property
Syntax AP.Speaker.Source
Data Type Integer
The following list contains the selections relevant to the AP.Speaker.Mode com-
mand Mono Configuration.
0 Off: disables audible monitoring.
1 Analog Analyzer Reading: is the final analog signal in the
Analog Analyzer, following all filtering (and following the
wow and flutter discriminator or IMD detectors if the
reading meter is in W&F or IMD modes).
2 Analog Generator A
3 Analog Generator B
4 DSP Monitor A
5 DSP Monitor B
6 Analog Input A
7 Analog Input B
The following list contains the selections relevant to the AP.Speaker.Mode com-
mand Stereo Configuration.
0 Off: disables audible monitoring.
1 Analog Analyzer Reading: is the final analog signal in the
Analog Analyzer, following all filtering (and following the
wow and flutter discriminator or IMD detectors if the
reading meter is in W&F or IMD modes).
2 Generator Monitor
3 DSP Monitor A&B
4 Analog Input
Description This command selects a monitoring location(s) for the speaker and headphone jack
outputs.
See Also AP.Speaker.Mode
Example See example for AP.Speaker.Mode.
Syntax AP.Sweep.AbortTime
Data Type Double Time in seconds. Setting an abort time of zero seconds
disables the abort function.
Description This command defines the maximum time allowed for a sweep to complete after a
sweep is started using any OLE command. If the abort time is exceeded the current
sweep is terminated. If the AP.Data.ColSize command returns a value less than
the number of steps in the sweep then the sweep was aborted. This setting is not rou-
tinely monitored therefore accuracy may be in the seconds.
Note: This command is global and affects all subsequent sweeps. Care should be
taken when using this command to disable it when finished.
See Also AP.Sweep.Start, AP.Sweep.StartWithAppend, AP.Sweep.
StartWithRepeat, AP.Data.ColSize
Example Sub Main
Dim Steps As Integer
Steps = 100
AP.Application.NewTest
AP.Sweep.Source1.Steps = Steps
AP.Sweep.AbortTime = 5.0
AP.Sweep.Start
End Sub
AP.Sweep.Append Property
Syntax AP.Sweep.Append
Data Type Boolean
True Append data to current data in memory.
False Replace current data in memory.
Description This command enables or disables appending data to the end of measurements con-
tained in memory. If append is enabled the measurements in memory are retained
and the next sweep will add additional measurements to memory. If append is dis-
abled the measurements in memory are replaced by the next sweep data.
See Also AP.Sweep.Repeat, AP.Sweep.StartWithAppend, AP.Sweep.
StartWithRepeat
Example Sub Main
AP.Application.NewTest 'Reset panels
AP.Sweep.CreateGraph = 1
AP.Sweep.CreateTable = 0
AP.Sweep.GraphType = 0
AP.Gen.Output = 1
AP.Anlr.ChAInput = 2
AP.Anlr.FuncFilterHP = 3
AP.Anlr.FuncFilterLP = 0
AP.Sweep.Source1.Start("Hz") = 20.0
AP.Sweep.Source1.Stop("Hz") = 200000.0
AP.Sweep.PreSweepDelay = 0.2
AP.Sweep.Start
AP.Sweep.Append = True
AP.Anlr.FuncFilterHP = 2
AP.Anlr.FuncFilterLP = 1
AP.Sweep.Start
AP.Anlr.FuncFilterHP = 1
AP.Anlr.FuncFilterLP = 2
AP.Sweep.Start
AP.Anlr.FuncFilterHP = 0
AP.Anlr.FuncFilterLP = 3
AP.Data.OptimizeDisplay(0)
End Sub
AP.Sweep.CopyData1To2 Method
Syntax AP.Sweep.CopyData1To2
Description This command copies the Sweep panel Data 1 settings to Data 2
Example Sub Main
AP.Application.NewTest 'New Test
AP.Gen.Output = True 'Generator Output ON
AP.Anlr.ChAInput = 2 'Ch A Input to GenMon
AP.Anlr.ChBInput = 2 'Ch B Input to GenMon
AP.Anlr.FuncMode = 3 'Func Meter to THD+N Ampl
End Sub
AP.Sweep.CopyData2To1 Method
Syntax AP.Sweep.CopyData2To1
Description This command copies the Sweep panel Data 2 settings to Data 1
Example See example for AP.Sweep.CopyData1To2.
AP.Sweep.CreateGraph Property
Syntax AP.Sweep.CreateGraph
Data Type Boolean
True Display a graph window when starting the sweep if a
graph window is not displayed.
False Do not create a graph window when starting the sweep.
Description This command enables or disables creation of the graph window when a sweep is
run.
See Also AP.Sweep.CreateTable, AP.Sweep.GraphType
Example See example for AP.Sweep.Append.
AP.Sweep.CreateTable Property
Syntax AP.Sweep.CreateTable
Data Type Boolean
True Display a Data Table window when starting the sweep if a
Data Table window is not displayed.
False Do Not create a Data Table window when starting the
sweep.
Description This command enables or disables creation of the Data Table window when a sweep
is run.
See Also AP.Sweep.CreateGraph, AP.Sweep.GraphType
Example See example for AP.Sweep.Append.
AP.Sweep.Data1.AutoDiv Property
Syntax AP.Sweep.Data1.AutoDiv
Data Type Boolean
True Automatically select the number of divisions.
AP.Sweep.Data1.Autoscale Property
Syntax AP.Sweep.Data1.Autoscale
Data Type Boolean
True Autoscale graph vertical axis for Data 1.
False Do Not Autoscale graph vertical axis for Data 1.
Description This command enables or disables automatic scaling of the graph vertical axis Top
and Bottom values for Data 1. The Data 1 vertical axis is shown on the left side of
the graph.
Example See example for AP.Sweep.Append.
AP.Sweep.Data1.Bottom Property
AP.Sweep.Data1.Div Property
Syntax AP.Sweep.Data1.Div
Data Type Long Number of divisions displayed.
Description This command sets the number of divisions that are to be displayed for a linear verti-
cal axis defined on Data 1. The AP.Sweep.Data1.AutoDiv must be disabled.
See Also AP.Sweep.Data1.AutoDiv, AP.Sweep.Data1.LogLin
Example See example for AP.Sweep.Append.
AP.Sweep.Data1.Id Property
Syntax AP.Sweep.Data1.Id
Data Type Long Instrument Parameter ID#.
Description This command is used to select the measurement parameter, which will return read-
ings for Data 1.
Refer to Appendix B to obtain instrument parameter identification numbers.
Example See example for AP.Sweep.Append.
AP.Sweep.Data1.Limits Method
AP.Sweep.Source1.Table ("CODEC.ADS",0)
'Attach Sweep table.
AP.S2CDsp.FastTest.Mode = 1
'Set the DSP panel _
measurement field to response mode.
AP.Sweep.Reprocess 'Reprocess _
the acquired waveform and display response results.
AP.Sweep.Data1.LogLin Property
Syntax AP.Sweep.Data1.LogLin
Data Type Integer
0 Logarithmic vertical axis.
1 Linear vertical axis.
Description This command determines the Data 1 vertical axis data scaling type.
See Also AP.Sweep.Data1.Div, AP.Sweep.Data1.AutoDiv
Example See example for AP.Sweep.Append.
AP.Sweep.Data1.Top Property
Description This command defines the top value on the graph vertical axis located on the left
side of the graph window.
See Also AP.Sweep.Data1.Bottom
Example See example for AP.Sweep.Append.
AP.Sweep.Data2.AutoDiv Property
Syntax AP.Sweep.Data2.AutoDiv
Data Type Boolean
True Automatically select the number of divisions.
False Use the number of divisions defined by the AP.
Sweep.Data2.Div command.
Description This command enables or disables automatic selection of the number of linear verti-
cal axis divisions displayed for Data 2.
See Also AP.Sweep.Data2.Div, AP.Sweep.Data2.LogLin
Example See example for AP.Sweep.Append.
AP.Sweep.Data2.Autoscale Property
Syntax AP.Sweep.Data2.Autoscale
Data Type Boolean
True Autoscale graph vertical axis for Data 2.
False Do Not Autoscale graph vertical axis for Data 2.
Description This command enables or disables automatic scaling of the graph vertical axis Top
and Bottom values for Data 2. The Data 2 vertical axis is shown on the right side of
the graph.
Example See example for AP.Sweep.Append.
AP.Sweep.Data2.Bottom Property
AP.Sweep.Data2.Div Property
Syntax AP.Sweep.Data2.Div
Data Type Long Number of divisions displayed.
Description This command sets the number of divisions that are to be displayed for a linear verti-
cal axis defined on Data 2. The AP.Sweep.Data2.AutoDiv must be disabled.
See Also AP.Sweep.Data2.AutoDiv, AP.Sweep.Data2.LogLin
Example See example for AP.Sweep.Append.
AP.Sweep.Data2.Id Property
Syntax AP.Sweep.Data2.Id
Data Type Long Instrument Parameter ID#.
Description This command is used to select the measurement parameter, which will return read-
ings for Data 2.
Refer to Appendix B to obtain instrument parameter identification numbers.
Example See example for AP.Sweep.Append.
AP.Sweep.Data2.Limits Method
AP.Sweep.Data2.LogLin Property
Syntax AP.Sweep.Data2.LogLin
Data Type Integer
0 Logarithmic vertical axis.
1 Linear vertical axis.
Description This command determines the Data 2 vertical axis data scaling type.
See Also AP.Sweep.Data2.Div, AP.Sweep.Data2.AutoDiv
Example See example for AP.Sweep.Append.
AP.Sweep.Data2.Top Property
AP.Sweep.Data3.Id Property
Syntax AP.Sweep.Data3.Id
Data Type Long Instrument Parameter ID#.
Description This command is used to select the measurement parameter, which will return read-
ings for Data 3.
Refer to Appendix B to obtain instrument parameter identification numbers.
Example See example for AP.Sweep.Append.
AP.Sweep.Data3.Limits Method
AP.Sweep.Data4.Id Property
Syntax AP.Sweep.Data4.Id
Data Type Long Instrument Parameter ID#.
Description This command is used to select the measurement parameter, which will return read-
ings for Data 4.
Refer to Appendix B to obtain instrument parameter identification numbers.
Example See example for AP.Sweep.Append.
AP.Sweep.Data4.Limits Method
2 = Data 2 measurements.
3 = Data 3 measurements.
4 = Data 4 measurements.
5 = Data 5 measurements.
6 = Data 6 measurements.
AP.Sweep.Data5.Id Property
Syntax AP.Sweep.Data5.Id
Data Type Long Instrument Parameter ID#.
Description This command is used to select the measurement parameter, which will return read-
ings for Data 5.
Refer to Appendix B to obtain instrument parameter identification numbers.
Example See example for AP.Sweep.Append.
AP.Sweep.Data5.Limits Method
AP.Sweep.Data6.Id Property
Syntax AP.Sweep.Data6.Id
Data Type Long Instrument Parameter ID#.
Description This command is used to select the measurement parameter, which will return read-
ings for Data 6.
Refer to Appendix B to obtain instrument parameter identification numbers.
Example See example for AP.Sweep.Append.
AP.Sweep.Data6.Limits Method
AP.Sweep.Datan.LowerLimit.Column Property
AP.Sweep.Datan.UpperLimit.Column
Syntax AP.Sweep.Data1.LowerLimit.Column
AP.Sweep.Data1.UpperLimit.Column
AP.Sweep.Data2.LowerLimit.Column
AP.Sweep.Data2.UpperLimit.Column
AP.Sweep.Data3.LowerLimit.Column
AP.Sweep.Data3.UpperLimit.Column
AP.Sweep.Data4.LowerLimit.Column
AP.Sweep.Data4.UpperLimit.Column
AP.Sweep.Data5.LowerLimit.Column
AP.Sweep.Data5.UpperLimit.Column
AP.Sweep.Data6.LowerLimit.Column
AP.Sweep.Data6.UpperLimit.Column
Data Type Integer
Description This command returns the column number of the limit attached to the associated
sweep data.
Example See example for AP.Sweep.Datan.Limits.
AP.Sweep.Datan.LowerLimit.Filename Property
AP.Sweep.Datan.UpperLimit.Filename
Syntax AP.Sweep.Data1.LowerLimit.Filename
AP.Sweep.Data1.UpperLimit.Filename
AP.Sweep.Data2.LowerLimit.Filename
AP.Sweep.Data2.UpperLimit.Filename
AP.Sweep.Data3.LowerLimit.Filename
AP.Sweep.Data3.UpperLimit.Filename
AP.Sweep.Data4.LowerLimit.Filename
AP.Sweep.Data4.UpperLimit.Filename
AP.Sweep.Data5.LowerLimit.Filename
AP.Sweep.Data5.UpperLimit.Filename
AP.Sweep.Data6.LowerLimit.Filename
AP.Sweep.Data6.UpperLimit.Filename
Data Type String
Description This command returns the filename of the limit attached to the associated sweep
data.
Example See example for AP.Sweep.Datan.Limits.
AP.Sweep.External.DataSpacing Property
AP.Sweep.External.DataSpacingRelUnits Property
Syntax AP.Sweep.External.DataSpacingRelUnits
Data Type Boolean
True Relative Units
False Absolute Units
Description This command selects the units that area available for the AP.Sweep.Exter-
nal.DataSpacing
See Also AP.Sweep.External.DataSpacing
AP.Sweep.External.DataThreshold Property
Syntax AP.Sweep.External.DataThreshold(ByVal Unit As String)
Data Type Double
Parameters Name Description
Unit String that designates the desired unit. The following units
are valid for his command: V, dBu, dBV, dBr A, dBr B, dbg
a, dbg B, dbm, W
Description This command sets the external sweep Threshold level.
See Also AP.Sweep.External.DataThresholdId
AP.Sweep.External.DataThresholdId Property
Syntax AP.Sweep.External.DataThresholdId
Data Type Long Instrument Parameter ID#
Description This command is used to select the instrument parameter that will return readings
for external sweep Threshold. Refer to Appendix B to obtain instrument parameter
identification numbers.
See Also AP.Sweep.External.DataThreshold
AP.Sweep.External.End Property
AP.Sweep.External.EndRule Property
Syntax AP.Sweep.External.EndRule
Data Type Integer
0 within End Value ±Tolerance
1 return to within End Value ±Tolerance
Description This command sets the external sweep End rule.
See Also AP.Sweep.External.StartRule
AP.Sweep.External.EndTolerance Property
AP.Sweep.External.EndToleranceRelUnits Property
Syntax AP.Sweep.External.EndToleranceRelUnits
Data Type Boolean
True Relative Units
False Absolute Units
Description This command selects the units that are available for the AP.Sweep.External.
EndTolerance command.
See Also AP.Sweep.External.EndTolerance
AP.Sweep.External.Start Property
AP.Sweep.External.StartRule Property
Syntax AP.Sweep.External.StartRule
Data Type Integer
0 within Start Value ±Tolerance
1 return to within Start Value ±Tolerance
Description This command sets the external sweep Start rule.
See Also AP.Sweep.External.EndRule
AP.Sweep.External.StartTolerance Property
AP.Sweep.External.StartToleranceRelUnits Property
Syntax AP.Sweep.External.StartToleranceRelUnits
Data Type Boolean
True Relative Units
False Absolute Units
Description This command selects the units that are available for the AP.Sweep.External.
StartTolerance command.
See Also AP.Sweep.External.StartTolerance
AP.Sweep.GraphType Property
Syntax AP.Sweep.GraphType
AP.Sweep.IsRunning Property
Syntax AP.Sweep.IsRunning
Result Boolean
True Sweep process running.
False Sweep process not running.
Description This command returns the status of the Sweep process.
Example See example for AP.Sweep.Stop.
AP.Sweep.PreSweepDelay Property
Syntax AP.Sweep.PreSweepDelay
Data Type Double 0.0 to 3.0 sec.
Description This command sets a user-controllable time delay value inserted after the AP.
Sweep.Start command is executed, before the first data point is taken. This can
be valuable when the device under test needs a certain amount of setup time before
it operates normally, or to allow for full autoranging and other time within the instru-
ment. In nested sweeps, this Pre-Sweep Delay is inserted before the start of each
sweep of the test.
The Pre-Sweep Delay field is located on the right half of the large version of the
Sweep panel, below the Data 3-Data 6 Limits buttons.
See Also AP.Sweep.Start
Example See example for AP.Sweep.Append.
AP.Sweep.Recompare Method
Syntax AP.Sweep.Recompare
Result Boolean
True Recompare successful.
AP.Sweep.Repeat Property
Syntax AP.Sweep.Repeat
Data Type Boolean
True Repeat sweep continuously.
False Do not repeat sweep continuously.
Description This command enables or disables repeating the currently defined sweep indefi-
nitely.
See Also AP.Sweep.Append, AP.Sweep.StartWithAppend, AP.Sweep.
StartWithRepeat
Example Sub Main
AP.Application.NewTest 'Start with New Test
AP.Gen.Output = True 'Generator Output ON
AP.Anlr.ChAInput = 2
AP.Application.PanelOpen apbPanelSweepSmall _
'Display Sweep Panel
DisplayDialog:
Select Case Dialog (dlg)
Case 0
End
AP.Sweep.Append = False
AP.Sweep.Repeat = False
Case 1 'Run single sweep
AP.Sweep.Append = False
AP.Sweep.Repeat = False
Sweep.Start
Case 2 'Run sweep and append data
AP.Sweep.Repeat = False
AP.Sweep.StartWithAppend
Case 3 'Run repeating sweep
AP.Sweep.Append False
'Display prompt
AP.Prompt.ShowWithContinueAndStopSweep
AP.Sweep.StartWithRepeat
'Start sweep
AP.Sweep.Repeat = False
Case 4 'Run repeating sweep and append data
AP.Sweep.Append = True
AP.Sweep.Repeat = True
'Display prompt
AP.Prompt.ShowWithContinueAndStopSweep
AP.Sweep.Start
'Start sweep
AP.Sweep.Repeat = False
End Select
GoTo DisplayDialog
End Sub
AP.Sweep.Reprocess Method
Syntax AP.Sweep.Reprocess
Result Boolean
True Reprocess successful.
False Reprocess failed.
Description This command instructs the control software to cause the third phase of the follow-
ing process to be performed.
FFT-based (batch mode) DSP programs have three distinct, sequential phases to
their operation.
First, data is accumulated into the acquisition buffer until the buffer is filled to the
specified acquisition length.
Second, a Fast Fourier Transform (FFT) is performed to obtain amplitude (and some-
times phase) versus frequency data which is stored in a different memory buffer
from the acquired signal (amplitude versus time).
Third, a post-processed version of the amplitude versus time or amplitude versus fre-
quency data (depending upon sweep Source 1 and Data 1 or 2) is transmitted from
the DSP module in the test system to the computer for graphing by the control
software.
This command is equivalent to Ctrl+F6 in the control software.
Example Sub Main
AP.Log.Enable = 0 'Disable log file
AP.File.OpenTest "CODEC.AT2" 'Open test to create _
a Masking curve limit file.
AP.Sweep.Start 'Start sweep.
AP.File.SaveDataAs "MASK.ADL"
'Save masking curve as _
MASK.ADL limit file.
AP.Application.NewData 'Remove Masking curve data _
from memory.
AP.S2CDsp.FastTest.Mode = 0 'Set the DSP panel _
measurement field to spectrum mode.
AP.Sweep.Reprocess 'Reprocess the acquired _
waveform and display spectrum results.
AP.Sweep.Retransform Method
Syntax AP.Sweep.Retransform
Result Boolean
True Retransform successful.
False Retransform failed.
Description This command instructs the control software to cause the second and third phases of
the following process to be performed. FFT-based (batch mode) DSP programs have
three distinct, sequential phases to their operation.
First, data is accumulated into the acquisition buffer until the buffer is filled to the
specified acquisition length.
Second, a Fast Fourier Transform (FFT) is performed to obtain amplitude (and some-
times phase) versus frequency data which is stored in a different memory buffer
from the acquired signal (amplitude versus time).
Third, a post-processed version of the amplitude versus time or amplitude versus fre-
quency data (depending upon sweep Source 1 and Data 1 or 2) is transmitted from
the DSP module in the test system to the computer for graphing by the control
software.
This command is equivalent to F6 in the control software.
Example Sub Main
AP.Application.NewTest
AP.Gen.Output = 1
AP.Anlr.ChAInput = 2
AP.S2CDsp.Program = 2 'Select FFT program
AP.S2CDsp.FFT.InputFormat = 1'Select Low BW(A/D) _
input
AP.S2CDsp.FFT.Length = 6 'Set FFT length to 16384
AP.S2CDsp.FFT.Window = 0 'Set FFT window to BH4
AP.Sweep.Data1.Id = 6023 'Set sweep panel Data 1 _
to Fft.Ch.1 Ampl
AP.Sweep.Source1.Id = 5515 'Set sweep panel _
Source 1 to Fft.FFT Freq
AP.Sweep.Start
AP.Sweep.Append = 1
AP.S2CDsp.FFT.Window = 1'Set FFT window to Hann
AP.Sweep.Retransform
AP.S2CDsp.FFT.Window = 2'Set FFT window to Flat-Top
AP.Sweep.Retransform
AP.S2CDsp.FFT.Window = 3'Set FFT window to _
Equiripple
AP.Sweep.Retransform
AP.S2CDsp.FFT.Window = 4'Set FFT window to None
AP.Sweep.Retransform
AP.Data.OptimizeDisplay 0
End Sub
AP.Sweep.ReverseChannels Method
the generator output and the analyzer Function meter and this command is executed
using a 1 for the command argument channel B will be selected for the generator
and analyzer Function meter. To revert to the previous state use the command
argument 0.
AP.Sweep.SinglePoint Property
Syntax AP.Sweep.SinglePoint
Data Type Boolean
True Enable single point sweep.
False Disable single point sweep.
Description This command sets the Source 1 Sweep to Single Point mode. When a sweep is initi-
ated (AP.Sweep.Start) the Data Editor will be automatically displayed and a
single measurement taken at the Sweep Start value of Source 1.
See Also AP.Sweep.Source1.Start
Example Sub Main
AP.File.OpenTest "SWEEPFFT.AT2"
AP.Sweep.Repeat = False
AP.Sweep.SinglePoint = False
AP.Sweep.Stereo = False
AP.Sweep.Timeout("sec") = 3
AP.Sweep.Source1.Id = 5051 'Set Source 1 Gen Freq
AP.Sweep.Source1.LogLin = 1
AP.Sweep.Source1.Start("Hz") = 20000
AP.Sweep.Source1.Stop("Hz") = 20
AP.Sweep.Source1.Steps = 15
AP.Sweep.Source1.AutoDiv = False
AP.Sweep.Source1.Div = 10
AP.Sweep.Source2.Id = 5052 'Set Source 2 Gen Ampl A
AP.Sweep.Source2.LogLin = 1
AP.Sweep.Source2.Start("Vrms") = 5
AP.Sweep.Source2.Steps = 2
AP.Sweep.Source2.Stop("Vrms") = 1
AP.Sweep.Start
End Sub
AP.Sweep.Source1.AutoDiv Property
Syntax AP.Sweep.Source1.AutoDiv
Data Type Boolean
True Automatically select the number of divisions.
False Use the number of divisions defined by the AP.
Sweep.Source1.Div command.
Description This command enables or disables automatic selection of the number of linear hori-
zontal axis divisions displayed for Source 1 sweeps.
See Also AP.Sweep.Source1.Div, AP.Sweep.Source1.LogLin
Example See example for AP.Sweep.SinglePoint.
AP.Sweep.Source1.Div Property
Syntax AP.Sweep.Source1.Div
Data Type Long Number of divisions displayed.
Description This command sets the number of divisions that are to be displayed for a linear hori-
zontal axis for a Source 1. The AP.Sweep.Source1.AutoDiv must be dis-
abled.
See Also AP.Sweep.Source1.AutoDiv, AP.Sweep.Source1.LogLin
Example See example for AP.Sweep.SinglePoint.
AP.Sweep.Source1.EndOn Property
End Sub
AP.Sweep.Source1.Id Property
Syntax AP.Sweep.Source1.Id
Data Type Long Instrument Parameter ID#.
Description This command is used to select the measurement parameter which will define set-
tings or return readings, in the case of external sweeps, for Source 1.
Refer to Appendix B to obtain instrument parameter identification numbers.
Example See example for AP.Sweep.SinglePoint.
AP.Sweep.Source1.LogLin Property
Syntax AP.Sweep.Source1.LogLin
Data Type Integer
0 Logarithmic horizontal axis and step type.
1 Linear horizontal axis and step type.
Description This command determines the Source 1 horizontal axis type and the sweep step
type.
See Also AP.Sweep.Source1.Div, AP.Sweep.Source1.AutoDiv
Example See example for AP.Sweep.SinglePoint.
AP.Sweep.Source1.MinLevel Property
AP.Sweep.Source1.MinLevelId Property
Syntax AP.Sweep.Source1.MinLevelId
Data Type Long Instrument Parameter ID#.
Description This command is used to select the measurement parameter which will define set-
tings or return readings, in the case of external sweeps, for Source 1.
Refer to Appendix B to obtain instrument parameter identification numbers.
AP.Sweep.Source1.Multiply Property
Syntax AP.Sweep.Source1.Multiply
Data Type Double
Description This command sets the Source 1 Log Sweep Multiply factor used to determine the
next Source 1 sweep setting.
See Also AP.Sweep.Source1.Start, AP.Sweep.Source1.Stop, AP.Sweep.
Source1.LogLin, AP.Sweep.Source1.Steps
AP.Sweep.Source1.Spacing Property
AP.Sweep.Source1.Start Property
AP.Sweep.Source1.Steps Property
Syntax AP.Sweep.Source1.Steps
Data Type Long
Description This command sets the number of Source 1 steps that a log or linear sweep makes be-
tween the Source 1 Start and Stop values.
See Also AP.Sweep.Source1.Start, AP.Sweep.Source1.Stop, AP.Sweep.
Source1.LogLin, AP.Sweep.Source1.StepSize
Example See example for AP.Sweep.SinglePoint.
AP.Sweep.Source1.StepSize Property
Description This command sets the Source 1 Linear Sweep Step Size used to determine the next
Source 1 sweep setting.
Name Description
Unit Refer to the setting or reading defined by the AP.
Sweep.Source1.Id command to determine the
appropriate unit selections.
See Also AP.Sweep.Source1.Start, AP.Sweep.Source1.Stop, AP.Sweep.
Source1.LogLin, AP.Sweep.Source1.Steps
AP.Sweep.Source1.Stop Property
AP.Sweep.Source1.SweepTable.Column Property
Syntax AP.Sweep.Source1.SweepTable.Column
Result Integer
Description This command returns the column number of the attached sweep table in Source 1.
See Also AP.Sweep.Source1.Table
AP.Sweep.Source1.SweepTable.Filename Property
Syntax AP.Sweep.Source1.SweepTable.Filename
Result String
Description This command returns the file name of the attached sweep table in Source 1.
See Also AP.Sweep.Source1.Table
AP.Sweep.Source1.Table Method
AP.Sweep.Source2.Id Property
Syntax AP.Sweep.Source2.Id
Data Type Long Instrument Parameter ID#.
Description This command is used to select the measurement parameter, which will define set-
tings for Source 2.
Refer to Appendix B to obtain instrument parameter identification numbers.
Example See example for AP.Sweep.SinglePoint.
AP.Sweep.Source2.LogLin Property
Syntax AP.Sweep.Source2.LogLin
Data Type Integer
0 Logarithmic step type.
1 Linear step type.
Description This command determines if the sweep steps will be Logarithmically or linearly
spaced.
AP.Sweep.Source2.Multiply Property
Syntax AP.Sweep.Source2.Multiply
Data Type Double
Description This command sets the Source 2 Log Sweep multiply factor used to determine the
next Source 2 Sweep setting.
See Also AP.Sweep.Source2.Start, AP.Sweep.Source2.Stop, AP.Sweep.
Source2.LogLin, AP.Sweep.Source2.Steps
AP.Sweep.Source2.Start Property
AP.Sweep.Source2.Steps Property
Syntax AP.Sweep.Source2.Steps
Data Type Long
Description This command sets the number of Source 2 steps that a log or linear sweep makes be-
tween the Source 2 Start and Stop values.
See Also AP.Sweep.Source2.Start, AP.Sweep.Source2.Stop, AP.Sweep.
Source2.LogLin, AP.Sweep.Source2.StepSize
Example See example for AP.Sweep.SinglePoint.
AP.Sweep.Source2.StepSize Property
AP.Sweep.Source2.Stop Property
AP.Sweep.Spectrum Method
Syntax AP.Sweep.Spectrum
Result Boolean
True Change to Spectrum Display successful.
False Display change not successful.
Description This command configures the Sweep Panel to produce a Spectrum display when a
sweep is run.
New Test configuration functionality:
In this situation the user has not defined the Sweep Panel to display a Spectrum but
has selected from one of the Digital Analyzer selections listed below. If the user has
not selected from one of the Digital Analyzer selections listed below, this command
is not active.
When this command is executed default values are automatically entered into the
sweep panel settings to set up the sweep to display the default Spectrum when run.
Each Digital Analyzer selection listed below has its own default sweep panel set-
tings for a frequency domain display.
AP.Sweep.Start Method
Syntax AP.Sweep.Start
Result Boolean
True Sweep completed successfuly.
False Sweep terminated abnormally.
Description This command initiates a sweep.
Note: When using this command from an external application execution of addi-
tional commands will not be held off if the AP.Sweep.Repeat command is set to
True. The AP.Sweep.Repeat command is also affected by the AP.Sweep.
StartWithRepeat commmand.
See Also AP.Sweep.StartWithAppend, AP.Sweep.StartWithRepeat
Example Sub Main
AP.File.OpenTest "FRQ-RESP.AT2"
'Open frequency response _ test.
AP.Sweep.Start
'Start sweep.
AP.File.SaveDataAs "FRQ-RESP.DAT"
'Save data.
AP.File.OpenTest "THD-FRQ.AT2"
'Open total harmonic _ distortion
+ noise test.
AP.Sweep.Start
'Start sweep.
AP.File.SaveDataAs "THD-FRQ.DAT"
'Save data.
AP.File.OpenTest "RESIDNOI.AT2"
'Open residual noise test.
AP.Sweep.Start
'Start sweep.
AP.File.SaveDataAs "RESIDNOI.DAT"
'Save data.
End Sub
AP.Sweep.StartNoWait Method
Syntax AP.Sweep.StartNoWait
Result Boolean
True Sweep process started successfuly.
False Sweep process not started successfuly.
Description This command initiates a sweep process and then continues macro execution.
Example See example for AP.Sweep.Stop.
AP.Sweep.StartWithAppend Method
Syntax AP.Sweep.StartWithAppend
Description This command initiates a sweep in append mode which is equivalent to pressing the
Ctrl+F9 function key.
See Also AP.Sweep.Start, AP.Sweep.StartWithRepeat
Example See example for AP.Sweep.SinglePoint.
AP.Sweep.StartWithRepeat Method
Syntax AP.Sweep.StartWithRepeat
Description This command initiates a sweep in repeat mode which is equivalent to pressing the
Alt+F9 function key.
See Also AP.Sweep.Start, AP.Sweep.StartWithAppend
Example See example for AP.Sweep.Repeat.
AP.Sweep.Stereo Property
Syntax AP.Sweep.Stereo
Data Type Boolean
True Enable Stereo Sweep
False Disable Stereo Sweep.
Description This command enables or disables the stereo sweep feature on the Sweep panel.
Example See example for AP.Sweep.SinglePoint.
AP.Sweep.Stop Method
Syntax AP.Sweep.Stop
Result Boolean
True Sweep terminated successfuly.
False Sweep not terminated.
Description This command terminates a running sweep.
See Also AP.Sweep.IsRunning
Example Dim Halt As Boolean
Sub Main
Halt = False
AP.Application.NewTest
AP.Gen.Output = True
AP.Anlr.ChAInput = 2
AP.Sweep.Source1.Steps = 200
AP.Application.SetWatchDogTimer1(5.0,False)
AP.Sweep.StartNoWait
Do
'nothing
Loop While Halt = False
End Sub
Sub APEvent_OnWatchDogTimeout(ByVal Id As Long)
If Id = 1 Then
Halt = True
AP.Sweep.Timeout Property
AP.Sweep.Waveform Method
Syntax AP.Sweep.Waveform
Result Boolean
True Change to Waveform Display successful.
False Display change not successful.
Description This command configures the Sweep Panel to produce a Waveform display when a
sweep is run.
New Test configuration functionality:
In this situation the user has not defined the Sweep Panel to display a Waveform but
has selected from one of the Digital Analyzer selections listed below. If the user has
not selected from one of the Digital Analyzer selections listed below this command
is not active.
When this command is executed default values are automaticaly entered into the
sweep panel settings to setup the sweep to display the default Waveform when run.
Each Digital Analyzer selection listed below has it's own default sweep panel set-
tings for a time domain display.
User defined test functionality:
In this situation the user has loaded a previously saved test. If the user has redefined
any of the default sweep panel settings for any or all of the Digital Analyzer selec-
tions and then saved the settings as a test then all of the settings for all of the Digital
Analyzer selections will be restored when the test is loaded. The user can then
switch between any of the Digital Analyzer selections listed below and the
prevoiusly defined settings will be restored.
Digital Analyzer selections:
FFT spectrum analyzer (fft)
Digital interface analyzer (intervu)
Multitone audio analyzer (fasttest)
Quasi-anechoic acoustical tester (mls)
See Also AP.Sweep.Spectrum
Example See example for AP.Sweep.Spectrum.
Syntax AP.SWR.ChABIn
Data Type Long 0 - 192
Description This command sets the channel A and B connections of the Input switchers simulta-
neously. The channel A Input is set to the specified channel number. The channel B
Input differs from the specified channel number by the value of the AP.SWR.
ChBOffset command.
Channel numbers 1 to 192 are available, where 0 means all channels off. Any other
number results in no action taken.
See Also AP.SWR.ChBOffset
Example See example for AP.SWR.Mode.
AP.SWR.ChABInOut Property
Syntax AP.SWR.ChABInOut
Data Type Long 0 - 192
Description This command sets the channel A and B connections of the Input and Output switch-
ers simultaneously. The channel A Input is set to the specified channel number. The
channel B Input differs from the specified channel number by the value of the AP.
SWR.ChBOffset command. The channel A Output differs from the specified chan-
nel number by the value of the AP.SWR.OutOffset command. The channel B
Output differs from the specified channel number by the sum of the values of the
AP.SWR.ChBOffset and the AP.SWR.OutOffset commands.
Channel numbers 1 to 192 are available, where 0 means all channels off. Any other
number results in no action taken.
See Also AP.SWR.ChBOffset, AP.SWR.OutOffset
Example See example for AP.SWR.Mode.
AP.SWR.ChABOut Property
Syntax AP.SWR.ChABOut
AP.SWR.ChAIn Property
Syntax AP.SWR.ChAIn
Data Type Long 0 - 192
Description This command sets the switcher channel A Input channel.
Channel numbers 1 to 192 are available, where 0 means all channels off. Any other
number results in no action taken.
Example See example for AP.SWR.Mode.
AP.SWR.ChAInOut Property
Syntax AP.SWR.ChAInOut
Data Type Long 0 - 192
Description This command sets the channel A connections of the Input and Output switchers si-
multaneously. The channel A Input is set to the specified channel number. The chan-
nel A Output differs from the specified channel number by the value of the AP.
SWR.OutOffset command.
Channel numbers 1 to 192 are available, where 0 means all channels off. Any other
number results in no action taken.
Example See example for AP.SWR.Mode.
AP.SWR.ChAOut Property
Syntax AP.SWR.ChAOut
Data Type Long 0 - 192
Description This command sets the switcher channel A Output channel.
Channel numbers 1 to 192 are available, where 0 means all channels off. Any other
number results in no action taken.
Example See example for AP.SWR.Mode.
AP.SWR.ChBIn Property
Syntax AP.SWR.ChBIn
Data Type Long 0 - 192
Description This command sets the switcher channel B Input channel.
Channel numbers 1 to 192 are available, where 0 means all channels off. Any other
number results in no action taken.
Example See example for AP.SWR.Mode.
AP.SWR.ChBInOut Property
Syntax AP.SWR.ChBInOut
Data Type Long 0 - 192
Description This command sets the channel B connections of the Input and Output switchers si-
multaneously. The channel B Input is set to the specified channel number. The chan-
nel B Output differs from the specified channel number by the value of the AP.
SWR.OutOffset command.
Channel numbers 1 to 192 are available, where 0 means all channels off. Any other
number results in no action taken.
See Also AP.SWR.OutOffset
Example See example for AP.SWR.Mode.
AP.SWR.ChBOffset Property
Syntax AP.SWR.ChBOffset
Data Type Long 1 - 192
Description This command determines the channel number difference between channel B and
the specified channel A.
See Also AP.SWR.ChABIn, AP.SWR.ChABInOut, AP.SWR.ChABOut
Example See example for AP.SWR.Mode.
AP.SWR.ChBOut Property
Syntax AP.SWR.ChBOut
Data Type Long 0 - 192
Description This command sets the channel B Output channel.
Channel numbers 1 to 192 are available, where 0 means all channels off. Any other
number results in no action taken.
Example See example for AP.SWR.Mode.
AP.SWR.Mode Property
Syntax AP.SWR.Mode
Data Type Integer
0 B independent from A: When selected, channels A and B
may be independently set to any channel number within
their range. This is the normal mode for most operation.
1 B = All outputs driven, A = off: When selected, the
switcher B common input is connected to all 12 outputs
on each Output switcher module and the A common input
is disconnected. Both the A and B output fields will be
gray and unavailable for settings in this mode since all
connections are defined by the mode itself. This mode
enables connection of a single generator signal to all
device inputs, which may be a requirement of a burn-in
rack or a life test.
2 B = All outputs driven except # selected for A: when
selected, the A common input connects to the channel
number entered in the A Output field and the B common
input connects to the remaining 11 channels on that
switcher and to all 12 channels of all other Output
switchers connected. The purpose of this mode is for
worst-case crosstalk measurements, so that all except
one channels of a multi-track or multi-channel recorder or
mixing console are driven while the Output signal from the
one un-driven channel is measured. This mode is
normally used with a nested sweep with Source 2 on the
Sweep panel set to scan channel A input and Output
through all possible device channels while Source 1 is
commonly set for a frequency sweep to measure selective
crosstalk across the audio spectrum.
Description This command sets the switcher output configuration
Example Const INDEPENDENT As Integer = 0
'B independent of A
Const B_ONLY_A_OFF As Integer = 1 'All B on, All A off
Const COMPLEMENT As Integer = 2 'All B except _
channel specified by A
Sub Main
Dim switch As Integer, signal As Double, msg As String
AP.SWR.OutOffset Property
Syntax AP.SWR.OutOffset
Data Type Long 0 - 192
Description This command determines the channel number difference between the specified
channel number and the output switcher channel.
See Also AP.SWR.ChAInOut, AP.SWR.ChBInOut, AP.SWR.ChABInOut
Example See example for AP.SWR.Mode.
Sub Main
Dim delay As Double
AP.Sync.DelayReady Property
Syntax AP.Sync.DelayReady
Data Type Integer
0 Reading not ready.
>0 Reading ready.
Description This command returns the Sync In Delay settled settled reading ready count.
Because readings do not return until a reading is ready, this command may be used
to avoid waiting for a reading. This command does NOT zero the ready count and
so may be called any number of times. Only a call to the AP.Sync.DelayRdg
command will zero the ready count.
If the reading is found to be ready, a call to the Frequency A command will be guar-
anteed to return quickly.
Note that readings free run at the selected measurement rate and eventually become
ready without a call to the AP.Sync.DelayTrig command.
See Also AP.Sync.DelayRdg, AP.Sync.DelaySettling, AP.Sync.DelayTrig
Example See example for AP.Sync.DelayRdg.
AP.Sync.DelaySettling Method
AP.Sync.DelayTrig Method
Syntax AP.Sync.DelayTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.Sync.DelayRdg command. The reading in progress is aborted.
See Also AP.Sync.DelayRdg, AP.Sync.DelayReady, AP.Sync.DelaySettling
Example See example for AP.Sync.DelayRdg.
AP.Sync.FrameLock Property
Syntax AP.Sync.FrameLock
Data Type Boolean
True Enable
False Disable
Description This command syncronizes the output AES/EBU frame (status bits preambles) to
the AES/EBU Ref Input frame (status bits preambles).
The Digital output Sample Rate (SR) command AP.S2CDio.OutSampleRate and
Sync Reference Frequency command AP.Sync.Freq must be set identical for this
control to operate correctly.
See Also AP.Sync.OutSampleRate
AP.Sync.Freq Property
Sub Main
AP.Sync.Source = NTSC 'Set Sync input source
AP.Sync.Impedance = Z75 '75 ohm input impedance
AP.Sync.Source = False 'Turn off sourcing
If AP.Sync.OutRangeRdg Then
'internal clock not sync'ed, flag an error _
and ...
End
Else
AP.Sync.Source = True 'Turn on sourcing
'now perform further testing on DUT...
End If
End If
End Sub
AP.Sync.FreqRdg Property
AP.Sync.FreqReady Property
Syntax AP.Sync.FreqReady
AP.Sync.FreqTrig Method
Syntax AP.Sync.FreqTrig
Description This command causes a restart of the reading cycle and zeros the ready count for the
AP.Sync.FreqRdg command. The reading in progress is aborted.
See Also AP.Sync.FreqRdg, AP.Sync.FreqReady
Example See example for AP.Sync.FreqRdg.
AP.Sync.Impedance Property
Syntax AP.Sync.Impedance
Data Type Integer
The following list contains the selections relevant to the AP.Sync.Source com-
mand for the AES Sync Rate selection.
0 Hi Impedance
1 110 Ohms
The following list contains the selections relevant to the AP.Sync.Source com-
mand for the Squarewave, NTSC Video Sync Horz Rate, PAL / SECAM Video
Sync Horz Rate selections.
0 Hi Impedance
1 75 Ohms
Description This command controls the input impedance for Balanced and Un-Balanced Sync In-
put configurations.
See Also AP.Sync.Source
Example See example for AP.Sync.DelayRdg.
AP.Sync.OutDelay Property
Syntax AP.Sync.OutDelay
Data Type Boolean
True Enable delay.
False Disable delay.
Description This command enables or disables the specified generator output delay relative to
the Ref Our as defined by the AP.Sync.OutDelayFromRef command. When
delay is not required, this feature should be disabled rather than set the AP.Sync.
OutDelayFromRef command to a zero value, since residual jitter is slightly
higher when the output delay feature is enabled.
The ON/OFF button at the left of the Source selection field connects the selected
source signal to the instrument's internal phase locked loops. The Input Frequency
field will be blanked when the switch is turned on, since the reading will be redun-
dant if lock is achieved and will be incorrect if lock is not possible.
See Also AP.Sync.OutDelayFromRef
Example See example for AP.Sync.DelayRdg.
AP.Sync.OutDelayFromRef Property
AP.Sync.OutFrameSyncInvert Property
Syntax AP.Sync.OutFrameSyncInvert
Result Boolean
True Invert Transmit Frame Sync output.
False Normal non-inverting output.
Description This command sets the Transmit Frame Sync to normal or inverted polarity.
AP.Sync.OutJitterClockOutputs Property
Syntax AP.Sync.OutJitterClockOutputs
Result Boolean
True Enable
False Disable
Description This command enables or disables the addition of jitter to the Master Clock and
Transmit Frame Sync Clock outputs.
AP.Sync.OutOfRangeRdg Property
Syntax AP.Sync.OutOfRangeRdg
Result Boolean
True In Range
False Out of Range
Description This command returns a unsettled reading for the Sync Out Of Range indicator.
Example See example for AP.Sync.Freq.
AP.Sync.PassThruDomainPref Property
Syntax AP.Sync.PassThruDomainPref
Data Type Integer
0 Digital
1 Analog
Description Under certain conditions of high data throughput (long word length, high sample
rate), the Pass Thru feature can be supported for either the Analog Generator or the
Digital Generator, but not both. This command sets the user's Pass Thru domain pref-
erence for the current test should such conditions occur.
AP.Sync.Source Property
Syntax AP.Sync.Source
Data Type Boolean
True Enable.
False Disable.
Description This command enables or disables the external sync input.
See Also AP.Sync.SourceInput
Example See example for AP.Sync.FreqRdg.
AP.Sync.SourceInput Property
Syntax AP.Sync.SourceInput
Data Type Integer
0 AES Sync Rate
1 Squarewave
2 NTSC Video Sync Horz Rate
3 PAL / SECAM Video Sync Horz Rate
Description This command sets the input type for the external sync input.
See Also AP.Sync.Source
Example See example for AP.Sync.DelayRdg.
FloorUnit String that designates the desired unit to be used with the
Floor# Parameter. Refer to the reading to determine
the appropriate unit selections.
Delay The Delay value determines how long the control software
waits at each new step of a sweep before starting to
examine measurements from the instrument. This value is
effective even when the Algorithm selection is None. The
Delay time will be taken at the beginning of each nest of a
nested sweep, including nested FFT measurements with
the FFT at Source 1 and another parameter such as
Generator Amplitude at Source 2. Acquistion of signal into
any of the FFT programs will not begin until the Delay
value (or 200 milliseconds, whichever is greater) has
passed. For Time sweeps where it is desired to make as
many measurements per second as possible, the Delay
value should be set to zero in addition to selecting None
for settling.
User Notes
DGen.Offset 5136
DGen.Phase 5131
DGen.Samples/Step 5135
Dio.Common Mode Ampl 5317
Dio.Common Mode Freq 5318
Dio.Delay from Output 6104
Dio.Input Resolution 5325
Dio.Input Sample Rate 6101
Dio.Input Voltage 6102
Dio.Interface Jitter 6105
Dio.Interfering Noise Ampl 5305
Dio.Jitter Ampl 5323
Dio.Jitter Freq 5322
Dio.Output Resolution 5326
Dio.Output Sample Rate 5301
Dio.Output Voltage 5304
Dio.Rise/Fall Time 5303
Distortion.Ch1 Fund Ampl 6125
Distortion.Ch1 Fund Freq 6127
Distortion.Ch1 Harm Sum1 6129
Distortion.Ch1 Harm Sum2 6130
Distortion.Ch2 Fund Ampl 6126
Distortion.Ch2 Fund Freq 6128
Distortion.Ch2 Harm Sum1 6131
Distortion.Ch2 Harm Sum2 6132
DSP Anlr.Ampl A 6014
DSP Anlr.Ampl B 6067
User Notes
Numerical Listing
ID # Filter Text
4029 None
4018 Slot #1
4019 Slot #2
4020 Slot #3
4021 Slot #4
4022 Slot #5
4023 Slot #6
4024 Slot #7
12000 Empty Slot
12017 A-Weighting
12018 CCIR 468-3
12019 CCITT P.53
12020 C-Message
12021 C-Weighting
12033 50μs de-emph
12034 50μs de-emph + 15.6kHz notch
12035 50μs de-emph + 19kHz notch
12037 75μs de-emph
12038 75μs de-emph + 15.7kHz notch
12039 75μs de-emph + 19kHz notch
12041 75μs de-emph + A-wtg
12049 20-15kHz +15.6kHz notch
12050 200-15kHz + 19kHz notch
ID # Filter Text
12051 Video notch
12052 19kHz FM Pilot notch
12053 FIL-VOX
12080 200Hz lowpass
ID # Filter Text
12138 800Hz bandpass
12139 945Hz bandpass
12140 315Hz bandpass
12141 333Hz bandpass
12145 1kHz bandpass
12146 1.2kHz bandpass
12147 1.5kHz bandpass
12148 2kHz bandpass
12149 2.04kHz bandpass
12150 3kHz bandpass
Codes Description
8614 Could not find or open the file - DIOBOOT.AZ2.
8615 Could not find or open the file - DIOXTRA.AZ2.
8616 Could not find or open the file - DSPBOOT.AZ2.
8617 DSP has not responded to the request to go to waveform
download state.
General Errors
Codes Description
9002 Could not open the file %1.
9003 Cannot find the file %1.
9004 %1.
9005 The Increment must be greater than zero.
9006 %1 is a setting and currently cannot be swept as data.
Codes Description
9007 %1 is a reading and currently cannot be swept as a
source.
9008 %1 currently cannot be a sweep parameter.
9009 Source 1 and Source 2 cannot be the same: %1.
9011 Cannot save to file: %1.
9012 Incompatible file versions! %1.
9013 Incompatible Minor file versions! %1.
9014 Incompatible axes, load whole sweep setup?
9015 Incompatible sweep parameters for appending data.
Would you like to destroy the present data and run the
sweep anyway?
9016 This is not a valid AP2700 Test.
9017 Unable to save this test. Make sure the disk is not full.
9018 This is an older version of an AP2700 Test and cannot be
opened.
9021 This file is not recognized as an AP2700 Test.
9022 Macro still active.
Codes Description
9035 Hardware still dead after attempted restoration.
9036 Error Creating panel. There are probably not enough
system resources available. Try closing some panels
before creating new ones.
9037 Could not find Logo.bmp.
9038 Could not load Logo.bmp.
9039 Error creating the log file %1. Make sure the directory
specified exists.
9040 Sweep cannot mix FFT and non-FFT Readings and
Settings.
9041 An unspecified file I/O error occured.
9042 The file could not be located.
9043 All or part of the specified path is invalid.
9044 The permitted number of open files was exceeded.
9045 The file could not be accessed.
9046 Attempted to use an invalid file handle.
9047 Current working directory cannot be removed.
9048 There are no more directory entries.
9049 File error when trying to set the file pointer.
9050 There was a hardware error during file I/O.
9051 SHARE.EXE was not loaded or shared region was
locked.
9052 There was an attempt to lock a region already locked
during file I/O.
9053 The disk is full!
9054 The end of the file was reached.
9055 Import file is incompatible with current sweep setup.
9056 This DSP Program cannot load Generator Waveforms.
9057 Could not save file. File may be write protected, device or
path may not exist, or file may be in use by another
application.
9058 No default printer is installed in Windows. Please install
one and try again.
9059 This is a newer version of an AP2700 test and cannot be
opened.
9060 AP2700 is already running. Executing multiple instances
is not allowed.
Codes Description
9062 During load test, an invalid unit was found in %1. Please
check the value shown on the panel.
9063 During load test, an invalid choice was found in %1.
Please check the value shown on the panel.
9064 Source unit (%1) is not compatible with Target Value unit
(%2).
9065 Change %1 to %2 for stereo sweep?
9066 The horizontal value %1 is out of range of the data.
9067 Settings cannot be copied due to incompatible units.
9068 Incompatible unit for %1 limit comparisons on %2. Abort
the sweep?
9069 This sweep cannot execute! The unit in the table (%1) is
incompatible with the source 1 sweep setup.
9070 Incompatible unit for %1 limit comparisons on %2.
Remove this limit choice?
9071 Nested stereo sweeps are not supported at this time.
9072 No compute performed.
9073 No data box checked.
9074 No points to compute.
9075 Compute center requires both Upper and Lower Limits.
9076 No compute performed — %1.
9077 Invalid Delta file or column number.
9078 No data to compute for specified Data parameter.
9079 References to this file will be removed from the test.
Reassign correct file names and save the test or move
the files to the expected directory and reload the test.
9080 Resaving this test in its current state will remove the
reference to the above mentioned file completely.
9082 The selected file does not have the correct source unit.
9083 The regulation target %1 is currently inactive.
9084 The settling floor is too big or the regulation tolerance too
small.
9085 Invalid equalization curve file or column number.
9086 Table Sweep.
Codes Description
9087 Compute Delta.
9088 The file %1 specified for the %2 cannot be found or is
invalid.
9089 An EQ Curve has not been selected, would you like to
choose one now?
9090 Error reading file %1.
9091 Can only import version 2.10 or 2.00 S1.EXE test files.
9092 Unregulated after %1 iterations.
9093 Unregulated after %1 iterations. The minimum resolution
of the setting being varied has been reached. Try
increasing the initial Step Size.
9094 Unregulated after %1 iterations. The minimum resolution
of the setting being varied has been reached.
Codes Description
9111 The current Sweep DataSet and the Appending Data
columns are not equivalent in count or position.
9112 The current Sweep DataSet and the Appending Source
columns are not equivalent in count.
9113 Invalid Trace in Sweep Data.
9114 The append file data units are incompatible with current
sweep units.
9115 Sweep table empty, not loaded properly.
9116 Incompatible units with current sweep setup, or with
system units.
9117 Cannot load this AP2700 Test because it was saved with
System Two hardware and you are currently running
System Two Cascade or 2700 series hardware.
9118 Cannot load this AP2700 Test because it was saved with
System One hardware and you are currently running
System Two Cascade or 2700 series hardware.
General Warnings
Codes Description
10004 Could not find apwaterm.bmp in resource file.
10005 Could not load apwaterm.bmp from resource file.
10006 Could not find an WIN-APIB Inferface Card. Will run in
DEMO mode.
10007 Zoom will reprocess the last trace only and all previous
data will be lost. Continue?
10008 Found a non-WIN APIB card. This program requires an
WIN-APIB card to function. Will run in DEMO mode.
10009 Option Filter selected in Test File not found, changing to
NONE.
Codes Description
10010 AP2700 must be restarted for the European Option
change to take effect.
10012 A graph must be displayed on any page to Print, Print
Preview or Export to Metafile.
10013 Select a graph panel to print or preview.
10014 There is no procedure to save.
10015 The changes made to %1 will have no effect if the file is
not saved. Do you want to save the changes?
10016 The %1 Option Filter specified in the Test being loaded
was not found. Filters will be set to NONE.
10017 You are currently using the old Digital Domain Audio
Analyzer and have requested to switch to the new Audio
Analyzer. Do you want to map all of the settings from the
old Analyzer to the new Analyzer?
10018 Overwrite existing file?
10019 Changing the Digital Analyzer is not allowed during a
sweep. Stop the sweep and then change the Digital
Analyzer.
10020 Changing this setting will cause the stereo checkbox on
the sweep panel to be turned off. Please re-check this if
you still want a stereo sweep.
10021 The test being loaded is an unreleased beta version (
%1). This test may not load correctly or may not function
as intended.
10022 The data editor must be displayed on any page to Print.
10023 This version of AP2700 requires a newer version of the
Windows system file COMCTL32.DLL than is currently
installed on your computer.
10024 2700 series hardware not properly installed or not
powered on. Will run in DEMO mode.
Exception Errors
Codes Description
11002 Expecting an array of Doubles.
Codes Description
11003 Invalid Data ID.
11004 Invalid Data Column.
11005 Array too long.
11006 Could Not Load Procedure.
11007 Element Not found - ID was not correct
11008 Element type not a Setting.
DSP Errors
Codes Description
18000 No DSP Program Specific Error.
18001 No DSP Program Specific Error.
18002 DSP Program requires DIO or MEM option.
18003 Main DSP processor’s stack overflow exception was
raised.
18004 DIO option not present — A/D or DGEN are the only valid
input settings.
18005 DIO option not present — D/A is the only valid output
setting.
18006 At least one input channel must be enabled in order to
acquire.
18008 DSP program does not support external sweeps except
for Time.
18009 Trigger and Frequency Correction modes require Channel
1 and Channel 2 generator waveforms.
18010 Transform size setting out of bounds.
18011 Waveform file is not an MLS impulse response.
18012 Waveform file is not the proper type for selected buffer.
18013 Frequency Resolution may only be a sweep source-2
selection.
18014 Generator Amplitude may only be a sweep source-2
selection.
18015 Generator Frequency may only be a sweep source-2
selection.
18016 FFT Start Time may only be a sweep source-2 selection.
18017 FFT Pretrigger may only be a sweep source-2 selection.
18018 Reference Time may only be a sweep source-2 selection.
18020 Channel 1 de-emphasis overload detected.
18021 Channel 2 de-emphasis overload detected.
18022 Excessive tones in waveform for proper operation.
18023 Waveform load not of valid length.
18024 Channel 1 & Channel 2 generator waveforms not of equal
length.
18025 Generator waveform frequencies too close for triggering
or frequency correction.
18026 Frequency correction data overrun.
18027 Frequency resolution setting conflicts with requested
frequency.
18028 Maximum BP/BR filter frequency exceeded.
Codes Description
18029 Narrow bandpass filter only available at 48 kHz sample
rate.
18030 Sweep Data incompatible with Sweep Source, Select
Data = Probability or change sweep source.
18031 Sweep Data = Eye incompatible with Sweep Source =
Frequency.
18032 If a Sweep Data is set to Eye Opening, other Sweep Data
must be set to an Eye Opening.
18033 FFT trigger delay time exceeds the acquire buffer size.
Consider using a shorter trigger delay time or a larger
acquire size.
18034 FFT Start Time is specified beyond the end of acquired
data. Consider using a shorter FFT Start Time or a larger
acquire size.
18035 The sum of FFT Start Time and transform length will
exceed the acquired data size.
18036 FFT length is larger than acquired data size. Select a
smaller FFT length or re-acquire data with a larger
acquisition size.
18037 Crosstalk information cannot be displayed. The generator
waveform does not contain crosstalk tones for channel 1.
18038 Crosstalk information cannot be displayed. The generator
waveform does not contain crosstalk tones for channel 2.
18039 Frequency to be corrected is too large.
18040 Frequency to be corrected is too small.
18042 FFT Start Time must be equal to or greater than trigger
delay time.
18043 Main DSP processor’s reset exception was raised.
Codes Description
18053 The DC component of the Ch 1 signal is greater in
magnitude than any AC component and so the sync to
sine process was halted. Choosing the subtract 1/2 pk-pk
or subtract avg options on the panel may allow you to use
the sync to sine feature.
18054 The DC component of the Ch 2 signal is greater in
magnitude than any AC component and so the sync to
sine process was halted. Choosing the subtract 1/2 pk-pk
or subtract avg options on the panel may allow you to use
the sync to sine feature.
18055 Channel 1 and Channel 2 generator waveforms have not
been loaded.
18056 The greatest magnitude tone for Ch 1 is too low in
frequency to use sync to sine. To calculate the minimum
frequency for which sync to sine will work use the
following formula: sample frequency in Hz / FFT length =
size of each FFT bin in Hz. 6 * size of FFT bin in Hz =
minimum frequency. To use sync to sine, the greatest
magnitude tone must have a frequency greater than this
minimum frequency.
18057 The greatest magnitude tone for Ch 2 is too low in
frequency to use sync to sine. To calculate the minimum
frequency for which sync to sine will work use the
following formula: sample frequency in Hz / FFT length =
size of each FFT bin in Hz. 6 * size of FFT bin in Hz =
minimum frequency. To use sync to sine, the greatest
magnitude tone must have a frequency greater than this
minimum frequency.
18058 Resampling process aborted. No zero crossings found.
Check level meters to verify signal is present.
DSP Warnings
Codes Description
19000 No DSP Program Specific Warning.
Codes Description
19003 Channel 1 generator waveform should be loaded before
channel 2.
19004 Channel 1 time frame not set — must do a Time sweep
before Frequency sweep.
19005 Channel 2 time frame not set — must do a Time sweep
before Frequency sweep.
19006 Ch1 & Ch2 time frames not set — must do a Time sweep
before Frequency sweep.
19007 Not enough tones in waveform for reliable triggering
19008 Lobe width even, 0 or 1.
19009 Frequency correction out of range.
19010 Main filter over-ranged.
19011 Sample rate may be insufficient.
19012 Filtered level ranged.
19013 RMS Filter 1 overload occurred.
19014 RMS Filter 2 overload occurred.
19015 Trigger check failed when trying to frequency correct
downloaded waveform — correction aborted.
19016 Not enough samples downloaded for frequency error
correction.
19017 Frequency correction skipped — waveform has already
been corrected.
19018 Trigger check failed while trying to frequency correct
acquired waveform — correction aborted.
19019 Crosstalk mode requires at least one generator tone
different in each of the two channels.
19020 Current generator waveform has no crosstalk tones for
channel 1.
19021 Current generator waveform has no crosstalk tones for
channel 2.
User Notes