Chapter 6 79
Reading Out Measured Result
Reading out measurement signal level monitor result
6. Reading out Measured
Result
Reading out measurement signal level monitor result
To read out measurement signal level monitor result, use the following command:
• :DATA? {IMON|VMON} on page 171
Example 6-8 shows a sample program to read out the measurement signal level monitor
result. This program is stored on the sample program disk under the filename
“lvl_mon.bas.”
This program turns ON the measurement signal level monitor function, performs
measurement once, and reads out and displays the measurement signal level monitor result.
The program is detailed below.
Line 40 Sets the GPIB address.
Line 50 Sets the data transfer format to the ASCII format.
Lines 70 to 80 Turns ON the measurement signal level current & voltage monitor
function.
Line 90 Makes the setup display the measurement signal level monitor result in
the instrument setup display area.
Lines 110 to 120 Turns ON the trigger system continuous startup and sets the trigger
mode to GPIB trigger.
Lines 160 to 200 Makes the setup generate an SRQ when measurement finishes and
clears the status byte register and operation status event register.
Lines 240 to 250 Sets the branch destination of the SRQ interrupt and enables the SRQ
interrupt.
Lines 260 to 270 Triggers the measurement through GPIB and waits for the completion
of measurement.
Lines 290 to 300 Reads out the voltage monitor value of the measurement signal level.
Lines 310 to 320 Reads out the current monitor value of the measurement signal level.
Lines 360 to 410 Converts the voltage monitor value and current monitor value of the
measurement signal level into mV and
µA, respectively, and displays
them.