4-6
KLR-DEV 060713
Figure 4-5 is a block diagram which shows the method used by the VI to perform the simulated
current measurement. The query MEAS:CURR? is transmitted to the power supply which
replies with the current measurement.
FIGURE 4-5. KepcoDCPwr Measure [MSR].
VI
BLOCK DIAGRAM
4.5
EXAMPLE OF SETTING THE OUTPUT
Figure 4-6 shows the use of the Kepco subvi's to initialize the driver and the device, set the out-
put on or off, establish a voltage and current setting, get a measurement and unit status, and
close the session to release the memory. The file is KepcoDCPwr Voltage Application Exam-
ple.vi It is located in program files\national Instruments\labview\drivers\kepco. The subvi’s used
to implement this example are described in the following paragraphs. Although the LabView G
driver provides a variety of functions (see Table 4-1), only the ones shown in Figure 4-6, needed
for this example.
TABLE 4-4. KepcoDCPwr Measure [MSR].vi INPUT/OUTPUT DESCRIPTIONS
DESCRIPTION
SYMBOL
channel name -
(
“
1
”
) Passes the name of the channel on which to configure the voltage level. It is not required
for most supplies and is provided for compatibility.
Valid Channel Names: 1
Default Value: “1”
error in (no error)
- The
error in
cluster can accept error information wired from VI’s previously called. Use this
information to decide if any functionality should be bypassed in the event of errors from other VI’s. The pop-up
option
Explain Error
(or Explain Warning) gives more information about the error displayed (see Table 4-3).
VISA Session
- The
ViSession
handle is obtained from the
KepcoDCPwr Init
or
KepcoDCPwr InitWithOptions
function. The handle identifies a particular instrument session. Default Value: None
Model Out -
The
Model Out
handle is obtained from the
KepcoDCPwr Init
or
KepcoDCPwr InitWithOptions
func-
tion. The handle identifies a particular instrument. Default Value: None
channel name out
- (
“”
) Passes the name of the channel on which to configure the OVP limit.
Valid Channel Names: 1; Default Value: “”
Содержание KLR SERIES
Страница 2: ......
Страница 10: ......
Страница 42: ......
Страница 58: ...4 16 KLR DEV 060713 FIGURE 4 10 FUNCTION GENERATOR PANEL FIGURE 4 11 CONFIGURE User Sequence vi BLOCK DIAGRAM ...
Страница 59: ......
Страница 60: ......
Страница 61: ...FIGURE 4 13 FUNCTION GE ...
Страница 62: ......
Страница 86: ......
Страница 90: ......