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

Series N5700 User’s Guide 81
6
Programming Examples
Output Programming Example........................................................................82
Trigger Programming Example........................................................................84
This chapter contains several example programs to help you develop
programs for your own application. The example programs are for
illustration only, and are provided with the assumption that you are
familiar with the programming language being demonstrated and the
tools used to create and debug procedures. See Chapter 5, “Language
Dictionary” for the SCPI command syntax.
You have a royalty-free right to use, modify, reproduce and distribute
the example programs (and/or any modified version) in any way you
find useful, provided you agree that Agilent Technologies has no
warranty, obligations, or liability for any example programs.
The example programs are written in Microsoft Visual Basic 6.0 using
the VISA COM IO library. The VISA COM library must be downloaded
from the Automation-Ready CD-ROM to use these programs. For
information about using VISA COM in another Visual Basic project,
refer to “Programming Your Instruments” in the USB/LAN/GPIB
Interfaces Connectivity Guide, also included on the Automation-
Ready CD-ROM.
NOTE
Example programs for the following programming environments are also
included on the Product-Reference CD-ROM located at the back of this guide:
Microsoft Visual Basic 6.0
Microsoft Visual C++ 6.0
Microsoft Excel
The CD also contains IVI-COM and LabVIEW drivers for your power supply.