
Section 3: LPTLib command reference
S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual
3-26
S530-900-01 Rev. E / September 2017
devclr
This command sets all sources to a zero state.
Usage
int devclr(void);
Details
This command clears all sources sequentially in the reverse order from which they were originally
forced. Before clearing all Keithley supported instruments, GPIB-based instruments are cleared by
sending all strings defined with the
kibdefclr
command.
The
devclr
command is implicitly called by the
clrcon
and
devint
commands.
Also see
(on page 3-17)
(on page 3-26)
(on page 3-36)
devint
This command resets all active instruments in the system to their default states.
Usage
int devint(void);
Details
Resets all active instruments in the system to their default states. It clears the system by opening all
relays and disconnecting the pathways. Meters and sources are reset to their default states. Refer to
the hardware manuals for the instruments in your system for listings of available ranges and the
default conditions and ranges.
Before resetting the instruments, this command:
1.
Clears all sources by calling the
devclr
command.
2.
Clears the matrix cross-points by calling the
clrcon
command.
3.
Clears the trigger tables by calling the
clrtrg
command.
4.
Clears the sweep tables by calling the
clrscn
command.
5.
Resets GPIB instruments by sending the string defined with the
kibdefint
command.