Fixture Simulator
Overview
•
Sample Program in Excel VBA
•
Sample Program in HT Basic
•
Other topics about Sample Programs
Overview
The sample program demonstrates how to use the Fixture Simulator.
This configures the Balance-Unbalance Conversion, Differential Matching
Circuit Embedding, Port Impedance Conversion, and Differential Port
Impedance Conversion features so that the instrument can correctly deal
with an unbalance-balance (3-port) DUT.
See Analysis Using the Fixture Simulator for this programming.
Sample Program in Excel VBA
Sub Fixture_Click()
Dim defrm As Long
Dim vi As Long
Dim Para As String
Dim Dev_Type As String
Dim Dmc_c As Double
Dim Dmc_g As Double
Dim Dmc_l As Double
Dim Dmc_r As Double
Dim Z0_se As Double
Dim Z0_diff As Double
Dim Port(3) As Integer
Dim Result As String
Const TimeOutTime = 20000
Dev_Type = "SBAL"
Port(1) = 1
Port(2) = 2
Port(3) = 3
Para = "SDS21"
Dmc_c = 0.000000000001
Dmc_g = 0.002
Dmc_l = 0.00000003
'Session to Default Resource Manager
'Session to instrument
'Divice Type
: SE-Bal
'Port1(SE)
: 1
'Port2(Bal)
: 2,3
'
'Meas. Parameter : Sds21
'Diff.
C : 1 pF
'Matching
G : 2 mS
'Circuit
L : 30 nH
Programming
1267