13: LPT library function reference Model 4200A-SCS Parameter Analyzer
13-186 4200A-901-01 Rev. C / February 2017
smeast
This command returns timestamps referenced to sweep measurements or a system timer.
Usage
int meast(long timerID, double *tarray);
The ID of the 4210-CVU or timer:
,
,
, and so on
Returned array of timestamps
Details
This command acquires the timestamp for each measurement step of a sweep. The timestamps are
returned in an array. The timestamps are posted to Clarius Analyze after the test has finished.
You can also use the smeastRT command to return timestamps in an array. It posts the frequency
values to Clarius in real time.
The timestamp can be referenced to the 4210-CVU (timerID = CVU1) or to a system timer (for
example, timerID = TIMER1). This command is similar to the meast command, but is synchronized
with a sweep to return a timestamp referenced to each measurement. If you need a timestamp for a
single measurement, use the meast command.
LPT maintains a list of measurements to be done at each sweep point after the forcing instrument
has stepped its source (V, I, or F). The smeasX and smeasXRT commands register the
measurement with a master list. If the time measurement precedes the Z measurement, then the
wrong timestamp is returned (the one from the previous measurement).
Example
Programming example #2 (on page 13-195) acquires a timestamp for each measurement in the
sweep.
Also see
meast (on page 13-177)
smeastRT (on page 13-187)