EasyManuals Logo

Agilent Technologies 4156C User Manual

Agilent Technologies 4156C
312 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #79 background imageLoading...
Page #79 background image
Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4 2-61
Driver Function Reference
hpe5250a_connRuleSeq
raw_c Capacitance value (in F) measured by the 4284A.
raw_g Conductance value (in S) measured by the 4284A.
compen_c Capacitance compensation result (in F).
compen_g Conductance compensation result (in S).
Example
Sub Main()
Dim Ag5250 As Hpe5250a = New Hpe5250a("GPIB0::22::INSTR", True,
True)
Ag5250.Reset()
Ag5250.TimeOut(60000)
Dim closelist() As Integer = {40101, 40202, 40303, 0}
’path: in1-out1, in2-out2, in3-out3 of card4
Ag5250.Func(Hpe5250a.ChannelConfigEnum.NormalConfiguration)
Ag5250.ConnRuleSeq(0, 1, 1)
Ag5250.CloseList(closelist)
Dim freq As Double = 1000000 ’ measurement frequency: 1 (MHz)
Dim c_len As Double = 3 ’ 16494A cable length: 3 (m)
Dim tri_h As Double = 0 ’ HI side triax cable length in m
Dim tri_l As Double = 0 ’ LO side triax cable length in m
Dim co_h As Double = 0 ’ HI side coax cable length in m
Dim co_l As Double = 0 ’ LO side coax cable length in m
Dim cr As Double = 0.0000000001 ’ C value by 4284A: 100 (pF)
Dim gr As Double = 0.0005 ’ G value by 4284A: 0.5 (mS)
Dim cc As Double
Dim gc As Double
Ag5250.CompenC(freq, c_len, tri_h, tri_l, co_h, co_l, cr, gr, cc,
gc)
Dim result As String = "C = " & cc * 1000000000000.0 & " (pF)"
result = result & Chr(10) & "G = " & gc * 1000 & " (mS)" & Chr(10)
Console.WriteLine(result)
Ag5250.Close()
End Sub
hpe5250a_connRuleSeq
The function sets connection rule and connection sequence for the specified card.
Syntax ViStatus _VI_FUNC hpe5250a_connRuleSeq(ViSession vi,
ViInt16 cardno_ruleseq, ViInt16 rule, ViInt16 sequence);
Parameters vi Instrument handle returned from hpe5250a_init( ).
cardno_ruleseq Card number. 1 (card 1), 2 (card 2), 3 (card 3), 4 (card 4), or 5
(all card) in the normal configuration mode, or 0 (all card in the
automatic configuration mode). For the configuration mode, see
hpe5250a_func.

Table of Contents

Other manuals for Agilent Technologies 4156C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 4156C and is the answer not in the manual?

Agilent Technologies 4156C Specifications

General IconGeneral
BrandAgilent Technologies
Model4156C
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals