Kibdefint - Keithley S530 Manual

Parametric test system, kte linear parametric test library
Hide thumbs Also See for S530:
Table of Contents

Advertisement

S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual

kibdefint

This command defines a device-dependent command sent to an instrument connected to the GPIB1 interface.
Usage
int kibdefint(int pri_addr, int sec_addr, unsigned int timeout, double delay, unsigned
int snd_size, char *snd_buff);
pri_addr
sec_addr
timeout
delay
snd_size
snd_buff
Details
This string is sent during any normal tester-based call to the devint command. It ensures that if the
tester is calling the devint command internally, any external GPIB device is initialized with the rest
of the known instruments.
Each call to the kibdefclr and kibdefint commands copies parameters into a data structure
within the tester memory. These data structures are allocated dynamically. These tables are cleared
when the devint command executes. Any strings previously defined must be redefined.
The tester system allows you to define a maximum of 20 clear and 20 initialization strings. Each string
may contain up to a maximum of 1024 bytes.
Strings are sent over the GPIB interface in a first-in, first-out queue. This means that the first call to
the kibdefclr or kibdefint command is the first string sent over the GPIB. The devclr
(kibdefclr) strings are always sent before initialization.
The KIBLIB devclr strings are sent before the devclr and devint commands execute. This may
be a problem when communicating with any Keithley-supported GPIB instruments. This may also
have an effect on the bsweepX command, because the bsweepX command sends a call to the
devclr command to clear active sources. It is not recommended to use GPIB instruments when
performing tests with the bsweepX command.
Also see
bsweepX
devclr
(on page 3-26)
devint
(on page 3-26)
kibdefclr
(on page 3-36)
S530-900-01 Rev. E / September 2017
The primary address of the instrument (0 to 30; the controller uses address 31)
The secondary address of the instrument (0 to 31; if the instrument device does not
support secondary addressing, this parameter must be -1)
The GPIB timeout for the transfer in 100 ms units (for example,
timeout = 40 = 4.0 s)
The time to wait after the device-dependent string is sent to the device, in seconds
The number of bytes to send over the GPIB interface
The physical byte buffer containing the data to send over the bus (the INITIALIZE
string); a maximum of 1024 bytes is allowed
(on page 3-15)
Section 3: LPTLib command reference
3-37

Advertisement

Table of Contents
loading

This manual is also suitable for:

S540

Table of Contents