3: LPTLib command reference S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual
3-70 S530-900-01 Rev. E / September 2017
scp_selftest
This command does an internal self-test of the scope card.
Usage
int scp_selftest(int instr_id)
The instrument identification code of the scope card
Details
The scope card must be initialized before using this command.
This command returns a 0 if executed without error; a negative number indicates an error.
Example
Status1 = scp_selftest(SCP2);
Does a self-test of scope card 2 (SCP2).
Also see
scp_init (on page 3-67)
scp_setup
This command sets the start, stop, and step (scan resolution) frequencies of a scan.
Usage
int scp_setup(int instr_id, double min_freq, double max_freq, double res_bandwidth)
The instrument identification code
Start frequency of the scan in Hertz (Hz)
Stop frequency of the scan in Hz
Step size (scan resolution in Hz):
,
,
,
,
,
, or
Details
The scope card must be initialized before using this command.
The recommended relationship of the res_bandwidth parameter for different spans of a scan is
listed in the following table.
Relationship of res_bandwidth and span
Frequency span res_bandwidth
60 MHz ≤ Span
≤
≤
≤
≤
≤
≤
≤
≤
≤
≤
≤
≤