EasyManua.ls Logo

Keysight E4981A - Detecting the Completion of Measurement Using SRQ

Keysight E4981A
389 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
110 Keysight E4981A 120 Hz/1 kHz/1 MHz Capacitance Meter
Measurement Applications (Sample Programs)
Detecting the Completion of Measurement using SRQ
9-
Detecting the Completion of Measurement using SRQ
This application program detects the end of measurement with the status byte
after the triggered.E4981A is triggered
The program of Example 9-5 is described in detail below. Each explanation
below is inserted as a comment line in the program. For details on the VISA
functions, refer to the I/O Library Suite manual.
Configuration Define Variables and initialize the program.
Open Instrument Assigns a USB address or GPIB address to the I/O bus.
Setup Start Presets the E4981A. Sets the trigger conditions of the
E4981A.
STB Check Waits until the status byte becomes 192. Displays the
status byte while waiting and again after processing.
Setup End Closes the I/O bus.
ErrorProc Displays an error number when an error occurs.
ErrorCheck A subroutine to check whether an error occurs when the IO
Library Suite function is executed.
SelectMode A subroutine to change assignment of the I/O bus and
address setting according to the connection type i.e. USB
or GPIB between the E4981A and a PC.
FnComp A function which performs OPEN/SHORT/LOAD correction
and returns 1 on success and 0 on failure.

Table of Contents

Other manuals for Keysight E4981A

Related product manuals