Sweepf - Keithley 4200A-SCS Reference Manual

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

Advertisement

Section 13: LPT library function reference

sweepf

This command performs a frequency sweep.
Usage
int sweepf(int instr_id, double startf, double stopf, long *NumPts, double
delaytime);
instr_id
startf
stopf
NumPts
delayTime
Details
This command is used to perform a frequency sweep. The 4210-CVU provides test frequencies from
1 kHz to 10 MHz in the following steps:
1 kHz through 10 kHz in 1 kHz steps
10 kHz to 100 kHz in 10 kHz steps
100 kHz to 1 MHz in 100 kHz steps
1 MHz to 10 MHz in 1 MHz steps
The frequency points to sweep are set using the startf and stopf parameters. If an entered value
is not a supported frequency, the closest supported frequency will be selected (for example, 15 kHz
input will select 20 kHz). The sweep can step forward (low frequency to high frequency) or it can step
in reverse (high frequency to low frequency).
When the sweep is started, the 4210-CVU steps through all the supported frequency points from start
to stop. For example, if the start frequency is 800 kHz and the stop frequency is 3 MHz, the CVU
steps through the following frequency points: 800 kHz, 900 kHz, 1 MHz, 2 MHz, 3 MHz.
The NumPts query returns the total number of sweep points. For the above example, NumPts
returns 5.
The delayTime parameter sets the delay that occurs before each measurement. Note that there is
an inherent system overhead delay on each frequency step of the sweep.
Use the forcev command to set the DC bias level and setlevel command to set the AC drive
voltage.
Use the dsweepf command to perform a dual frequency sweep.
13-192
The instrument identification code of the 4210-CVU: CVU1
Initial frequency for the sweep
Final frequency for the sweep
Query the number of sweep points
Delay before each measurement (0 to 999 s)
Model 4200A-SCS Parameter Analyzer Reference Manual
4200A-901-01 Rev. C / February 2017

Advertisement

Table of Contents
loading

Table of Contents