13: LPT library function reference Model 4200A-SCS Parameter Analyzer
13-182 4200A-901-01 Rev. C / February 2017
setlevel
This command sets the AC drive voltage level.
Usage
int setlevel(int instr_id, double signalLevel);
The instrument identification code of the 4210-CVU:
Voltage level of the AC drive (10 mV to 100 mV
RMS
)
Details
This command is used to set the voltage of the AC drive.
AC drive (AC voltage level and frequency) does not turn on until a measurement is performed. The
AC drive turns off after the measurement is completed. Note that the DC voltage source stays on for
the whole test.
Example
The Programming examples (on page 13-194) use setlevel to set the AC drive voltage.
Also see
setfreq (on page 13-181)
setmode (4210-CVU)
This command sets operating modes specific to the 4210-CVU.
Usage
int setmode(int instr_id, long modifier, double value);
The instrument identification code of the 4210-CVU:
Specific operating characteristic to change; see table in Details
Parameter value for the modifier
Details
The following information is specific to the CVU. For details on using setmode for other instruments,
see the setmode (on page 13-42) command.
The setmode command allows control over the following 4210-CVU operating characteristics:
• Connection compensation control for open, short and load. When disabled, saved compensation
constants are not applied to the measurements. Whenever the connection setup has changed,
connection compensation needs to be performed to acquire and save new compensation
constants. Connection compensation is performed from Clarius. For details, see
Connection
compensation (on page 4-10).
• Setting for cable length compensation (0 m, 1.5 m, or 3 m). This setting is made from the window
that is used to enable compensation. For details, see Enabling compensation (on page 4-17
).