EasyManua.ls Logo

Keysight 34420A - Page 253

Keysight 34420A
307 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
Loading...
Application Programs 6
Keysight 34420A User’s Guide 249
... continued
Rem Nulled Channel 2 Measurement
null_stmt$ = "SENS2:VOLT:DC:NULL ON"
errnum% = GpibOutputS(hGpib%, device&, null_stmt$, Len(null_stmt$))
Call check_srq
null_stmt$ = "SENS2:VOLT:DC:NULL " + Str$(reading2!)
errnum% = GpibOutputS(hGpib%, device&, null_stmt$, Len(null_stmt$))
Call check_srq
errnum% = GpibOutputS(hGpib%, device&, reed$, Len(reed$))
errnum% = GpibEnter(hGpib%, device&, reading!)
Text4.Text = Str$(reading!)
Call check_srq
Rem Close the instrument
errnum% = GpibClose(hGpib%)
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 = ""

Table of Contents

Related product manuals