Sample Program
Detecting End of Measurement
Detecting End of Measurement
This application program detects the end of measurement with the status byte
after the E4980A/AL is triggered.
The program of
Configuration
Open Instrument Assigns a USB address or GPIB address to the I/O bus. Also
Setup Start
STB Check
Setup End
ErrorProc
282
Example 9-2
is described in detail below.
Assigns variables and enables error handling by the
subroutine named ErrorHandler.
sets the attribute for timeout processing.
Sets the trigger and status byte.
Waits until the status byte becomes 192. Displays the status
byte while waiting and again after processing.
Closes the I/O bus.
Displays an error number when an error occurs.
Keysight E4980A/AL Precision LCR Meter