Pulse_Meas_Sm; Pulse_Meas_Timing; Pulse_Meas_Wfm - Keithley 4200A-SCS Reference Manual

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

Advertisement

Section 13: LPT library function reference
Example 1
// Code to configure the PMU test here
// Start the test (no analysis)
pulse_exec(0);
// while loop and short delay (10 ms)
while (pulse_exec_status(&elapsedt) == 1)
{
Sleep(10);
}
// Retrieve all data
status = pulse_fetch(PMU1, 1, 0, 49, Drain_Vmeas, Drain_Imeas,
NULL, NULL);
// Code for data handling here
This example uses pulse_exec to set the execution type to simple two-level pulse operation (no
analysis), and executes the test. The code pauses the program to monitor the status of the test. It uses a
while loop to check the returned value of pulse_exec_status. When the test is completed, the program
drops out of the loop and calls pulse_fetch to retrieve all the test data.
Example 2
pulse_fetch(PMU1, 1, 0, 49, Drain_Vmeas, Drain_Imeas, T_Stamp, NULL);
This command retrieves 50 points of data from the buffer, where:
Instr_id = PMU1
chan = 1 (channel 1)
StartIndex = 0
StopIndex = 49
Vmeas = Drain_Vmeas (name of array)
Imeas = Drain_Imeas (name of array)
Timestamp = T_Stamp (name of array)
Status = NULL (not retrieved)
Also see
PostDataDouble
PostDataDoubleBuffer

pulse_meas_sm

pulse_measrt
13-106
(on page 13-33)
(on page 13-94)
(on page 13-108)
(on page 13-112)
Model 4200A-SCS Parameter Analyzer Reference Manual
4200A-901-01 Rev. C / February 2017

Advertisement

Table of Contents
loading

Table of Contents