Model 4200A-SCS Parameter Analyzer Reference Manual
Section 13: LPT library function reference
4200A-901-01 Rev. C / February 2017
13-31
kspdefint
This command defines a device-dependent character string sent to an instrument connected to a serial port.
Usage
int kspdefint(int
port
, double
timeout
, double
delay
, int
buffsize
, char *
buffer
);
port
The RS-232 port to be used; only port 1 is supported; this port must have been
configured for communications with the
kspcfg
command
timeout
The serial communications timeout (0 s to 600 s)
delay
The amount of time to delay after sending the string to the serial device (0 s
to 600 s)
buffsize
The length of the string to send to the serial device
buffer
A character string that contains the data to send to the serial device
Details
This string is sent during the normal tester
devint
process. It ensures that if the tester is calling
devint
internally, any device connected to the configured serial port will be cleared with the given
string.
Before issuing this command, you must configure the serial port using the
kspcfg
command.
•
The commands sent to the serial device are issued in the order in which they were defined using
the
kspdefclr
command.
•
The
kspdefdelete
command can be used to delete any previous definitions.
•
The
kspdefclr
and
kspdefint
command strings are sent before normal (for example, a SMU)
instrument
devclr
and
devint
execution.
Also see
(on page 13-28)