Kibsnd - Keithley 4200A-SCS Reference Manual

Parameter
Hide thumbs Also See for 4200A-SCS:
Table of Contents

Advertisement

Section 13: LPT library function reference

kibsnd

This command sends a device-dependent command to an instrument connected to the GPIB interface.
Usage
int kibsnd(int pri_addr, int sec_addr, unsigned int timeout, unsigned int send_len,
char *send_buff);
pri_addr
sec_addr
timeout
send_len
send_buff
Details
The kibsnd command sends a buffer out through the GPIB interface by doing the following:
1. Assert attention (ATN).
2. Send device LISTEN address.
3. Send secondary address (if not -1).
4. Send my TALK address.
5. De-assert ATN.
6. Send the send_buff parameter with end-or-identify (EOI) asserted with the last byte.
7. Assert ATN.
8. Send UNTalk (UNT).
9. Send UNListen (UNL).
10. De-assert ATN.
Also see
None
13-26
The primary address of the instrument (0 to 30; the controller uses address 31)
The secondary address of the instrument (1 to 30; 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 number of bytes to send over the GPIB interface
The physical byte buffer containing the data to send over the bus
Model 4200A-SCS Parameter Analyzer Reference Manual
4200A-901-01 Rev. C / February 2017

Advertisement

Table of Contents
loading

Table of Contents