EasyManuals Logo

Agilent Technologies E3632A User Manual

Agilent Technologies E3632A
169 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 #137 background imageLoading...
Page #137 background image
Chapter 6 Application Programs
Excel 5.0 Example for Windows 3.1 and GPIB
136
Diode bas Macro
Option Explicit
'"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
' This is the subroutine first executed. Modify this routine
' to suit your needs. To change the GPIB address, go to the module GPIB,
' Sub OpenPort(), and change the variable VISAaddr = "5" to the
' required GPIB address
'"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Sub Diode()
Range("B5:B15").ClearContents
Dim I As Integer
OpenPort
SendSCPI "*RST" 'Reset E3632A to power on condition
SendSCPI "Output ON" 'Turn on the output
For I = 5 To 15
' Convert the worksheet value to a string, add to SCPI command
SendSCPI "Volt" & Str$(Cells(I, 1))
' Request a current measurement, put response in worksheet
Cells(I, 2) = Val(SendSCPI("meas:current?"))
Next I
SendSCPI "Output OFF" 'Turn off the output
ClosePort
End Sub

Other manuals for Agilent Technologies E3632A

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies E3632A Specifications

General IconGeneral
BrandAgilent Technologies
ModelE3632A
CategoryPower Supply
LanguageEnglish

Related product manuals