EasyManuals Logo
Home>Agilent Technologies>Power Supply>N6751A

Agilent Technologies N6751A User Manual

Agilent Technologies N6751A
206 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 #111 background imageLoading...
Page #111 background image
Programming Examples 7
Series N6700 User’s Guide 111
' Set the voltage
.WriteString "VOLT" & Str$(VoltSetting) & "," & channel
' Set the over voltage level
.WriteString "VOLT:PROT:LEV " & Str$(overVoltSetting) & "," & channel
' Set current level
.WriteString "CURR " & Str$(CurrSetting) & "," & channel
' Turn on over current protection
.WriteString "CURR:PROT:STAT ON," & channel
' Turn the output on
.WriteString "OUTP ON," & channel
' Wait for previous commands to complete.
.WriteString "*OPC?"
.ReadString
' Measure the voltage
.WriteString "MEAS:VOLT? " & channel
MeasureVoltString = .ReadString
MsgBox "Measured Voltage is " & MeasureVoltString & "At channel" & channel
' 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 N6751A and is the answer not in the manual?

Agilent Technologies N6751A Specifications

General IconGeneral
BrandAgilent Technologies
ModelN6751A
CategoryPower Supply
LanguageEnglish

Related product manuals