
1-20 Agilent B1500A/B1505A Programming Guide, Edition 11
Programming Basics
Getting Started
To Read Time Stamp Data
NOTE This function is not available for the quasi-pulsed spot measurement (MM 9), search
measurement (MM 14 or 15), and the 4 byte binary data output (FMT 3 or 4).
To read the time data with the best resolution (100 μs), clear the timer every 100 s or
less (for FMT 1, 2, or 5), or 1000 s or less (for FMT 11, 12, 15, 21, 22, or 25).
The time stamp function records the time from timer reset (Time=0 s) to the start of
measurement. This function is enabled by the TSC command. The timer count is
cleared/reset by the TSR command.
For example, the output data in the staircase sweep measurement will be as follows:
Block1 [,Block2] . . . . <terminator>
BlockN (N: integer) = Time1,Data1 [,Time2,Data2] ... [,Source_data]
TimeN (N: integer) is the time from timer reset to the start of DataN measurement.
Without the TSC command, you can get the time data by the following commands:
• TDV / TDI (for voltage/current output by using a SMU),
TDCV / TACV (for DC voltage/AC voltage output by using the CMU):
Starts source output, and returns the time data from timer reset (TSR command)
to the start of output.
Example:
OUTPUT @B1500;"TDV 1,0,20"
ENTER @B1500 USING "#,5X,13D,X";Time
PRINT "Time=";Time;"sec"
• TTV / TTI / TTIV (for voltage/current measurement by using a SMU),
TTC (for impedance measurement by using the CMU):
Executes high speed spot measurement, and returns the measurement data and
the time data from timer reset (TSR command) to the start of measurement.
Example:
OUTPUT @B1500;"TTV 1,0"
ENTER @B1500 USING "#,5X,13D,X";Time
ENTER @B1500 USING "#,5X,13D,X";Mdata
PRINT "Data=";Mdata;" at ";Time;"sec"
• TSQ: Returns the time data from timer reset (TSR command) to this command.
Example:
OUTPUT @B1500;"TSR" !Resets count
:
OUTPUT @B1500;"TSQ" !Returns time data
ENTER @B1500 USING "#,5X,13D,X";Time
PRINT "Time=";Time;"sec"
Komentáře k této Příručce