Programming
1267
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 'Session to Default Resource Manager
Dim vi As Long 'Session to instrument
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" 'Divice Type : SE-Bal
Port(1) = 1 'Port1(SE) : 1
Port(2) = 2 'Port2(Bal) : 2,3
Port(3) = 3 '
Para = "SDS21" 'Meas. Parameter : Sds21
Dmc_c = 0.000000000001 'Diff. C : 1 pF
Dmc_g = 0.002 'Matching G : 2 mS
Dmc_l = 0.00000003 'Circuit L : 30 nH