Model 4200A-SCS Parameter Analyzer Reference Manual
Section 13: LPT library function reference
4200A-901-01 Rev. C / February 2017
13-99
Example
// 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.
Also see
(on page 13-92)
(on page 13-115)
(on page 13-155)