EasyManua.ls Logo

Agilent Technologies E5071C - Page 1045

Agilent Technologies E5071C
2685 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
E5071C
1272
Time Domain
• Overview
• Sample Program in Excel VBA
• Sample Program in HT Basic
Other topics about Sample Programs
Overview
This sample program demonstrates how to use the transformation function
of the time domain function.
This program executes calibration (ECal), performs measurement once,
converts the results to data in the time domain, and displays this data.
See Analysis in Time Domain (time domain function) for this programming.
Sample Program in Excel VBA
Sub Time_Domain_Click()
Dim defrm As Long 'Session to Default Resource Manager
Dim vi As Long 'Session to instrument
Dim Para As String
Dim Tran_Type As String
Dim Stim_Type As String
Dim stop_freq As Double
Dim Win_Beta As Double
Dim Star_Time As Double
Dim Stop_Time As Double
Dim Result As String
Const TimeOutTime = 40000 'timeout time.
stop_freq = 3000000000# 'Stop Frequendy : 3 GHz
Nop = 201 'Nop : 201
Para = "S11" 'Meas. Parameter : S11
Tran_Type = "LPAS" 'Transform Type : Lowpass
Stim_Type = "IMP" 'Stimulus Type : Impulse
Win_Beta = 13 'Window Beta : 13 (Maximum Type)
Star_Time = 0 'Start time : 0 sec
Stop_Time = 0.00000001 'Stop time : 10 nsec
Call viOpenDefaultRM(defrm) 'Initializes the VISA system.

Table of Contents