Operating instructions
3
CONTENTS
1. Introduction
Purpose.........................................................................................................................................................7
Documentation .............................................................................................................................................7
Supplied.....................................................................................................................................................7
Recommended...........................................................................................................................................7
How To Use This Guide..................................................................................................................................8
What You Should Already Know....................................................................................................................8
GPIB Capabilities of The Electronic Load......................................................................................................8
2. Introduction To HPSL
What is HPSL?...........................................................................................................................................11
HPSL Statements........................................................................................................................................11
Simple Command Statements..................................................................................................................11
Compound Command Statements............................................................................................................11
Simple Command Queries.......................................................................................................................11
Compound Command Queries ................................................................................................................12
HPSL Keywords.........................................................................................................................................12
Forms of Keywords.................................................................................................................................12
Keyword Conventions.............................................................................................................................12
Keyword Parameters ...............................................................................................................................13
Numerical Data Formats.......................................................................................................................13
Numerical Data Suffixes and Multipliers .............................................................................................13
Numerical Data Conventions................................................................................................................14
Character Data Formats........................................................................................................................14
Character Data Conventions.................................................................................................................14
Separators and Terminators.....................................................................................................................14
Data Separators ....................................................................................................................................14
Keyword Separators .............................................................................................................................14
Program Line Terminators ...................................................................................................................15
Common Commands..................................................................................................................................15
3. Introduction To Programming
Types of Commands and Queries...............................................................................................................17
Understanding The Command Tree............................................................................................................17
Understanding a Typical Branch ................................................................................................................17
Traversing the RESistance Branch..........................................................................................................18
Using the NRf+ Format...........................................................................................................................19
Traversing The Command Tree..................................................................................................................20
Use of the Colon......................................................................................................................................20
Use of the Semicolon...............................................................................................................................20
Getting Back to the Root .........................................................................................................................21
Implied Keywords ...................................................................................................................................22
HPSL Queries..........................................................................................................................................23
HPSL Compatibility...................................................................................................................................23
The SOURce Implied Keyword..............................................................................................................23
Aliases.....................................................................................................................................................23
Value Coupling...........................................................................................................................................23
Common Commands..................................................................................................................................24
Programming Examples .............................................................................................................................24
Battery Testing ........................................................................................................................................24
Power Supply Testing..............................................................................................................................24