... continued
Rem Nulled Channel 2 Measurement
null_stmt$ = "SENS2:VOLT:DC:NULL ON"
errnum% = HpibOutputS(hHpib%, device&, null_stmt$, Len(null_stmt$))
Call check_srq
null_stmt$ = "SENS2:VOLT:DC:NULL " + Str$(reading2!)
errnum% = HpibOutputS(hHpib%, device&, null_stmt$, Len(null_stmt$))
Call check_srq
errnum% = HpibOutputS(hHpib%, device&, reed$, Len(reed$))
errnum% = HpibEnter(hHpib%, device&, reading!)
Text4.Text = Str$(reading!)
Call check_srq
Rem Close the instrument
errnum% = HpibClose(hHpib%)
End Sub
Sub Command2_Click ()
End
End Sub
Sub Command3_Click ()
Rem Set up interface variables
isc& = 7
device& = isc& * 100 + 22
swap% = 2
max% = 4000 * swap%
act% = 0
max1% = 50
TimeVal# = 10#
Rem Set up Measurement variables
Funct$ = "SCAL"
Trig_src$ = "EXT"
range% = 10
nplc% = 100
Gain% = .001
Offset% = .5
samp_count% = 100
ReDim Readings!(samp_count%)
Rem Clear out text boxes
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Chapter 6 Application Programs
Microsoft Visual Basic Language Program
226
Summary of Contents for 34420A
Page 1: ......
Page 2: ......
Page 13: ...1 Quick Start ...
Page 31: ...2 Front Panel Operation ...
Page 55: ...3 Features and Functions ...
Page 117: ...4 Remote Interface Reference ...
Page 200: ...5 Error Messages ...
Page 213: ...6 Application Programs ...
Page 245: ...6 Chapter 6 Application Programs Microsoft Excel Macro Example 245 ...
Page 246: ...Chapter 6 Application Programs Microsoft Excel Macro Example 246 ...
Page 247: ...7 Measurement Tutorial ...
Page 274: ...8 Specifications ...
Page 279: ...Dimensions Chapter 8 Specifications 34420A Nano Volt Micro Ohm Meter 280 ...
Page 294: ......