Agilent Technologies E5071C Manual page 1298

Hide thumbs Also See for E5071C:
Table of Contents

Advertisement

2 Channels Measurement
Overview
Sample Program in Excel VBA (VISA-COM)
Other topics about TDR Sample Program
Overview
2 channel measurement allows you to makes TDR measurement on
channel 1 and more customized S-parameter measurement on channel2.
This is a program example of the 2 Channel Measurement Example. In 2
channel measurement, you need to setup two logical instrument, E5071C
and E5071C-TDR. In this sample program, the E5071C is assigned as ENA
and E5071C-TDR is assigned as ENATDR.
The TDR commands should be sent to ENATDR and The E5071C standard
commands should be sent to ENA.
Note for 2 Channels Measurement
Put *OPC? to make sure to finish the process before you change the
control from ENA to ENATDR or ENATDR to ENA.
DUT topology setting should be executed at the beginning of
sequence, because changing DUT Topology presets the E5071C.
Sample Program in Excel VBA (VISA-COM)
Grobal valiables
Dim rm As VisaComLib.ResourceManager
Dim ENA As VisaComLib.FormattedIO488
Dim ENATDR As VisaComLib.FormattedIO488
Dim NumDmy As Integer
Open Instruments
Sub OpenInstrument()
On Error GoTo errorhandler
Set rm = New VisaComLib.ResourceManager
Set ENA = New VisaComLib.FormattedIO488
Set ENATDR = New VisaComLib.FormattedIO488
' Change the address for your configuration
Set ENA.IO = rm.Open("GPIB0::17::INSTR")
' Set time out time for ENA at 30 second
ENA.IO.Timeout = 30000
Programming
1525

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents