ii KLR DEVGD 060713
TABLE OF CONTENTS
SECTION PAGE
4.5 Example of Setting the Output ................................................................................................................... 4-6
4.5.1 Initialization Function .............................................................................................................................. 4-7
4.5.2 Set the OUtput ON or OFF ..................................................................................................................... 4-9
4.5.3 Get Measurement and Status................................................................................................................. 4-9
4.5.4 Close Connection ................................................................................................................................... 4-9
4.6 Interactive demonstration program ............................................................................................................ 4-10
4.6.1 KepcoDCPwr Interactive Example.vi...................................................................................................... 4-10
4.6.2 Software timed ramp example................................................................................................................ 4-12
4.6.3 Software Timed Ramp Execution ........................................................................................................... 4-14
4.6.4 Function Generator................................................................................................................................. 4-15
SECTION 5 - VXI plug&play DRIVER
5.2 VXI plug&play Instrument Driver................................................................................................................ 5-1
5.3 VXI plug&play Instrument Driver Functions ............................................................................................... 5-1
5.4 Using the VXI plug&play driver .................................................................................................................. 5-3
5.4.1 Example 1: Setting Voltage and Current ................................................................................................ 5-3
5.4.2 Example 2: Using the power supply to create a voltage ramp................................................................ 5-5
5.4.3 Example 3: Using the power supply to Take Measurements.................................................................. 5-7
5.5 Demonstration Program Using the VXI plug&play Driver........................................................................... 5-9
5.5.1 Instrument Setup .................................................................................................................................... 5-9
5.5.2 Main Panel.............................................................................................................................................. 5-10
5.5.3 Power Supply Events.............................................................................................................................. 5-14
SECTION 6 - PROGRAMMING THE KLR USING SCPI COMMANDS
6.2 SCPI Messages ......................................................................................................................................... 6-1
6.3 Common Commands/Queries ................................................................................................................... 6-1
6.4 SCPI Subsystem Command/Query Structure............................................................................................ 6-1
6.4.1 DISPlay Subsystem................................................................................................................................ 6-1
6.4.2 TRIGger Subsystem ............................................................................................................................... 6-1
6.4.3 Abort Subsystem .................................................................................................................................... 6-2
6.4.4 LIST Subsystem ..................................................................................................................................... 6-2
6.4.5 MEASure Subsystem.............................................................................................................................. 6-2
6.4.6 OUTPut Subsystem................................................................................................................................ 6-2
6.4.7 STATus Subsystem................................................................................................................................ 6-2
6.4.8 STorage Subsystem ............................................................................................................................... 6-2
6.4.9 SYSTem subsystem ............................................................................................................................... 6-2
6.4.10 [SOURce:]VOLTage and [SOURce:]CURRent Subsystems .................................................................. 6-2
6.4.11 CALibrate Subsystem............................................................................................................................. 6-3
6.5 Program Message Structure ...................................................................................................................... 6-3
6.5.1 Keyword.................................................................................................................................................. 6-3
6.5.2 Keyword Separator................................................................................................................................. 6-4
6.5.3 Query Indicator ....................................................................................................................................... 6-5
6.5.4 Data ........................................................................................................................................................ 6-5
6.5.5 Data Separator ....................................................................................................................................... 6-5
6.5.6 Message Unit Separator......................................................................................................................... 6-5
6.5.7 Root Specifier ......................................................................................................................................... 6-5
6.5.8 Message Terminator............................................................................................................................... 6-5
6.6 Understanding The Command Structure ................................................................................................... 6-7
6.7 Program Message Syntax Summary ......................................................................................................... 6-7
6.7.1 Exceptions to the Rules.......................................................................................................................... 6-8
6.8 Programming Examples............................................................................................................................. 6-8
Komentáře k této Příručce