9 scpi program example, Scpi program example -18 – KEPCO TMA 4882-27 User Manual

Page 44

Advertising
background image

3-18

TMA 4882-27 021910

FIGURE 3-5. EXPANSION OF QUESTIONABLE REGISTER FOR MULTIPLE LOGICAL INSTRUMENTS

3.6.9

SCPI PROGRAM EXAMPLE

Figure 3-6 is an example of a program using SCPI commands to program an MST Power Sup-
ply. The program illustrated is for a configuration using an IBM PC or compatible with a National
Instruments GPIB interface card. (It will be necessary to consult the manufacturer’s data to
achieve comparable functions with an interface card from a different manufacturer.) This pro-
gram sets output voltage (Voltage mode) or voltage limit (Current mode) to 5V, and current limit
(Voltage mode) or output current (Current mode) to 1A, then reads the measured (actual) volt-
age and current, then prints the measurements.

Advertising