EasyManuals Logo
Home>Agilent Technologies>Power Supply>N5700 Series

Agilent Technologies N5700 Series User Manual

Agilent Technologies N5700 Series
132 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 #83 background imageLoading...
Page #83 background image
Programming Examples 6
Series N5700 User’s Guide 83
' Set the over voltage level
.WriteString "VOLT:PROT:LEV " & Str$(overVoltSetting)
' Turn on over current protection
.WriteString "CURR:PROT:STAT " & Str$(overCurrOn)
' Set the current level
.WriteString "CURR " & Str$(CurrSetting)
' Turn the output on
.WriteString "OUTP ON"
' Make sure that the output is on before continuing
.WriteString "*OPC?"
.ReadString
' Measure the voltage
.WriteString "Meas:Volt?"
measVolt = .ReadNumber
MsgBox "Measured Voltage is " & Str$(measVolt)
' Check instrument for any errors
.WriteString "Syst:err?"
ErrString = .ReadString
' give message if there is an error
If Val(ErrString) Then
MsgBox "Error in instrument!" & vbCrLf & ErrString
End If
End With
End Sub

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies N5700 Series Specifications

General IconGeneral
BrandAgilent Technologies
ModelN5700 Series
CategoryPower Supply
LanguageEnglish

Related product manuals