Pulse_Fetch - Keithley 4200A-SCS Reference Manual

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

Advertisement

Model 4200A-SCS Parameter Analyzer Reference Manual
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
pulse_exec

pulse_fetch

pulse_fetch
This command retrieves enabled test data and temporarily stores it in the data buffer.
Usage
int pulse_fetch(int instr_id, int chan, int StartIndex, int StopIndex, double
*Vmeas, double *Imeas, double *Timestamp, unsigned long *Status);
instr_id
chan
StartIndex
StopIndex
Vmeas
Imeas
Timestamp
Status
4200A-901-01 Rev. C / February 2017
(on page 13-98)
(on page 13-101)
The instrument identification code: PMU1, PMU2, and so on
Channel number of the pulse card: 1 or 2
Start index point for data (within the overall set of data)
Final index point to be retrieved
Name of the user-defined array for retrieved voltage measure readings; this is a
single-dimension array
Name of the user-defined array for retrieved current measure readings; this is a
single-dimension array
Name of the user-defined array for retrieved time stamps; this is a single-dimension
array
Name of the user-defined array for retrieved status for the channel
Section 13: LPT library function reference
13-101

Advertisement

Table of Contents
loading

Table of Contents