EasyManua.ls Logo

Keithley S530

Keithley S530
123 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...
Section
3: LPTLib command reference S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual
3-40 S530-900-01 Rev. E / September 2017
kibspl
This command serial polls an instrument connected to the GPIB interface.
Usage
int kibspl(int pri_addr, int sec_addr, unsigned int timeout,
int *serial_poll_byte);
pri_addr
The primary address of the instrument (0 to 30; the controller uses address 31)
sec_addr
The secondary address of the instrument; numbers 0 through 31 are valid; if the
instrument device does not support secondary addressing, this parameter must be
-1
timeout
The GPIB polling timeout in 100 ms units (for example, timeout = 40 = 4.0 s)
serial_poll_byte
The variable name for the serial poll byte returned by the current; must be 4 bytes
long
Details
The kibspl command does the following:
1. Assert attention (ATN).
2. Send serial poll enable (SPE).
3. Send LISTEN address.
4. Send device TALK address.
5. Send secondary address (if not -1).
6. De-assert ATN.
7. Poll GPIB interface until data is available.
8. Read the serial_poll_byte parameter from the device (if data is available)
9. Assert ATN.
10. Send serial poll disable (SPD).
11. Send UNTalk (UNT).
12. Send UNListen (UNL).
13. De-assert ATN.
Also see
kibsplw (on page 3-41)

Table of Contents

Other manuals for Keithley S530

Related product manuals