User`s guide
Table Of Contents
- Legal Notices
- Safety Notices
- In this Book
- Contents
- Quick Reference
- Installation
- Operating the Power Supply Locally
- Operating the Power Supply Remotely
- Language Reference
- SCPI Command Summary
- Calibration Commands
- Measure Commands
- Output Commands
- Source Commands
- [SOURce:]CURRent[:LEVel][:IMMediate][:AMPLitude]
|MIN|MAX [SOURce:]CURRent[:LEVel][:IMMediate][:AMPLitude]? [MIN|MAX][SOURce:]CURRent[:LEVel]:TRIGgered[:AMPLitude] |MIN|MAX [SOURce:]CURRent[:LEVel]:TRIGgered[:AMPLitude]? [MIN|MAX] - [SOURce:]CURRent:PROTection:STATe ON|OFF[SOURce:]CURRent:PROTection:STATe?
- [SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude]
|MIN|MAX [SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude]? [MIN|MAX][SOURce:]VOLTage[:LEVel]:TRIGgered[:AMPLitude] |MIN|MAX [SOURce:]VOLTage[:LEVel]:TRIGgered[:AMPLitude]? [MIN|MAX] - [SOURce:]VOLTage:LIMit:LOW
|MIN|MAX [SOURce:]VOLTage:LIMit:LOW? [MIN|MAX] - [SOURce:]VOLTage:PROTection:LEVel
|MIN|MAX[SOURce:]VOLTage:PROTection:LEVel? [MIN|MAX]
- [SOURce:]CURRent[:LEVel][:IMMediate][:AMPLitude]
- Status Commands
- STATus:PRESet
- STATus:OPERation[:EVENt]?
- STATus:OPERation:CONDition?
- STATus:OPERation:ENABle
STATus:OPERation:ENABle? - STATus:OPERation:NTR
STATus:OPERation:PTR STATus:OPERation:NTR? STATus:OPERation:PTR? - STATus:QUEStionable[:EVENt]?
- STATus:QUEStionable:CONDition?
- STATus:QUEStionable:ENABle
STATus:QUEStionable:ENABle? - STATus:QUEStionable:NTR
STATus:QUEStionable:PTR STATus:QUEStionable:NTR? STATus:QUEStionable:PTR? - *CLS
- *ESE*ESE?
- *ESR?
- *OPC*OPC?
- *SRE*SRE?
- *STB?
- *WAI
- System Commands
- Trigger Commands
- Programming Examples
- Specifications
- Verification and Calibration
- Verification
- Equipment Required
- Measurement Techniques
- Constant Voltage Tests
- Constant Current Tests
- Test Record Form – Agilent N5741A and N5761A
- Test Record Form – Agilent N5742A and N5762A
- Test Record Form – Agilent N5743A and N5763A
- Test Record Form – Agilent N5744A and N5764A
- Test Record Form – Agilent N5745A and N5765A
- Test Record Form – Agilent N5746A and N5766A
- Test Record Form – Agilent N5747A and N5767A
- Test Record Form – Agilent N5748A and N5768A
- Test Record Form – Agilent N5749A and N5769A
- Test Record Form – Agilent N5750A and N5770A
- Test Record Form – Agilent N5751A and N5771A
- Test Record Form – Agilent N5752A and N5772A
- Calibration
- Verification
- Service
- Compatibility
- Index
- Declaration of Conformity
Programming Examples 6
Series N5700 User’s Guide 85
' Set the voltage
.WriteString "VOLT" & Str$(VoltSetting)
' Set the current level
.WriteString "CURR " & Str$(CurrSetting)
' Set the triggered voltage and current levels
.WriteString "VOLT:TRIG " & Str$(trigVoltSetting)
.WriteString "CURR:TRIG " & Str$(trigCurrSetting)
' Turn the output on
.WriteString "OUTP ON"
' Make sure that the output is on
.WriteString "*OPC?"
.ReadString
' Measure the voltage before triggering the change
.WriteString "MEAS:VOLT?"
MeasureVolt = .ReadNumber
' Save the value for later display
msg1$ = "Voltage before trigger = " & Str$(MeasureVolt)
' Initiate the trigger system
.WriteString "INIT"
' Make sure that the trigger system is initiated
Do
.WriteString "STAT:OPER:COND?"
stat = .ReadNumber
Loop Until ((stat And WTG) = WTG)
' Trigger the unit
.WriteString "*TRG"
'Make sure that the trigger is done
.WriteString "*OPC?"
.ReadString
' Measure the voltage after triggering the change
.WriteString "MEAS:VOLT?"
MeasureVolt = .ReadNumber
' Display the measured values
MsgBox msg1$ + Chr$(13) + "Voltage after trigger = " & Str$(MeasureVolt)
' 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