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
6 Programming Examples
84 Series N5700 User’s Guide
Trigger Programming Example
This example illustrates how to set up and trigger a voltage and
current change. The voltage is measured before and after the trigger.
Sub main_Trig()
Dim IDN As String
Dim IOaddress As String
Dim ErrString As String
Dim msg1 As String
' This variable is used to monitor the status
Dim stat As Long
' This variable controls the voltage
Dim VoltSetting As Double
' This variable measures the voltage
Dim MeasureVolt As Double
' This variable controls the current
Dim CurrSetting As Double
' This variable represents the trigger current setting
Dim trigCurrSetting As Double
' This variable controls the triggered voltage setting
Dim trigVoltSetting As Double
' This constant represents the register value for Waiting for Trigger
Const WTG = 32
' These variables are necessary to initialize the VISA COM
Dim ioMgr As AgilentRMLib.SRMCls
Dim Instrument As VisaComLib.FormattedIO488
' The following line provides the VISA name of the GPIB interface
IOaddress = "GPIB0::5::INSTR"
' Use the following line instead for LAN communication
' IOaddress="TCPIP0::141.25.36.214"
' Use the following line instead for USB communication
' IOaddress = "USB0::2391::1799::US00000002"
' Initialize the VISA COM communication
Set ioMgr = New AgilentRMLib.SRMCls
Set Instrument = New VisaComLib.FormattedIO488
Set Instrument.IO = ioMgr.Open(IOaddress)
VoltSetting = 3 ' volts
CurrSetting = 2 ' amps
trigVoltSetting = 5 ' volts
trigCurrSetting = 3 ' amps
With Instrument
' Send a power reset to the instrument
.WriteString "*RST"
' Query the instrument for the IDN string
.WriteString "*IDN?"
IDN = .ReadString